https://sourceware.org/bugzilla/show_bug.cgi?id=33246

--- Comment #7 from Toolybird <toolybird at tuta dot io> ---
Sam, H.J., thank you very much for taking a look! And I'm sorry about the
initial report.. it was misleading to say the least!

Here's a small testcase:

=== with 2.44 ===
[root@244 ~]# cat x.c
void
foo (void)
{
}
[root@244 ~]# gcc -O2 -g -flto -ffat-lto-objects -c -o x.o x.c
[root@244 ~]# strip --strip-debug x.o -o y.o
[root@244 ~]# ls -l
total 16
-rw-r--r-- 1 root root   20 Aug  3 08:55 x.c
-rw-r--r-- 1 root root 6304 Aug  3 09:25 x.o
-rw-r--r-- 1 root root 3704 Aug  3 09:25 y.o

=== with 2.45 ===
[root@245 ~]# cat x.c
void
foo (void)
{
}
[root@245 ~]# gcc -O2 -g -flto -ffat-lto-objects -c -o x.o x.c
[root@245 ~]# strip --strip-debug x.o -o y.o
[root@245 ~]# ls -l
total 20
-rw-r--r-- 1 root root   20 Aug  3 08:52 x.c
-rw-r--r-- 1 root root 6304 Aug  3 09:25 x.o
-rw-r--r-- 1 root root 6304 Aug  3 09:25 y.o

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to