#18880: OpenWRT trunk doesn't compile with musle and GCC 4.9 linaro
-------------------------+------------------------
Reporter: inteliboy@… | Owner: developers
Type: defect | Status: new
Priority: high | Milestone:
Component: base system | Version: Trunk
Keywords: musl, |
-------------------------+------------------------
As in the title OpenWRT from trunk doesn't compile. Can't seem to find
some directory? Dunno how to fix it.
{{{
make[3]: Entering directory `/home/master/Desktop/trunk'
make[3]: Nothing to be done for `package/preconfig'.
make[3]: Leaving directory `/home/master/Desktop/trunk'
rm -f /home/master/Desktop/trunk/build_dir/target-mips_34kc_musl-1.1.6
/root-ar71xx/usr/lib/opkg/info/*.postinst*
rm -f /home/master/Desktop/trunk/build_dir/target-mips_34kc_musl-1.1.6
/root-ar71xx/usr/lib/opkg/info/*.prerm*
rm -rf /home/master/Desktop/trunk/tmp/mklibs-progs
/home/master/Desktop/trunk/tmp/mklibs-out
# first find all programs and add them to the mklibs list
find /home/master/Desktop/trunk/staging_dir/target-mips_34kc_musl-1.1.6
/root-ar71xx -type f -perm /100 -exec file -r -N -F '' {} + | awk '
/executable.*dynamically/ { print $1 }' > /home/master/Desktop/trunk/tmp
/mklibs-progs
# find all loadable objects that are not regular libraries and add them to
the list as well
find /home/master/Desktop/trunk/staging_dir/target-mips_34kc_musl-1.1.6
/root-ar71xx -type f -name \*.so\* -exec file -r -N -F '' {} + | awk '
/shared object/ { print $1 }' > /home/master/Desktop/trunk/tmp/mklibs-libs
mkdir -p /home/master/Desktop/trunk/tmp/mklibs-out
/home/master/Desktop/trunk/staging_dir/host/bin/mklibs -D -d
/home/master/Desktop/trunk/tmp/mklibs-out --sysroot
/home/master/Desktop/trunk/staging_dir/target-mips_34kc_musl-1.1.6/root-
ar71xx `cat /home/master/Desktop/trunk/tmp/mklibs-libs | sed
's:/*[^/]\+/*$::' | uniq | sed 's:^/home/master/Desktop/trunk/staging_dir
/target-mips_34kc_musl-1.1.6/root-ar71xx:-L :'` --ldlib --target mips-
openwrt-linux-musl `cat /home/master/Desktop/trunk/tmp/mklibs-progs
/home/master/Desktop/trunk/tmp/mklibs-libs` 2>&1
Traceback (most recent call last):
File "/home/master/Desktop/trunk/staging_dir/host/bin/mklibs", line 415,
in <module>
inode = os.stat(prog)[ST_INO]
OSError: [Errno 2] No such file or directory: 'mips-openwrt-linux-musl'
make[2]: *** [package/install] Error 1
make[2]: Leaving directory `/home/master/Desktop/trunk'
make[1]: *** [/home/master/Desktop/trunk/staging_dir/target-
mips_34kc_musl-1.1.6/stamp/.package_install] Error 2
make[1]: Leaving directory `/home/master/Desktop/trunk'
make: *** [world] Error 2
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/18880>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets