LFS (Version SVN-20100529) - 6.13. GMP-5.0.1
hello all, root:/sources/gmp-5.0.1# ./configure --prefix=/usr --enable-cxx --enable-mpbsd checking build system type... pentium2-unknown-linux-gnu checking host system type... pentium2-unknown-linux-gnu checking for a BSD-compatible install... /tools/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /tools/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=32 checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... yes checking compiler gcc -O2 -pedantic -fomit-frame-pointer has sizeof(long)==4... no checking compiler icc -no-gcc ... no checking whether cc is gcc... yes checking compiler cc -m32 -O2 -pedantic -fomit-frame-pointer ... no checking compiler cc -O2 -pedantic -fomit-frame-pointer ... yes checking compiler cc -O2 -pedantic -fomit-frame-pointer has sizeof(long)==4... no configure: error: could not find a working compiler, see config.log for details I attached config.log -- Sincerely,
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU MP configure 5.0.1, which was generated by GNU Autoconf 2.65. Invocation command line was $ ./configure --prefix=/usr --enable-cxx --enable-mpbsd ## --------- ## ## Platform. ## ## --------- ## hostname = lfslivecd uname -m = x86_64 uname -r = 2.6.22.5-64bit uname -s = Linux uname -v = #1 SMP Sun Dec 30 10:37:45 GMT 2007 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /bin PATH: /usr/bin PATH: /sbin PATH: /usr/sbin PATH: /tools/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:3203: checking build system type configure:3217: result: pentium2-unknown-linux-gnu configure:3237: checking host system type configure:3250: result: pentium2-unknown-linux-gnu configure:3287: checking for a BSD-compatible install configure:3355: result: /tools/bin/install -c configure:3366: checking whether build environment is sane configure:3416: result: yes configure:3557: checking for a thread-safe mkdir -p configure:3596: result: /tools/bin/mkdir -p configure:3609: checking for gawk configure:3625: found /tools/bin/gawk configure:3636: result: gawk configure:3647: checking whether make sets $(MAKE) configure:3669: result: yes configure:3752: checking whether to enable maintainer-specific portions of Makefiles configure:3761: result: no User: ABI= CC= CFLAGS=(unset) CPPFLAGS=(unset) MPN_PATH= GMP: abilist=32 cclist=gcc icc cc configure:5464: gcc 2>&1 | grep xlc >/dev/null configure:5467: $? = 1 configure:5521: checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer Test compile: configure:5535: gcc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /tools/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/libgcc.a when searching for -lgcc /tools/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status configure:5538: $? = 1 failed program was: int main () { return 0; } configure:6561: result: no configure:5521: checking compiler gcc -O2 -pedantic -fomit-frame-pointer Test compile: configure:5535: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5538: $? = 0 configure:5543: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5546: $? = 0 Test compile: function pointer return configure:5589: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5592: $? = 0 configure:5597: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5600: $? = 0 Test compile: cmov instruction configure:5645: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5648: $? = 0 configure:5653: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5656: $? = 0 Test compile: double -> ulong conversion configure:5702: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5705: $? = 0 configure:5710: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5713: $? = 0 Test compile: double negation configure:5757: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5760: $? = 0 configure:5765: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5768: $? = 0 Test compile: double -> float conversion configure:5813: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5816: $? = 0 configure:5821: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5824: $? = 0 Test compile: gnupro alpha ev6 char spilling configure:5898: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5901: $? = 0 configure:5906: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5909: $? = 0 Test compile: __builtin_alloca availability configure:5949: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 /usr/lib/crt1.o: In function `_start': /sources/glibc-2.11.2/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main' collect2: ld returned 1 exit status configure:5952: $? = 1 failed program was: int k; int foo () { __builtin_alloca (k); } Test compile: abs int -> double conversion configure:6073: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:6076: $? = 0 configure:6081: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:6084: $? = 0 Test compile: long long reliability test 1 configure:6137: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 conftest.c:6:23: warning: ISO C90 does not support 'long long' configure:6140: $? = 0 configure:6145: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:6148: $? = 0 Test compile: long long reliability test 2 configure:6197: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 conftest.c: In function 'f': conftest.c:6:21: warning: ISO C90 does not support 'long long' configure:6200: $? = 0 configure:6205: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:6208: $? = 0 Test compile: mpn_lshift_com optimization configure:6296: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:6299: $? = 0 configure:6304: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:6307: $? = 0 Test compile: mpn_lshift_com optimization 2 configure:6404: gcc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:6407: $? = 0 configure:6412: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:6415: $? = 0 Testing gcc GOT with eax emitted configure:6463: gcc -O2 -pedantic -fomit-frame-pointer -fPIC -S conftest.c >&5 2>&1 configure:6466: $? = 0 Result: no configure:6561: result: yes configure: testlist sizeof-long-4 configure:6736: checking compiler gcc -O2 -pedantic -fomit-frame-pointer has sizeof(long)==4 configure:6749: gcc -O2 -pedantic -fomit-frame-pointer -c conftest.c >&5 conftest.c: In function 'main': conftest.c:4:14: error: size of array 'test_array' is negative configure:6752: $? = 1 configure:6757: result: no configure:5442: icc -c conftest.c >&5 ./configure: line 5443: icc: command not found configure:5445: $? = 127 configure:5464: icc 2>&1 | grep xlc >/dev/null configure:5467: $? = 1 configure:5521: checking compiler icc -no-gcc Test compile: configure:5535: icc -no-gcc conftest.c >&5 ./configure: line 5536: icc: command not found configure:5538: $? = 127 failed program was: int main () { return 0; } configure:6561: result: no configure:5442: cc -c conftest.c >&5 configure:5445: $? = 0 configure:5448: checking whether cc is gcc configure:5450: result: yes configure:5464: cc 2>&1 | grep xlc >/dev/null configure:5467: $? = 1 configure:5521: checking compiler cc -m32 -O2 -pedantic -fomit-frame-pointer Test compile: configure:5535: cc -m32 -O2 -pedantic -fomit-frame-pointer conftest.c >&5 /tools/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/bin/ld: skipping incompatible /tools/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/libgcc.a when searching for -lgcc /tools/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status configure:5538: $? = 1 failed program was: int main () { return 0; } configure:6561: result: no configure:5521: checking compiler cc -O2 -pedantic -fomit-frame-pointer Test compile: configure:5535: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5538: $? = 0 configure:5543: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5546: $? = 0 Test compile: function pointer return configure:5589: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5592: $? = 0 configure:5597: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5600: $? = 0 Test compile: cmov instruction configure:5645: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5648: $? = 0 configure:5653: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5656: $? = 0 Test compile: double -> ulong conversion configure:5702: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5705: $? = 0 configure:5710: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5713: $? = 0 Test compile: double negation configure:5757: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5760: $? = 0 configure:5765: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5768: $? = 0 Test compile: double -> float conversion configure:5813: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5816: $? = 0 configure:5821: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5824: $? = 0 Test compile: gnupro alpha ev6 char spilling configure:5898: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:5901: $? = 0 configure:5906: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:5909: $? = 0 Test compile: __builtin_alloca availability configure:5949: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 /usr/lib/crt1.o: In function `_start': /sources/glibc-2.11.2/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main' collect2: ld returned 1 exit status configure:5952: $? = 1 failed program was: int k; int foo () { __builtin_alloca (k); } Test compile: abs int -> double conversion configure:6073: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:6076: $? = 0 configure:6081: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:6084: $? = 0 Test compile: long long reliability test 1 configure:6137: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 conftest.c:6:23: warning: ISO C90 does not support 'long long' configure:6140: $? = 0 configure:6145: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:6148: $? = 0 Test compile: long long reliability test 2 configure:6197: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 conftest.c: In function 'f': conftest.c:6:21: warning: ISO C90 does not support 'long long' configure:6200: $? = 0 configure:6205: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:6208: $? = 0 Test compile: mpn_lshift_com optimization configure:6296: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:6299: $? = 0 configure:6304: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:6307: $? = 0 Test compile: mpn_lshift_com optimization 2 configure:6404: cc -O2 -pedantic -fomit-frame-pointer conftest.c >&5 configure:6407: $? = 0 configure:6412: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest configure:6415: $? = 0 Testing gcc GOT with eax emitted configure:6463: cc -O2 -pedantic -fomit-frame-pointer -fPIC -S conftest.c >&5 2>&1 configure:6466: $? = 0 Result: no configure:6561: result: yes configure: testlist sizeof-long-4 configure:6736: checking compiler cc -O2 -pedantic -fomit-frame-pointer has sizeof(long)==4 configure:6749: cc -O2 -pedantic -fomit-frame-pointer -c conftest.c >&5 conftest.c: In function 'main': conftest.c:4:14: error: size of array 'test_array' is negative configure:6752: $? = 1 configure:6757: result: no configure:6799: error: could not find a working compiler, see config.log for details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=pentium2-unknown-linux-gnu ac_cv_env_ABI_set= ac_cv_env_ABI_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_FOR_BUILD_set= ac_cv_env_CC_FOR_BUILD_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_FOR_BUILD_set= ac_cv_env_CPP_FOR_BUILD_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_M4_set= ac_cv_env_M4_value= ac_cv_env_YACC_set= ac_cv_env_YACC_value= ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=pentium2-unknown-linux-gnu ac_cv_path_install='/tools/bin/install -c' ac_cv_path_mkdir=/tools/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_make_make_set=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ABI='' ACLOCAL='${SHELL} /sources/gmp-5.0.1/missing --run aclocal-1.11' AMTAR='${SHELL} /sources/gmp-5.0.1/missing --run tar' ANSI2KNR='' AR='' AS='' ASMFLAGS='' AUTOCONF='${SHELL} /sources/gmp-5.0.1/missing --run autoconf' AUTOHEADER='${SHELL} /sources/gmp-5.0.1/missing --run autoheader' AUTOMAKE='${SHELL} /sources/gmp-5.0.1/missing --run automake-1.11' AWK='gawk' CALLING_CONVENTIONS_OBJS='x86call.lo x86check$U.lo' CC='' CCAS='' CC_FOR_BUILD='' CFLAGS='' CPP='' CPPFLAGS='' CPP_FOR_BUILD='' CXX='' CXXCPP='' CXXFLAGS='' CYGPATH_W='echo' DEFN_LONG_LONG_LIMB='' DEFS='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ENABLE_STATIC_FALSE='' ENABLE_STATIC_TRUE='' EXEEXT='' EXEEXT_FOR_BUILD='' F77='' FFLAGS='' FGREP='' GMP_LDFLAGS='' GMP_LIMB_BITS='' GMP_NAIL_BITS='0' GREP='' HAVE_CLOCK_01='' HAVE_CPUTIME_01='' HAVE_GETRUSAGE_01='' HAVE_GETTIMEOFDAY_01='' HAVE_HOST_CPU_FAMILY_power='0' HAVE_HOST_CPU_FAMILY_powerpc='0' HAVE_SIGACTION_01='' HAVE_SIGALTSTACK_01='' HAVE_SIGSTACK_01='' HAVE_STACK_T_01='' HAVE_SYS_RESOURCE_H_01='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='' LDFLAGS='' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LIBCURSES='' LIBGMPXX_LDFLAGS='' LIBGMP_DLL='' LIBGMP_LDFLAGS='' LIBM='' LIBM_FOR_BUILD='' LIBOBJS='' LIBREADLINE='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' M4='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /sources/gmp-5.0.1/missing --run makeinfo' MKDIR_P='/tools/bin/mkdir -p' NM='' NMEDIT='' OBJDUMP='' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='gmp' PACKAGE_BUGREPORT='gmp-b...@gmplib.org' PACKAGE_NAME='GNU MP' PACKAGE_STRING='GNU MP 5.0.1' PACKAGE_TARNAME='gmp' PACKAGE_URL='http://www.gnu.org/software/gmp/' PACKAGE_VERSION='5.0.1' PATH_SEPARATOR=':' RANLIB='' SED='' SET_MAKE='' SHELL='/bin/sh' SPEED_CYCLECOUNTER_OBJ='pentium.lo' STRIP='' TAL_OBJECT='' TUNE_SQR_OBJ='' U='' U_FOR_BUILD='' VERSION='5.0.1' WANT_CXX_FALSE='' WANT_CXX_TRUE='' WANT_MPBSD_FALSE='#' WANT_MPBSD_TRUE='' WITH_READLINE_01='' YACC='' YFLAGS='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' ac_ct_F77='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__isrc='' am__leading_dot='.' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='pentium2-unknown-linux-gnu' build_alias='' build_cpu='pentium2' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' gmp_srclinks='' host='pentium2-unknown-linux-gnu' host_alias='' host_cpu='pentium2' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /sources/gmp-5.0.1/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_ECHO='echo' mandir='${datarootdir}/man' mkdir_p='/tools/bin/mkdir -p' mpn_objects='' mpn_objs_in_libgmp='' mpn_objs_in_libmp='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU MP" #define PACKAGE_TARNAME "gmp" #define PACKAGE_VERSION "5.0.1" #define PACKAGE_STRING "GNU MP 5.0.1" #define PACKAGE_BUGREPORT "gmp-b...@gmplib.org" #define PACKAGE_URL "http://www.gnu.org/software/gmp/" #define PACKAGE "gmp" #define VERSION "5.0.1" #define WANT_FFT 1 #define HAVE_HOST_CPU_pentium2 1 configure: exit 1
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page