Re: Haskell failures: relocation refers to local symbol "" [1], which is defined in a discarded section
On 24.7.2018 11:53, Nick Clifton wrote: Hi Florian, 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)" This should now be fixed. (binutils-2.31.1-3.fc29) The problem was an extension of the problem originally reported in BZ 1600431. The gold linker is complaining about relocations from the annobin notes to discarded code sections. This particular version of the problem arose because I patched annobin to create section groups containing both the notes and the code, but I did not update the patch to gold to allow it to detect these sections. Anyway it should all be fixed now. Thanks. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org/message/XHSRQWH5ITWJS5ZWRDO5WNILB2DLFVXT/
Re: Haskell failures: relocation refers to local symbol "" [1], which is defined in a discarded section
Hi Florian, >> 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)" This should now be fixed. (binutils-2.31.1-3.fc29) The problem was an extension of the problem originally reported in BZ 1600431. The gold linker is complaining about relocations from the annobin notes to discarded code sections. This particular version of the problem arose because I patched annobin to create section groups containing both the notes and the code, but I did not update the patch to gold to allow it to detect these sections. Anyway it should all be fixed now. Cheers Nick ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org/message/YCDCLJ6BBGDCVWTJGQR3A3EZJEYWHDN2/
Re: Haskell failures: relocation refers to local symbol "" [1], which is defined in a discarded section
On 23.7.2018 19:34, Miro Hrončok wrote: 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. Forget that statement, I haven't recreated the SRPM. It actually fixes the failure. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org/message/OINTHDZW2JLUOOGT4I4KC4BJTWEYNPZG/
Re: Haskell failures: relocation refers to local symbol "" [1], which is defined in a discarded section
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@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org/message/5XB47OTRX2WUX6ISEXV7LL4RS7OTVNWB/
Re: Haskell failures: relocation refers to local symbol "" [1], which is defined in a discarded section
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? Thanks, Florian ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org/message/TZJMUXRSUYOTLJSTY7TJSB3FG3GVVZV3/
Re: Haskell failures: relocation refers to local symbol "" [1], which is defined in a discarded section
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? -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org/message/KH4QQBW5PJBL6HMOOAJWHTF5W2MMPUAX/
Re: Haskell failures: relocation refers to local symbol "" [1], which is defined in a discarded section
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. Thanks, Florian ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org/message/4DH5RA34P26E6OT4KZHBIIBZ4PX2LVHG/
Re: Haskell failures: relocation refers to local symbol "" [1], which is defined in a discarded section
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 Thanks, Florian ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org/message/MRHJWZO7KT5TEFUEHQNMXAR3ULLPDDZJ/
Re: Haskell failures: relocation refers to local symbol "" [1], which is defined in a discarded section
On Thu, Jul 12, 2018, 02:05 Elliott Sales de Andrade < quantum.anal...@gmail.com> 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.) > Annobin has been causing numerous issues with other packages recently, so it is very likely this is another one. > ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org/message/5BYZFD4KAFXYY2ALD4A65VHUHFJ3TZBD/