On 7/13/19 6:40 PM, Ken Moffat via lfs-dev wrote:
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
../../gold/output.cc:4441
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:9430: incremental_copy_test] Error 1
This was reported upstream as a binutils + gcc-9.x bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=24123
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' \
gold/testsuite/Makefile.in
I've also attached a more comprehensive patch to remove all traces of
incremental_copy_test from Makefile.in, if that's preferable.
Ben
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.
I'll check this out for the next build, but I'm waiting for the 5.2.1
kernel.
Checking the sed, it can be simplified/shortened:
sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page