Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 862363

Summary: sys-devel/binutils-2.38-r2 fails tests on amd64 hardened
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=885617
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sys-devel:binutils-2.38-r2:20220730-163840.log.gz
test-suite.log
emerge-info.txt

Description Jonathan Lovelace 2022-07-30 17:17:11 UTC
Created attachment 795865 [details]
sys-devel:binutils-2.38-r2:20220730-163840.log.gz

=sys-devel/binutils-2.38-r2 fails its tests for me. This is a mostly-stable amd64 box, with most test-failing versions of things masked when possible (including all versions of sys-devel/gcc in slot 11, I note). The specific tests that failed (from "grep ^FAIL /var/tmp/portage/sys-devel/binutils-2.38-r2/temp/build.log") is: 

FAIL: ifuncmain6pie
FAIL: incremental_test_3
FAIL: incremental_test_4
FAIL: incremental_test_6
FAIL: incremental_common_test_1
FAIL: incremental_copy_test
FAIL: incremental_comdat_test_1
FAIL: Run pr23169b

When version 2.37_p1-r2 was built back in February, it had only one test failure, "Run pr23169b". I see in the build log that the other seven failing tests are all in the Gold test suite; I will also attach its test-suite.log, but the output in it for ifuncmain6pie is as follows:

FAIL: ifuncmain6pie
===================

./ifuncmain6pie: IFUNC symbol 'foo' referenced in './ifuncmod6.so' is defined in the executable and creates an unsatisfiable circular dependency.
FAIL ifuncmain6pie (exit status: 127)

And this is the output from incremental_test_3, which all of the other five unexpectedly-failing tests in that test-suite.log are all but identical to:

FAIL: incremental_test_3
========================

FAIL incremental_test_3 (exit status: 139)
Comment 1 Jonathan Lovelace 2022-07-30 17:17:39 UTC
Created attachment 795868 [details]
test-suite.log
Comment 2 Jonathan Lovelace 2022-07-30 17:17:51 UTC
Created attachment 795871 [details]
emerge-info.txt
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2022-11-20 13:28:24 UTC
How about 2.39-r4?
Comment 4 Jonathan Lovelace 2022-12-26 04:57:58 UTC
Sorry for the delay; a "grep -e '^FAIL:' -e '^ERROR:'" on the build log of 2.39-r4 today gives only

FAIL: Run pr23169b

(But I see that USE=gold is not enabled, and the only occurrences of the string "gold" (using a case-insensitive grep) in the build log are in the names of patches and an "elibtoolize" line.)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-03 20:28:33 UTC
(In reply to Jonathan Lovelace from comment #4)
> Sorry for the delay; a "grep -e '^FAIL:' -e '^ERROR:'" on the build log of
> 2.39-r4 today gives only
> 
> FAIL: Run pr23169b
> 
> (But I see that USE=gold is not enabled, and the only occurrences of the
> string "gold" (using a case-insensitive grep) in the build log are in the
> names of patches and an "elibtoolize" line.)

That one is bug 885617, so let's handle it over there.

Thanks!