[LEDE-DEV] rstrip fails to strip out debug info from ELF
Syrone Wong
wong.syrone at gmail.com
Sun Feb 19 06:54:46 PST 2017
Thanks. Fixed.
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
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/le
de-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
(cd /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/CONTROL;
( echo "$CONTROL"; printf "Description: "; echo
"$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644
control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ]
&& exit 0"; echo "[ -x "\${IPKG_INSTROOT}/lib/funct
ions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh";
echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh";
echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit
0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm
\$0 \$@"; ) > prerm; chmod 0755 postinst prerm; echo
"$V_Package_minidlna_conffiles" > conffiles; )
install -d -m0755
/home/wong/github/lede-1/bin/packages/arm_cortex-a9_vfpv3/packages
/home/wong/github/lede-1/scripts/ipkg-build -c -o 0 -g 0
/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
/ho
me/wong/github/lede-1/bin/packages/arm_cortex-a9_vfpv3/packages
Packaged contents of
/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
into /home/wong/github/lede-1/bin/packa
ges/arm_cortex-a9_vfpv3/packages/minidlna_1.1.6+git-8a996b-1_arm_cortex-a9_vfpv3.ipk
Best Regards,
Syrone Wong
On Sun, Feb 19, 2017 at 10:29 PM, Felix Fietkau <nbd at nbd.name> wrote:
> On 2017-02-19 15:10, Syrone Wong wrote:
>> staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/root-mvebu/usr/bin/minidlna:
>> ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically
>> linked, interpreter /lib/ld-musl-armhf.so.1, n
>> ot stripped, with debug_info
> In addition to the last one, please also apply:
> https://git.lede-project.org/?p=lede/nbd/staging.git;a=commitdiff;h=5a890735c067666d084942dbff6b5aeeecdd781d
>
> - Felix
More information about the Lede-dev
mailing list