Running /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/tls.exp ... Running /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/x86-64.exp ... ERROR: /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/pr19784c.c: compilation failed ERROR: /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/pr19784c.c: compilation failed FAIL: Run pr19784a FAIL: Run pr19784b ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-desktop-plasma-systemd_test_20171109-193507 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) emerge -qpv sys-devel/binutils [ebuild NS ] sys-devel/binutils-2.29.1-r1 [2.28.1] USE="cxx nls -multitarget -static-libs {-test} -vanilla"
Created attachment 503452 [details] emerge-info.txt
Created attachment 503454 [details] emerge-history.txt
Created attachment 503456 [details] environment
Created attachment 503458 [details] etc.portage.tbz2
Created attachment 503460 [details] logs.tbz2
Created attachment 503462 [details] sys-devel:binutils-2.29.1-r1:20171110-054904.log
Created attachment 503464 [details] temp.tbz2
I can't reproduce this; tests run fine here.
This probably fails because you have -Wall in CFLAGS... Executing on host: sh -c {x86_64-pc-linux-gnu-gcc -B/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/build/ld/tmpdir/ld/ -I/var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/t estsuite/ld-x86-64 -g -O2 -pipe -march=native -Wall -c -g -O2 -pipe -march=native -Wall -fPIC -O2 -g -c /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/p r19784c.c -o tmpdir/pr19784c.o 2>&1} /dev/null ld.tmp (timeout = 300) spawn [open ...] /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/pr19784c.c: In function 'bar': /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/pr19784c.c:11:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/pr19784c.c: In function 'bar': /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/pr19784c.c:11:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ERROR: /var/tmp/portage/sys-devel/binutils-2.29.1-r1/work/binutils-2.29.1/ld/testsuite/ld-x86-64/pr19784c.c: compilation failed UNRESOLVED: Build libpr19784a.so
(In reply to Andreas K. Hüttel from comment #9) > This probably fails because you have -Wall in CFLAGS... Confirmed. Fails if -Wall or -Wreturn-type is in CFLAGS. Not sure if we should strip that. If so then only for the tests. In any case this is not a failure we should be particularly worried about.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba4d9e822666d49d04e7302d553ad4e6dce5158d commit ba4d9e822666d49d04e7302d553ad4e6dce5158d Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2018-11-30 23:00:20 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2018-11-30 23:00:30 +0000 sys-devel/binutils: Strip -Wall -Wreturn-type in tests, bug 637066 Closes: https://bugs.gentoo.org/637066 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-devel/binutils/binutils-2.31.1-r1.ebuild | 4 ++++ sys-devel/binutils/binutils-9999.ebuild | 4 ++++ 2 files changed, 8 insertions(+)