-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go1.9.4 not currently supported... compile error - invalid flag in #cgo #24
Comments
LuaJIT isn’t built. Try running make from the top directory.
Jason
… On Feb 9, 2018, at 6:44 PM, Wojciech Kaczmarek ***@***.***> wrote:
Hi!
Having problems compiling 0.9.6 (same for current master):
go build github.com/gijit/gi/vendor/github.com/glycerine/golua/lua: invalid flag in #cgo LDFLAGS: /home/wk/go/src/github.com/gijit/gi/vendor/github.com/glycerine/golua/lua/../../../LuaJIT/LuaJIT/src/libluajit.a
Makefile:33: recipe for target 'build' failed
go version: 1.9.4
Any other prerequisites needed for compilation?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
oh wait. It might also be that go 1.9.4 broke half of the cgo projects out there. So its not supported yet. try 1.9.3
Jason
… On Feb 9, 2018, at 6:44 PM, Wojciech Kaczmarek ***@***.***> wrote:
Hi!
Having problems compiling 0.9.6 (same for current master):
go build github.com/gijit/gi/vendor/github.com/glycerine/golua/lua: invalid flag in #cgo LDFLAGS: /home/wk/go/src/github.com/gijit/gi/vendor/github.com/glycerine/golua/lua/../../../LuaJIT/LuaJIT/src/libluajit.a
Makefile:33: recipe for target 'build' failed
go version: 1.9.4
Any other prerequisites needed for compilation?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
OK thanks for the information. |
context: request for assistance: https://groups.google.com/forum/#!topic/golang-nuts/bNqhcV_ttiU |
I just pushed v0.9.7 which builds for me under go1.9.4. Give it a try and let me know how it goes. |
Arg. Sorry. That's going to be broken. Still working on this. |
I understand. Thank you for the fast responses. No hurry for me - OTOH the change rsc introduced in Go 1.9.4 also went to 1.10 which will be released soon and will become $default go version for many, so I guess I'd be beneficial to have a fix or get around the problem. |
they are holding up go1.10 to fix this. They won't release it until https://go-review.googlesource.com/c/go/+/92855/1/src/cmd/go/internal/work/security.go is included, which is what we need. |
Ok. I found a workaround that seems to satisfy go1.94, at least on OSX. Try the most recent. |
Fixed in v0.9.12. Note the new install instructions.
|
Hi!
Having problems compiling 0.9.6 (same for current master):
go version
: 1.9.4Any other prerequisites needed for compilation?
The text was updated successfully, but these errors were encountered: