https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110098
Bug ID: 110098
Summary: [11.4 Regression] binutils bootstrap tests fail when
built with 11.4
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
Target Milestone: ---
binutils bootstrap tests fail when built with 11.4, same configuration runs
successful tests when built with 11.3 or 12.3. seems to be limited to
x86_64-linux-gnu and i686-linux-gnu.
seen with binutils builds (2.38, 2.39, 2.40), binutils configured with
--enable-obsolete --enable-shared --enable-plugins --enable-threads
--enable-jansson --with-system-zlib --sysconfdir=/etc
--enable-deterministic-archives --disable-compressed-debug-sections
--enable-new-dtags --disable-x86-used-note
--with-gold-ldflags=-static-libstdc++ --disable-werror --enable-pgo-build=lto
--enable-gprofng
The triggering option is --enable-pgo-build=lto, the tests pass when configured
without this option. Failing tests are:
[...]
Running
/home/packages/binutils/binutils-2.40/ld/testsuite/ld-bootstrap/bootstrap.exp
...
FAIL: bootstrap
FAIL: bootstrap with strip
FAIL: bootstrap with -Wl,--traditional-format
FAIL: bootstrap with -Wl,--no-keep-memory
FAIL: bootstrap with -Wl,--relax
FAIL: bootstrap with -Wl,--max-cache-size=-1
[...]