libgcc.a size
Hello
I just upgraded from krogoth to rocko, and noticed the resulting rootfs image increased significantly.
What stands out is a big bump in size for /usr/lib/arm-poky-linux-gnueabi/7.2.0/libgcc.a from 5 MB in krogoth(gcc 5.3.0) to 25 MB in rocko. Can someone shed some light ? What can be done ?
Thanks
Quoted 1 line
What stands out is a big bump in size for
/usr/lib/arm-poky-linux-gnueabi/7.2.0/libgcc.afrom 5 MB in krogoth(gcc 5.3.0) to 25 MB in rocko.
Static library, probably compiled with -g (debug info included). You need to recompile libgcc excluding -g option... My best guess.
Zoran
Quoted 16 lines · Mircea Gliga
Hello
I just upgraded from krogoth to rocko, and noticed the resulting rootfs image increased significantly.
What stands out is a big bump in size for/usr/lib/arm-poky-linux-gnueabi/7.2.0/libgcc.afrom 5 MB in krogoth(gcc 5.3.0) to 25 MB in rocko.
Can someone shed some light ? What can be done ?Thanks
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Hi Zoran, Mircea,
Quoted 5 lines · Zoran Stojsavljevic
Quoted 1 line
What stands out is a big bump in size for
/usr/lib/arm-poky-linux-gnueabi/7.2.0/libgcc.afrom 5 MB in krogoth(gcc 5.3.0) to 25 MB in rocko.Static library, probably compiled with -g (debug info included). You need to recompile libgcc excluding -g option... My best guess.
libgcc.a is "out-f-the-box" in rocko 25MB, but why should it be integrated in rootfs ? The libc-2.26.so is still 1.2MB (ARM) and footprint is comparable to the past.
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================
Hi guys
Quoted 1 line
libgcc.a is "out-f-the-box" in rocko 25MB, but why should it be integrated in rootfs ?
I asked myself the same question. Not clear for me yet how and why it gets in the rootfs.
Thanks and regards
Mircea
Quoted 14 lines · Stefano Babic
Hi Zoran, Mircea,
Quoted 4 lines · Zoran Stojsavljevic
Quoted 1 line
What stands out is a big bump in size for
/usr/lib/arm-poky-linux-gnueabi/7.2.0/libgcc.afrom 5 MB in krogoth(gcc 5.3.0) to 25 MB in rocko.Static library, probably compiled with -g (debug info included). You need to recompile libgcc excluding -g option... My best guess.
libgcc.a is "out-f-the-box" in rocko 25MB, but why should it be integrated in rootfs ? The libc-2.26.so is still 1.2MB (ARM) and footprint is comparable to the past.
Stefano
Hi Mircea,
Quoted 7 lines · Mircea Gliga
Hi guys
Quoted 1 line
libgcc.a is "out-f-the-box" in rocko 25MB, but why should it be
integrated in rootfs ?
I asked myself the same question. Not clear for me yet how and why it gets in the rootfs.
It is not - I have not in my -rocko projects.
I guess you have some setup in your local.conf, like you added "dev-pkgs" or "staticdev-pkgs" somewhere.
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================