[LEDE-DEV] rstrip fails to strip out debug info from ELF
Felix Fietkau
nbd at nbd.name
Sun Feb 19 05:36:56 PST 2017
On 2017-02-19 14:17, Syrone Wong wrote:
> It seems rstrip.sh works now, but the error from readelf still exists.
>
> 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:
> exec
> utable
Please show me the output of running:
file staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/root-*/usr/bin/minidlna
- Felix
More information about the Lede-dev
mailing list