https://bugzilla.redhat.com/show_bug.cgi?id=1460254
Carlos O'Donell codonell@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |codonell@redhat.com
--- Comment #3 from Carlos O'Donell codonell@redhat.com --- (In reply to Dan Horák from comment #1)
So it's not golang, but binutils, there is no error with binutils-2.28-2.fc27.s390x and the issue was introduced with http://pkgs.fedoraproject.org/cgit/rpms/binutils.git/commit/ ?id=416e014455167094f9d8f8890e6ce31c0a48e4a4
And it's most likely a dupe of #1442023 with much smaller reproducer.
Jakub and I were debugging this and the 3 symbols produced look wrong (they have a corrupt looking identical name of 'L0<U0001>A'), so while this is indeed a binutils issue, Jakub has chosen to work around this by ignoring the 3 new incorrectly named symbols.
commit 5767354120e6457ba9b75f1266e8cc55f2307b03 Author: Jakub Čajka jcajka@redhat.com Date: Wed Jul 12 13:38:36 2017 +0200
Bump to 1.9beta2 Workaround build failure on s390x
commit 3cc854f4230879f9513708723bcc0b1e101abf7d Author: Jakub Čajka jcajka@redhat.com Date: Wed Jul 12 17:26:26 2017 +0200
Improved s390x patch
e.g.
if sect.name == ".debug_str" && sym.name == "L0^A" && sym.type_ == 0 { ... ignore the symbol }
Not that the ^ is actually <U0001>.