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
cmd/go: linux/386 buildmode=c-shared with gccgo fails: undefined reference to '__stack_chk_fail_local' #13860
Comments
I think this may be related to CL https://golang.org/cl/13615, which removed the symbols to partially fix #9327 |
CL 13615 did not affect gccgo, so that's not it. Could you show the output of |
|
This seems like a stack-protector issue from an old gcc, does passing |
CL https://golang.org/cl/18592 mentions this issue. |
What version of Go are you using (go version)?
go version go1.5.1 linux/386
as well asgo version go1.6beta1 linux/386
gccgo (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010
What operating system and processor architecture are you using?
Linux ubuntu32 4.2.0-23-generic #28-Ubuntu SMP Sun Dec 27 17:48:35 UTC 2015 i686 i686 i686 GNU/Linux
What did you do?
I'm trying to compile using
-buildmode=c-shared
and-compiler=gccgo
sincegc
doesn't supportc-shared
onlinux/386
yet.go build -compiler=gccgo -buildmode=c-shared -o test.so test.go
What did you expect to see?
A compiled, working shared library
What did you see instead?
The text was updated successfully, but these errors were encountered: