Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2019 16:42:05 +0200
From:      Christos Chatzaras <chris@cretaforce.gr>
To:        FreeBSD Questions List <questions@freebsd.org>
Subject:   size of debug symbols
Message-ID:  <46040D79-BA05-43F5-9213-67094355B68A@cretaforce.gr>

next in thread | raw e-mail | index | archive | help
After an upgrade from 11.2 to 12.0 I notice that /usr/lib disk usage is =
a lot more than 11.2.

Both systems have the same settings, same programs, and GENERIC kernel.

------

I upgrade using these commands:

svnup release
cd /usr/src
make buildworld
make buildkernel
make installkernel
mergemaster -p
make installworld
mergemaster -Ui
make -DBATCH_DELETE_OLD_FILES delete-old
make -DBATCH_DELETE_OLD_FILES delete-old-libs

------
FreeBSD 11.2:
------

du -sh /usr/lib
475MB

du -sh /usr/lib/debug/usr/bin
166MB

du -sh /usr/lib/debug/usr/bin/clang.debug
14MB

------
FreeBSD 12.0:
------

du -sh /usr/lib
1.2GB

du -sh /usr/lib/debug/usr/bin
547MB

du -sh /usr/lib/debug/usr/bin/clang.debug
166MB

------

Also another user in FreeBSD forums with 12.0 told me that his =
/usr/lib/debug/usr/bin/clang.debug file is 73MB.

Are these differences in disk usage normal?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46040D79-BA05-43F5-9213-67094355B68A>