Re: Haskell failures: relocation refers to local symbol "" [1], which is defined in a discarded section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23.7.2018 19:28, Florian Weimer wrote:
On 07/23/2018 07:24 PM, Miro Hrončok wrote:


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:

   https://bugzilla.redhat.com/show_bug.cgi?id=1600431

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?

Nick, would you please have a look?

Note that sticking "%undefine _annotated_build" to the top of the specfile doesn't solve that.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/5XB47OTRX2WUX6ISEXV7LL4RS7OTVNWB/




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux