[OpenWrt-Devel] ipq806x toolchain not building on Fedora 28.
Rosen Penev
rosenp at gmail.com
Wed Jun 6 20:16:57 EDT 2018
On Wed, Jun 6, 2018 at 12:46 PM, <rosenp at gmail.com> wrote:
> No idea if anyone else is getting this error.
False alarm. It was due to the musl 1.1.20 prerelease patch.
>
> # Now that we have built all the objects, we need to copy
> # them back to the GCC directory. Too many things (other
> # in-tree libraries, and DejaGNU) know about the layout
> # of the build tree, for now.
> make install-leaf DESTDIR=../.././gcc \
> slibdir= libsubdir= MULTIOSDIR=.
> make[7]: Entering directory
> '/home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-a15+neon-
> vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0-final/arm-openwrt-linux-
> muslgnueabi/libgcc'
> /bin/sh /home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0/libgcc/../mkinstalldirs
> ../.././gcc
> /usr/bin/install -c -m 644 libgcc_eh.a ../.././gcc/
> chmod 644 ../.././gcc/libgcc_eh.a
> /home/mangix/devstuff/openwrt/staging_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/arm-openwrt-linux-
> muslgnueabi/bin/ranlib ../.././gcc/libgcc_eh.a
> /usr/bin/install -c -m 644 libgcc_pic.a libgcc.map ../.././gcc/
> chmod 644 ../.././gcc/libgcc_pic.a
> /home/mangix/devstuff/openwrt/staging_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/arm-openwrt-linux-
> muslgnueabi/bin/ranlib ../.././gcc/libgcc_pic.a
> /bin/sh /home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0/libgcc/../mkinstalldirs
> ../.././gcc; /usr/bin/install -c -m 644 ./libgcc_s.so.1
> ../.././gcc/libgcc_s.so.1; rm -f ../.././gcc/libgcc_s.so;
> /usr/bin/install -c -m 644 ./libgcc_s.so ../.././gcc/libgcc_s.so
> /bin/sh /home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0/libgcc/../mkinstalldirs
> ../.././gcc
> /usr/bin/install -c -m 644 libgcc.a ../.././gcc/
> chmod 644 ../.././gcc/libgcc.a
> /home/mangix/devstuff/openwrt/staging_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/arm-openwrt-linux-
> muslgnueabi/bin/ranlib ../.././gcc/libgcc.a
> /usr/bin/install -c -m 644 libgcov.a ../.././gcc/
> chmod 644 ../.././gcc/libgcov.a
> /home/mangix/devstuff/openwrt/staging_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/arm-openwrt-linux-
> muslgnueabi/bin/ranlib ../.././gcc/libgcov.a
> parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o
> crtfastmath.o"; \
> for file in $parts; do \
> rm -f ../.././gcc/$file; \
> /usr/bin/install -c -m 644 $file ../.././gcc/; \
> case $file in \
> *.a) \
> /home/mangix/devstuff/openwrt/staging_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/arm-openwrt-linux-
> muslgnueabi/bin/ranlib ../.././gcc/$file ;; \
> esac; \
> done
> make[7]: Leaving directory
> '/home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-a15+neon-
> vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0-final/arm-openwrt-linux-
> muslgnueabi/libgcc'
> make[6]: Leaving directory
> '/home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-a15+neon-
> vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0-final/arm-openwrt-linux-
> muslgnueabi/libgcc'
> Checking multilib configuration for libstdc++-v3...
> mkdir -p -- arm-openwrt-linux-muslgnueabi/libstdc++-v3
> Configuring in arm-openwrt-linux-muslgnueabi/libstdc++-v3
> configure: creating cache ./config.cache
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... arm-openwrt-linux-muslgnueabi
> checking target system type... arm-openwrt-linux-muslgnueabi
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for arm-openwrt-linux-muslgnueabi-strip...
> /home/mangix/devstuff/openwrt/staging_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/arm-openwrt-linux-
> muslgnueabi/bin/strip
> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for arm-openwrt-linux-muslgnueabi-gcc...
> /home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-a15+neon-
> vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0-final/./gcc/xgcc
> -B/home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0-final/./gcc/
> -B/home/mangix/devstuff/openwrt/staging_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/bin/
> -B/home/mangix/devstuff/openwrt/staging_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/lib/
> -isystem /home/mangix/devstuff/openwrt/staging_dir/toolchain-
> arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/arm-openwrt-linux-
> muslgnueabi/include -isystem
> /home/mangix/devstuff/openwrt/staging_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/arm-openwrt-linux-muslgnueabi/sys-
> include
> checking for C compiler default output file name...
> configure: error: in
> `/home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-a15+neon-
> vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0-final/arm-openwrt-linux-
> muslgnueabi/libstdc++-v3':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make[5]: *** [Makefile:10617: configure-target-libstdc++-v3] Error 1
> make[5]: Leaving directory
> '/home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-a15+neon-
> vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0-final'
> make[4]: *** [Makefile:897: all] Error 2
> make[4]: Leaving directory
> '/home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-a15+neon-
> vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0-final'
> make[3]: *** [Makefile:88:
> /home/mangix/devstuff/openwrt/build_dir/toolchain-arm_cortex-a15+neon-
> vfpv4_gcc-7.3.0_musl_eabi/gcc-7.3.0-final/.built] Error 2
> make[3]: Leaving directory
> '/home/mangix/devstuff/openwrt/toolchain/gcc/final'
> Command exited with non-zero status 2
> time: toolchain/gcc/final/compile#602.30#48.30#654.98
> make[2]: *** [toolchain/Makefile:98: toolchain/gcc/final/compile] Error
> 2
> make[2]: Leaving directory '/home/mangix/devstuff/openwrt'
> make[1]: *** [toolchain/Makefile:94:
> /home/mangix/devstuff/openwrt/staging_dir/toolchain-arm_cortex-
> a15+neon-vfpv4_gcc-7.3.0_musl_eabi/stamp/.toolchain_compile] Error 2
> make[1]: Leaving directory '/home/mangix/devstuff/openwrt'
> make: *** [/home/mangix/devstuff/openwrt/include/toplevel.mk:218:
> world] Error 2
>
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list