[FS#1210] gcc/initial compile failure due to gmp/mpfr/mpc

LEDE Bugs lede-bugs at lists.infradead.org
Thu Dec 7 22:40:27 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Marty E. Plummer (hanetzer) 

Attached to Project - LEDE Project
Summary - gcc/initial compile failure due to gmp/mpfr/mpc
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on
   x86/x86_64
 - Software versions of LEDE release, packages, etc.
   HEAD/01c5cf0b24edae55a9df18296e2ed488d2b2ba0b
 - Steps to reproduce
   make menuconfig set to x86/x86_64, attempt to compile.

build log:

make[3] -C toolchain/gcc/initial compile
make -r world: build failed. Please re-run make with -j1 V=s to see what's going on
make: *** [/home/hanetzer/Projects/lede-project/source/include/toplevel.mk:218: world] Error 1
hanetzer at proprietary-killer ~/Projects/lede-project/source $ make -j1 V=s
make[2]: Entering directory '/home/hanetzer/Projects/lede-project/source/scripts/config'
make[2]: Leaving directory '/home/hanetzer/Projects/lede-project/source/scripts/config'
make[1]: Entering directory '/home/hanetzer/Projects/lede-project/source'
make[2]: Entering directory '/home/hanetzer/Projects/lede-project/source'
+ mkdir -p /home/hanetzer/Projects/lede-project/source/staging_dir/target-x86_64_musl
+ cd /home/hanetzer/Projects/lede-project/source/staging_dir/target-x86_64_musl
+ mkdir -p bin lib include stamp
mkdir -p /home/hanetzer/Projects/lede-project/source/build_dir/target-x86_64_musl/stamp
touch /home/hanetzer/Projects/lede-project/source/staging_dir/target-x86_64_musl/.prepared
make[3]: Entering directory '/home/hanetzer/Projects/lede-project/source/toolchain/gdb'
make[3]: Nothing to be done for 'compile'.
make[3]: Leaving directory '/home/hanetzer/Projects/lede-project/source/toolchain/gdb'
make[3]: Entering directory '/home/hanetzer/Projects/lede-project/source/toolchain/binutils'
make[3]: Nothing to be done for 'compile'.
make[3]: Leaving directory '/home/hanetzer/Projects/lede-project/source/toolchain/binutils'
make[3]: Entering directory '/home/hanetzer/Projects/lede-project/source/toolchain/gcc/initial'
(cd /home/hanetzer/Projects/lede-project/source/build_dir/toolchain-x86_64_gcc-5.5.0_musl/gcc-5.5.0-initial && rm -f config.cache; SHELL="bash"  /home/hanetzer/Projects/lede-project/source/build_dir/toolchain-x86_64_gcc-5.5.0_musl/gcc-5.5.0/configure --with-bugurl=http://www.lede-project.org/bugs/ --with-pkgversion="LEDE GCC 5.5.0 r5461-01c5cf0b24" --prefix=/home/hanetzer/Projects/lede-project/source/staging_dir/toolchain-x86_64_gcc-5.5.0_musl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-openwrt-linux-musl --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-libmpx --disable-nls --without-isl --without-cloog --with-host-libstdcxx=-lstdc++     --with-gmp=/home/hanetzer/Projects/lede-project/source/staging_dir/host --with-mpfr=/home/hanetzer/Projects/lede-project/source/staging_dir/host --with-mpc=/home/hanetzer/Projects/lede-project/source/staging_dir/host --disable-decimal-float --with-diagnostics-color=auto-if-env --disable-libssp --enable-__cxa_atexit --with-newlib --with-sysroot=/home/hanetzer/Projects/lede-project/source/staging_dir/toolchain-x86_64_gcc-5.5.0_musl --enable-languages=c --disable-shared --disable-threads  );
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-openwrt-linux-musl
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /home/hanetzer/Projects/lede-project/source/staging_dir/host/bin/sed
checking for gawk... gawk
checking for libatomic support... yes
checking for libcilkrts support... yes
checking for libitm support... yes
checking for libsanitizer support... yes
checking for libvtv support... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for x86_64-pc-linux-gnu-gnatbind... no
checking for gnatbind... no
checking for x86_64-pc-linux-gnu-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
http://gcc.gnu.org/install/prerequisites.html for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files.  They may be located in separate packages.
make[3]: *** [Makefile:37: /home/hanetzer/Projects/lede-project/source/build_dir/toolchain-x86_64_gcc-5.5.0_musl/gcc-5.5.0-initial/.configured] Error 1
make[3]: Leaving directory '/home/hanetzer/Projects/lede-project/source/toolchain/gcc/initial'
make[2]: *** [toolchain/Makefile:98: toolchain/gcc/initial/compile] Error 2
make[2]: Leaving directory '/home/hanetzer/Projects/lede-project/source'
make[1]: *** [toolchain/Makefile:94: /home/hanetzer/Projects/lede-project/source/staging_dir/toolchain-x86_64_gcc-5.5.0_musl/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory '/home/hanetzer/Projects/lede-project/source'
make: *** [/home/hanetzer/Projects/lede-project/source/include/toplevel.mk:218: world] Error 2


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1210



More information about the lede-bugs mailing list