Hello! Is have noticed, that in the image built with qemu_aarch64_virt_defconfig config some libraries not required by the image binaries, i.e.: libgcc_s.so.1, libgcc_s.so, libatomic.so . These libraries are listed in the TOOLCHAIN_EXTERNAL_LIBS variable in the toolchain/toolchain-external/pkg-toolchain-external.mk file. As I can see, they are not installed in the same way as other libraries, however, they defenitelly excess in the built rootfs. Is it possible adding build stage to clean these unused libraries? This issue exists in 2022.11-rc2 also.
Little fix: for the qemu_aarch64_virt_defconfig config, please refer package/gcc/gcc-final/gcc-final.mk , definition of components of HOST_GCC_FINAL_POST_INSTALL_HOOKS .
Thank you for your report. The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker: https://gitlab.com/buildroot.org/buildroot/-/issues We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker. Thank you!