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: builds fail with "...ignoring symbol in section..." on s390x #20996
Comments
https://bugzilla.redhat.com/show_bug.cgi?id=1460254 is the downstream bug with some input from our toolchain guys. |
Based on ^^ it actually might be binutils bug. |
Can we close this then? Several people on the bugzilla thread linked above seem to think that this is not a go issue. |
I would prefer to get a confirmation from the golang/s390x team that it's not doing anything unexpected. |
cc @mundaym |
It's clearly a bug in the GNU binutils if a symbol name with a '\001' makes it into the generated object file. |
The file in question is being compiled from C code. If you run |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
What version of Go are you using (
go version
)?Affects 1.8,1.9(beta2), devel(I would guess all versions)
What operating system and processor architecture are you using (
go env
)?Fedora 27/26 on s390x
What did you do?
go build -work -a -v cmd/go
or
GOROOT_BOOTSTRAP=/path/to/existing/goroot ./make.bash
What did you expect to see?
Successful build
What did you see instead?
These symbols started to appear consistently after binutils change https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=49fced1206db40c71208c201165d65f92c69cebe on s390x. I'm still not 100% where are they actually coming from, but it seems as possible bug in parsing of elf/obj in GC, as L0� seems as really weird symbol name, but it does only appears to affect s390x, other architectures seem not to be affected. I have put in place temporal workaround in Fedora as those symbols seem to be safely ignorable.
If you are runing older fedora you can easily reproduce by upgrading binutils to latest from rawhide
dnf --releasever rawhide update binutils
afterwards you should see the failures and you can easily downgrade back to original binutils version.The text was updated successfully, but these errors were encountered: