https://sourceware.org/bugzilla/show_bug.cgi?id=33246
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Frederik Schwan from comment #5) > Why is the `-N __gnu_lto_v1` option interacting with the destination file > though? The man page says it's supposed to remove symbols only from the > source file and it did with 2.44 like expected. If this is a feature it > seems the man page needs to be updated to reflect the new behavior. Please provide a small testcase. I can't reproduce it: [hjl@gnu-cfl-3 pr33246]$ cat x.c void foo (void) { } [hjl@gnu-cfl-3 pr33246]$ make STRIP=./strip-2.45 gcc -O2 -g -flto -ffat-lto-objects -c -o x.o x.c ./ar -rv --plugin /usr/libexec/gcc/x86_64-redhat-linux/15/liblto_plugin.so libx.a x.o ./ar: creating libx.a a - x.o ./strip-2.45 -R ".gnu.lto_*" -R ".gnu.debuglto_*" --plugin /usr/libexec/gcc/x86_64-redhat-linux/15/liblto_plugin.so -o libx-nolto.a libx.a [hjl@gnu-cfl-3 pr33246]$ ls -l libx-nolto.a libx.a -rw-r--r-- 1 hjl hjl 6660 Aug 2 07:09 libx.a -rw-r--r-- 1 hjl hjl 940 Aug 2 07:09 libx-nolto.a [hjl@gnu-cfl-3 pr33246]$ -- You are receiving this mail because: You are on the CC list for the bug.