On 12.7.2018 18:48, Florian Weimer wrote:
On 07/12/2018 10:44 AM, Florian Weimer wrote:
On 07/12/2018 02:04 AM, Elliott Sales de Andrade wrote:
Does anyone know what's going on here? Is is annobin, new binutils, something else? The earliest failing build I can find is git-annex [3], and the dependency changes show annobin, binutils, and glibc (among others.)
It's a change in the glibc startup code, which triggers something which looks like a bug in the gold linker. I filed a non-Haskell reproducer here:
Nick patched binutils, and I rebuilt ghc-optional-args-1.0.2-1.fc29 without failure, so this should be fixed now.
I now get:
Linking dist/build/tests-asn1-encoding/tests-asn1-encoding ... /tmp/ghc8eea_0/ghc_2.o(.gnu.build.attributes..text.startup+0x18): error: relocation refers to local symbol "" [11], which is defined in a discarded section section group signature: "(null)" /tmp/ghc8eea_0/ghc_2.o(.gnu.build.attributes..text.startup+0x20): error: relocation refers to local symbol "" [2], which is defined in a discarded section section group signature: "(null)" collect2: error: ld returned 1 exit status `gcc' failed in phase `Linker'. (Exit code: 1)
For various packages. See https://bugzilla.redhat.com/show_bug.cgi?id=1607054#c6
Is this related?