[lfs-dev] [PATCH] binutils-2.32 gold testsuite linker error (LFS-BOOK-20190624-systemd)
zarniwhoop at ntlworld.com
Sat Jul 13 16:40:07 PDT 2019
On Sat, Jul 06, 2019 at 09:42:41AM -0400, Ben Brian via lfs-dev wrote:
> While testing binutils-2.32 in Ch 6.16 of LFS-BOOK-20190624-systemd, I
> receive this error in the gold testsuite:
> gcctestdir/collect-ld: internal error in set_section_addresses, at
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:9430: incremental_copy_test] Error 1
> This was reported upstream as a binutils + gcc-9.x bug:
> The error prevents the full testsuite from running. The following
> workaround (after extracting binutils) disables the test and prevents
> the error on my system:
> sed -i.orig -e '/@\tincremental_copy_test$(EXEEXT) \\/d' \
> -e '/@\tincremental_copy_test \\/d' \
> I've also attached a more comprehensive patch to remove all traces of
> incremental_copy_test from Makefile.in, if that's preferable.
Thanks for the report. I've confirmed this happened on my gcc-9.1
builds from May, but it is easy to miss (I normally only search for
'FAIL' in the binutils test log).
I've raised http://wiki.linuxfromscratch.org/lfs/ticket/4498#ticket
to ensure this doesn't get forgotten.
This is magic for grown-ups; it has to be hard because we know there's
no such thing as a free goblin.
-- Pratchett, Stewart & Cohen - The Science of Discworld II
More information about the lfs-dev