https://sourceware.org/bugzilla/show_bug.cgi?id=33195
Bug ID: 33195 Summary: strip -R ".gnu.lto_*" doesn't work with LLVM IR Product: binutils Version: 2.45 Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: nickc at redhat dot com Target Milestone: --- [hjl@gnu-cfl-3 lto-3]$ cat a.c void foo (void) { } [hjl@gnu-cfl-3 lto-3]$ make clang -c -flto -o a.o a.c ./strip --strip-unneeded --plugin /usr/lib64/LLVMgold.so -o z.o a.o ./strip -R ".gnu.lto_*" --plugin /usr/lib64/LLVMgold.so --strip-unneeded --plugin /usr/lib64/LLVMgold.so -o foo.o a.o ar -rv a.a a.o r - a.o ./strip --strip-unneeded --plugin /usr/lib64/LLVMgold.so -o liba.a a.a ./strip -R ".gnu.lto_*" --plugin /usr/lib64/LLVMgold.so --strip-unneeded -o liblto.a a.a ./strip: a.a: file format not recognized make: *** [Makefile:43: liblto.a] Error 1 [hjl@gnu-cfl-3 lto-3]$ -- You are receiving this mail because: You are on the CC list for the bug.