[LEDE-DEV] rstrip fails to strip out debug info from ELF

Syrone Wong wong.syrone at gmail.com
Sun Feb 19 04:52:59 PST 2017


Hi, everyone.

To make it clear, I'm keeping all related output. If you need more
info, please give me a pointer.

find /home/wong/github/lede-1/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/minidlna-1.1.6+git-8a996b/ipkg-arm_cortex-a9_vfpv3/minidlna
-name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm
-rf

readelf: Error:
'/home/wong/github/lede-1/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/minidlna-1.1.6+git-8a996b/ipkg-arm_cortex-a9_vfpv3/minidlna/usr/bin/minidlna,':
No such file
readelf: Error: 'with': No such file
readelf: Error: 'debug_info': No such file

export CROSS="arm-openwrt-linux-muslgnueabi-"  NO_RENAME=1 ;
NM="arm-openwrt-linux-muslgnueabi-nm"
STRIP="/home/wong/github/lede-1/staging_dir/host/bin/sstrip"
STRIP_KMOD="/home/wong/github/lede-1/scripts/strip-kmod.sh"
PATCHELF="/home/wong/github/lede-1/staging_dir/host/bin/patchelf"
/home/wong/github/lede-1/scripts/rstrip.sh
/home/wong/github/lede-1/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/minidlna-1.1.6+git-8a996b/ipkg-arm_cortex-a9_vfpv3/minidlna

rstrip.sh: /home/wong/github/lede-1/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/minidlna-1.1.6+git-8a996b/ipkg-arm_cortex-a9_vfpv3/minidlna/usr/bin/minidlna:
executable, with debug_info


Best Regards,
Syrone Wong



More information about the Lede-dev mailing list