[OE-core] Very large size of libraries in core-image-minimal rootfs

Adrian Bunk bunk at stusta.de
Mon Nov 25 19:55:55 UTC 2019


On Tue, Nov 26, 2019 at 07:37:48AM +1300, Ankur Tyagi wrote:
> Hi,
> 
> Based upon "thud" branch, I created core-image-minimal for am335x-evm board
> and resulting image size is very big (71M)
> 
> /lib dir is 39M and /usr/lib is 24M.
>...
> -rwxr-xr-x  1 ankur ankur *16537400* Nov 26 06:41 libc.so.6
>...
> -rwxr-xr-x  1 ankur ankur  *6416640* Nov 26 06:41 libm.so.6
>...

These sizes are the expected sizes for the libraries with debug symbols.

Are you setting INHIBIT_PACKAGE_DEBUG_SPLIT or something similar that 
prevents stripping of the target filesystem?

> Thanks
> Ankur

cu
Adrian


More information about the Openembedded-core mailing list