Created attachment 531676 [details] emerge --info # emerge -pqv '=sys-devel/binutils-2.30-r2::gentoo' [ebuild NS ] sys-devel/binutils-2.30-r2 [2.29.1-r1] USE="cxx nls -doc -multitarget -static-libs {-test}" Short summary of the failing tests: FAIL: build-id-debuglink (copy debug info into debug directory) === binutils Summary === # of expected passes 173 # of unexpected failures 1 # of unsupported tests 4 make[5]: *** [Makefile:1322: check-DEJAGNU] Error 1 make[5]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.30-r2/work/build/binutils' make[4]: *** [Makefile:1164: check-am] Error 2 make[4]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.30-r2/work/build/binutils' make[3]: *** [Makefile:1004: check-recursive] Error 1 make[3]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.30-r2/work/build/binutils' make[2]: *** [Makefile:1166: check] Error 2 make[2]: Leaving directory '/var/tmp/portage/sys-devel/binutils-2.30-r2/work/build/binutils' make[1]: *** [Makefile:3628: check-binutils] Error 2 make[1]: Nothing to be done for 'check-target'. === gas Summary === # of expected passes 252 # of expected failures 2 # of unsupported tests 2 ../as-new 2.30.0 FAIL: ld-elf/ehdr_start-shared FAIL: ld-elf/pr19539 FAIL: Run with pr11138-2.c libpr11138-1.so FAIL: Run with libpr11138-1.so pr11138-2.c FAIL: Check --gc-section FAIL: Check --gc-section/-q FAIL: Check --gc-section/-r/-e FAIL: Check --gc-section/-r/-u FAIL: Build pr22983 FAIL: ld-powerpc/dotsym3 FAIL: ld-powerpc/dotsym4 FAIL: ld-powerpc/ppc476-shared FAIL: ld-powerpc/ppc476-shared2 XPASS: shared (non PIC, load offset) === ld Summary === # of expected passes 1321 # of unexpected failures 13 # of unexpected successes 1 # of expected failures 4 # of untested testcases 1 # of unsupported tests 20 /var/tmp/portage/sys-devel/binutils-2.30-r2/work/build/ld/ld-new 2.30.0
Created attachment 531678 [details] build.log
-r3 improved the situation on ppc: only 8 test failures now === ld Summary === # of expected passes 1330 # of unexpected failures 6 # of unexpected successes 1 # of expected failures 4 # of untested testcases 1 # of unsupported tests 20 FAIL: Run with pr11138-2.c libpr11138-1.so FAIL: Run with libpr11138-1.so pr11138-2.c FAIL: Check --gc-section FAIL: Check --gc-section/-q FAIL: Check --gc-section/-r/-e FAIL: Check --gc-section/-r/-u === gas Summary === # of expected passes 252 # of expected failures 2 # of unsupported tests 2 FAIL: Run with pr11138-2.c libpr11138-1.so FAIL: Run with libpr11138-1.so pr11138-2.c
[...] Reading symbols from /var/tmp/portage/sys-devel/binutils-2.30-r3/work/build/ld/tmpdir/pr11138a...done. [New LWP 1008] warning: Could not load shared library symbols for tmpdir/libpr11138-1.so. Do you need "set solib-search-path" or "set sysroot"? Core was generated by `tmpdir/pr11138a'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x006d5cfc in __GI__IO_wsetb (f=f@entry=0x7fbcb8 <_IO_stdout_>, b=b@entry=0x0, eb=eb@entry=0x0, a=a@entry=0) at wgenops.c:105 105 if (f->_wide_data->_IO_buf_base && !(f->_flags2 & _IO_FLAGS2_USER_WBUF)) [...] Reading symbols from /var/tmp/portage/sys-devel/binutils-2.30-r3/work/build/ld/tmpdir/pr11138b...done. [New LWP 1080] warning: Could not load shared library symbols for tmpdir/libpr11138-1.so. Do you need "set solib-search-path" or "set sysroot"? Core was generated by `tmpdir/pr11138b'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0063acfc in __GI__IO_wsetb (f=f@entry=0x760cb8 <_IO_stdout_>, b=b@entry=0x0, eb=eb@entry=0x0, a=a@entry=0) at wgenops.c:105 105 if (f->_wide_data->_IO_buf_base && !(f->_flags2 & _IO_FLAGS2_USER_WBUF))
Created attachment 536772 [details] build.log (2.30-r3)
-r2 contained still Gentoo-specific problems in the testsuite. These should be gone in -r3, i.e. what's left is (hopefully?) real.
In the build tree there should be *.out files with the same name as the failing tests... These would be very helpful here.
(Side note, the gas summary looks OK, I think you mixed up something there.)
Yep, thanks for your correction. Only 6 unexpected ld failures, the rest is fine.
Created attachment 537028 [details] ld.log.xz
Created attachment 537030 [details] pr11138a.out
Created attachment 537032 [details] pr11138b.out
Created attachment 537034 [details] nm.out
Created attachment 541550 [details] build.log (2.31.1) The 6 ld tests still fail on 2.31.1.
Created attachment 554603 [details] build.log (2.30-r4) No change with binutils-2.30-r4. === ld Summary === # of expected passes 1330 # of unexpected failures 6 # of unexpected successes 1 # of expected failures 4 # of untested testcases 1 # of unsupported tests 20 FAIL: Run with pr11138-2.c libpr11138-1.so FAIL: Run with libpr11138-1.so pr11138-2.c FAIL: Check --gc-section FAIL: Check --gc-section/-q FAIL: Check --gc-section/-r/-e FAIL: Check --gc-section/-r/-u
Closing, continuing with 2.31