This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-25
Channels
- # aleph (2)
- # announcements (7)
- # babashka (6)
- # beginners (53)
- # calva (17)
- # cider (5)
- # clj-kondo (137)
- # cljs-dev (19)
- # cljsrn (14)
- # clojure (74)
- # clojure-conj (9)
- # clojure-europe (13)
- # clojure-houston (1)
- # clojure-italy (16)
- # clojure-nl (21)
- # clojure-spec (3)
- # clojure-uk (9)
- # clojuredesign-podcast (24)
- # clojurescript (85)
- # cursive (11)
- # datomic (28)
- # duct (3)
- # emacs (6)
- # figwheel-main (1)
- # fulcro (68)
- # graalvm (19)
- # graphql (3)
- # joker (32)
- # kaocha (10)
- # lambdaisland (1)
- # malli (50)
- # off-topic (13)
- # other-languages (7)
- # pathom (2)
- # pedestal (14)
- # re-frame (53)
- # reitit (8)
- # shadow-cljs (57)
- # specter (2)
Possible compile to rpi3? I got this
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
/Users/sb/Downloads/joker-master/core/pack.go:199
, 0x0, 0x0, 0xc7a100, 0xc9a360, 0xccc0b0, 0x6f, 0x415070)
/Users/sb/Downloads/joker-master/core/pack.go:102 +0x634
, 0x0, 0x0)
/Users/sb/Downloads/joker-master/core/procs.go:1711 +0xc0
/Users/sb/Downloads/joker-master/core/procs.go:1721
main.main()
/Users/sb/Downloads/joker-master/main.go:653 +0x39c
I wasn’t lucky. I tried with native build too.. on rpi3 with go 1.7, but I got
#
../../pkg/profile/profile.go:198: undefined: runtime.SetMutexProfileFraction
../../pkg/profile/profile.go:205: undefined: runtime.SetMutexProfileFraction
#
core/numbers.go:57: r.Num().IsInt64 undefined (type *big.Int has no field or method IsInt64)
Hmm, that looks like an issue with the profiling code that is included with Joker but unnecessary and, I think, rarely used. Maybe you can edit main.go and remove it, at least temporarily, until this is addressed?
Also, I think README.md has cross-compilation info, if you haven't already found that.
Oh, go 1.7 is probably way too old anyway. Try upgrading to 1.13, or at least 1.12, before proceeding.
Using the latest master
(though the latest release should probably work fine), I didn't run into any troubles building Juoker per instructions on my Mac OS X laptop just now:
$ ./run.sh -e '(loaded-libs)'
#{joker.base64 joker.core joker.html joker.http joker.json joker.math joker.os joker.string joker.time joker.url joker.yaml joker.strconv joker.crypto joker.hex joker.filepath joker.csv}
$ GOOS=linux GOARCH=arm GOARM=6 go build
$ file joker
joker: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, Go BuildID=IEx-v-Gz7Md3-jn608rx/RV8Pe-XEJ76dYrKCZ5YY/sKdgj6f44rxQ23mGYf5_/pBpxeWaDXxOkec_ZY-hC, not stripped
$
I dont enough Golang know-how.. but I learn the lang, really cool project. If I will find out what is the problem, then I drop to you
Oh. Well, I don't have an ARM machine to run that executable on, so can't test that....
Np. I hope .. me or somebody found out. Really great job! That work on my Mac, really cool job! 👍👍👍 therefore i want to use on my rpi too