massive increase of the size of the library

Paul Zimmermann Paul.Zimmermann@inria.fr
Tue Jul 21 08:22:29 GMT 2020


       Hi,

some user reported us that the size of the MPFR library did increase a lot
between 4.0.2 and 4.1.0. I notice a similar fact for the GNU libc, between
2.28 and 2.29, both for libc.a and libc.so (the same holds for libm.a and
libm.so):

-rw-r--r-- 1 zimmerma caramba  5121680 May 20 10:49 /localdisk/zimmerma/glibc-2.28/build/libc.a
-rw-r--r-- 1 zimmerma caramba 45919382 Mar  6 07:58 /localdisk/zimmerma/glibc-2.29/build/libc.a

-rwxr-xr-x 1 zimmerma caramba  2092096 May 20 11:07 /localdisk/zimmerma/glibc-2.28/build/libc.so
-rwxr-xr-x 1 zimmerma caramba 18769880 Mar  6 07:58 /localdisk/zimmerma/glibc-2.29/build/libc.so

We see an increase in size by a factor of almost 10!

2.28 was configured with --without-selinux, but if I configure 2.29 with
--without-selinux, I get similar figures as the 2.29 ones above. Also 2.28 was
compiled with gcc 9.3.0, whereas 2.29 was compiled with gcc 9.2.1, but
compiling 2.29 with gcc 9.3.0 does not change much too.

Does anybody know the reason of that massive increase?

Paul



More information about the Libc-alpha mailing list