arm-linux-strip is not reliable

    技术2022-05-19  25

    rm -f ./usr/initramfs_data.cpioarm-linux-strip -g --strip-unneeded ../target/rootfs-cpio/bin/* > /dev/null 2>&1arm-linux-strip -g --strip-unneeded ../target/rootfs-cpio/ffmpeg/* > /dev/null 2>&1arm-linux-strip -g --strip-unneeded ../target/rootfs-cpio/lib/modules/*.ko > /dev/null 2>&1arm-linux-strip -g --strip-unneeded ../target/rootfs-cpio/ift/application/* > /dev/null 2>&1arm-linux-strip -g --strip-unneeded ../target/rootfs-cpio/lib/* > /dev/null 2>&1make bootsImage

    每次strip出来的结果居然会有不同,有时导致libc.so都无法使用。结果就是,我只使用一次strip,而不是每次build都使用它。

    它在strip libxxx.so文件时,尤其不可靠。strip AP要好一些。

     


    最新回复(0)