public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libgcc/98395] New: libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 @ 2020-12-19 19:57 john.frankish at outlook dot com 2020-12-19 20:37 ` [Bug libgcc/98395] " schwab@linux-m68k.org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: john.frankish at outlook dot com @ 2020-12-19 19:57 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98395 Bug ID: 98395 Summary: libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: john.frankish at outlook dot com Target Milestone: --- The libgcc_s.so.1 library built with gcc-10.2 is 580kb, whereas the same library built with gcc-9.2 is 75kb. Both were built on an x86_64 system with: CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe" ../configure --prefix=/usr/local --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib --libexecdir=/usr/local/lib The almost ten-fold increase in size would seem to indicate something is wrong, but what? ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcc/98395] libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 2020-12-19 19:57 [Bug libgcc/98395] New: libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 john.frankish at outlook dot com @ 2020-12-19 20:37 ` schwab@linux-m68k.org 2020-12-19 20:39 ` john.frankish at outlook dot com ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: schwab@linux-m68k.org @ 2020-12-19 20:37 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98395 --- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> --- What does size tell? ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcc/98395] libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 2020-12-19 19:57 [Bug libgcc/98395] New: libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 john.frankish at outlook dot com 2020-12-19 20:37 ` [Bug libgcc/98395] " schwab@linux-m68k.org @ 2020-12-19 20:39 ` john.frankish at outlook dot com 2020-12-19 21:16 ` jakub at gcc dot gnu.org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: john.frankish at outlook dot com @ 2020-12-19 20:39 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98395 --- Comment #2 from john.frankish at outlook dot com --- Something significant must have changed, or be wrong, for such a big increase in size ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcc/98395] libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 2020-12-19 19:57 [Bug libgcc/98395] New: libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 john.frankish at outlook dot com 2020-12-19 20:37 ` [Bug libgcc/98395] " schwab@linux-m68k.org 2020-12-19 20:39 ` john.frankish at outlook dot com @ 2020-12-19 21:16 ` jakub at gcc dot gnu.org 2020-12-19 21:55 ` john.frankish at outlook dot com ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2020-12-19 21:16 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98395 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Most likely one is stripped and the other is not. I didn't build with -Os, but the 9.x to 10.x difference is fairly small: gcc 9 libgcc]$ size libgcc_s.so.1 text data bss dec hex filename 90562 992 688 92242 16852 libgcc_s.so.1 gcc 10 libgcc]$ size libgcc_s.so.1 text data bss dec hex filename 92530 992 680 94202 16ffa libgcc_s.so.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcc/98395] libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 2020-12-19 19:57 [Bug libgcc/98395] New: libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 john.frankish at outlook dot com ` (2 preceding siblings ...) 2020-12-19 21:16 ` jakub at gcc dot gnu.org @ 2020-12-19 21:55 ` john.frankish at outlook dot com 2020-12-21 8:34 ` marxin at gcc dot gnu.org 2020-12-23 12:54 ` john.frankish at outlook dot com 5 siblings, 0 replies; 7+ messages in thread From: john.frankish at outlook dot com @ 2020-12-19 21:55 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98395 --- Comment #4 from john.frankish at outlook dot com --- Both are stripped and all the other gcc libs are of comparable size between gcc-9.2 and gcc-10.2. I'll compile with -O2 instead of -Os in the next couple of days to see if that makes a difference. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcc/98395] libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 2020-12-19 19:57 [Bug libgcc/98395] New: libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 john.frankish at outlook dot com ` (3 preceding siblings ...) 2020-12-19 21:55 ` john.frankish at outlook dot com @ 2020-12-21 8:34 ` marxin at gcc dot gnu.org 2020-12-23 12:54 ` john.frankish at outlook dot com 5 siblings, 0 replies; 7+ messages in thread From: marxin at gcc dot gnu.org @ 2020-12-21 8:34 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98395 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- I see on openSUSE Tumbleweed the following: $ du -hs /usr/lib64/gcc/x86_64-suse-linux/9/libgcc.a 7.3M /usr/lib64/gcc/x86_64-suse-linux/9/libgcc.a $ du -hs /usr/lib64/gcc/x86_64-suse-linux/10/libgcc.a 5.3M /usr/lib64/gcc/x86_64-suse-linux/10/libgcc.a ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libgcc/98395] libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 2020-12-19 19:57 [Bug libgcc/98395] New: libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 john.frankish at outlook dot com ` (4 preceding siblings ...) 2020-12-21 8:34 ` marxin at gcc dot gnu.org @ 2020-12-23 12:54 ` john.frankish at outlook dot com 5 siblings, 0 replies; 7+ messages in thread From: john.frankish at outlook dot com @ 2020-12-23 12:54 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98395 john.frankish at outlook dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #6 from john.frankish at outlook dot com --- compiling with -O2 and -Os looks OK - I must have made a mistake somewhere. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-12-23 12:54 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-12-19 19:57 [Bug libgcc/98395] New: libgcc_s.so.1 almost 10x bigger in gcc-10.2 than gcc-9.2 john.frankish at outlook dot com 2020-12-19 20:37 ` [Bug libgcc/98395] " schwab@linux-m68k.org 2020-12-19 20:39 ` john.frankish at outlook dot com 2020-12-19 21:16 ` jakub at gcc dot gnu.org 2020-12-19 21:55 ` john.frankish at outlook dot com 2020-12-21 8:34 ` marxin at gcc dot gnu.org 2020-12-23 12:54 ` john.frankish at outlook dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).