[Bug libbacktrace/101753] New: ld: Unrecognized argument: --build-id
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Aug 3 13:07:53 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101753
Bug ID: 101753
Summary: ld: Unrecognized argument: --build-id
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libbacktrace
Assignee: unassigned at gcc dot gnu.org
Reporter: danglin at gcc dot gnu.org
CC: ian at gcc dot gnu.org
Target Milestone: ---
Host: hppa*-hp-hpux*
Target: hppa*-hp-hpux*
Build: hppa*-hp-hpux*
/opt/gnu64/bin/bash ./libtool --tag=CC --mode=link
/home/dave/gnu/gcc/objdir6
4/./prev-gcc/xgcc -B/home/dave/gnu/gcc/objdir64/./prev-gcc/
-B/opt/gnu64/gcc/gcc
-12/hppa64-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-12/hppa64-hp-hpux11.11/bin/
-B
/opt/gnu64/gcc/gcc-12/hppa64-hp-hpux11.11/lib/ -isystem
/opt/gnu64/gcc/gcc-12/hp
pa64-hp-hpux11.11/include -isystem
/opt/gnu64/gcc/gcc-12/hppa64-hp-hpux11.11/sys
-include -funwind-tables -frandom-seed=b2test -W -Wall -Wwrite-strings
-Wstri
ct-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attri
bute -Wcast-qual -g -g -O2 -Wl,--build-id -Wl,+nodefaultrpath -Wl,+b
-Wl,/opt/gn
u64/gcc/gcc-8/lib -o b2test b2test-btest.o b2test-testlib.o
libbacktrace_elf_fo
r_test.la
libtool: link: /home/dave/gnu/gcc/objdir64/./prev-gcc/xgcc
-B/home/dave/gnu/gcc/
objdir64/./prev-gcc/ -B/opt/gnu64/gcc/gcc-12/hppa64-hp-hpux11.11/bin/
-B/opt/gnu
64/gcc/gcc-12/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-12/hppa64-hp-hpux11.
11/lib/ -isystem /opt/gnu64/gcc/gcc-12/hppa64-hp-hpux11.11/include -isystem
/opt
/gnu64/gcc/gcc-12/hppa64-hp-hpux11.11/sys-include -funwind-tables
-frandom-seed=
b2test -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-s
tyle-definition -Wmissing-format-attribute -Wcast-qual -g -g -O2 -Wl,--build-id
-Wl,+nodefaultrpath -Wl,+b -Wl,/opt/gnu64/gcc/gcc-8/lib -o b2test
b2test-btest.o
b2test-testlib.o ./.libs/libbacktrace_elf_for_test.a
ld: Unrecognized argument: --build-id
Fatal error.
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1266: b2test] Error 1
More information about the Gcc-bugs
mailing list