我正在尝试让 buildroot 2012.08 在输出/暂存中生成未剥离的库和二进制文件。我在构建选项下启用了“带有调试符号的构建包”:
BR2_ENABLE_DEBUG=y
# BR2_DEBUG_1 is not set
BR2_DEBUG_2=y
# BR2_DEBUG_3 is not set
# BR2_STRIP_strip is not set
BR2_STRIP_sstrip=y
这就是我得到的:
$ file output/staging/lib/*
output/staging/lib/ld-uClibc-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, stripped
output/staging/lib/ld-uClibc.so.0: symbolic link to `ld-uClibc-0.9.33.2.so'
output/staging/lib/libcrypt-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, stripped
output/staging/lib/libcrypt.so.0: symbolic link to `libcrypt-0.9.33.2.so'
output/staging/lib/libc.so.0: symbolic link to `libuClibc-0.9.33.2.so'
output/staging/lib/libdl-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, stripped
output/staging/lib/libdl.so.0: symbolic link to `libdl-0.9.33.2.so'
output/staging/lib/libgcc_s.so: symbolic link to `libgcc_s.so.1'
output/staging/lib/libgcc_s.so.1: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, not stripped
output/staging/lib/libiw.so: symbolic link to `libiw.so.29'
output/staging/lib/libiw.so.29: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, not stripped
output/staging/lib/libm-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, stripped
output/staging/lib/libm.so.0: symbolic link to `libm-0.9.33.2.so'
output/staging/lib/libnsl-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, stripped
output/staging/lib/libnsl.so.0: symbolic link to `libnsl-0.9.33.2.so'
output/staging/lib/libpthread-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, not stripped
output/staging/lib/libpthread.so.0: symbolic link to `libpthread-0.9.33.2.so'
output/staging/lib/libresolv-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, stripped
output/staging/lib/libresolv.so.0: symbolic link to `libresolv-0.9.33.2.so'
output/staging/lib/librt-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, stripped
output/staging/lib/librt.so.0: symbolic link to `librt-0.9.33.2.so'
output/staging/lib/libthread_db-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, not stripped
output/staging/lib/libthread_db.so.1: symbolic link to `libthread_db-0.9.33.2.so'
output/staging/lib/libuClibc-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, stripped
output/staging/lib/libutil-0.9.33.2.so: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, stripped
output/staging/lib/libutil.so.0: symbolic link to `libutil-0.9.33.2.so'
除 libpthread 和 libthread_db 之外的所有内容都已剥离!!
有任何想法吗 ?