https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108297
--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> --- It appears the --build-id issue is fixed by the change. But there's still a lto issue breaking make check: libtool: link: /home/dave/gnu/gcc/objdir64/./prev-gcc/xgcc -B/home/dave/gnu/gcc/ objdir64/./prev-gcc/ -B/opt/gnu64/gcc/gcc-13/hppa64-hp-hpux11.11/bin/ -B/opt/gnu 64/gcc/gcc-13/hppa64-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-13/hppa64-hp-hpux11. 11/lib/ -isystem /opt/gnu64/gcc/gcc-13/hppa64-hp-hpux11.11/include -isystem /opt /gnu64/gcc/gcc-13/hppa64-hp-hpux11.11/sys-include -fchecking=1 -funwind-tables - frandom-seed=btest_lto -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-pr ototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -O -fl to -g -O2 -fchecking=1 -s -o btest_lto btest_lto-btest.o btest_lto-testlib.o ./ .libs/libbacktrace.a ld: Unsatisfied hidden symbol "btest.c.cfb1d6bc". Symbol was referenced from fil e /var/tmp//ccuhlRBW.debug.temp.o ld: Unsatisfied hidden symbol "btest.c.cfb1d6bc". Symbol was referenced from fil e /var/tmp//ccuhlRBW.debug.temp.o ld: Unsatisfied hidden symbol "btest.c.cfb1d6bc". Symbol was referenced from fil e /var/tmp//ccuhlRBW.debug.temp.o [...] 47 errors. collect2: fatal error: ld returned 1 exit status compilation terminated. make[1]: *** [Makefile:1340: btest_lto] Error 1