Hello, the compilation of gcc 4.7.2 fails on a fully patched ubuntu 12.04 with the error message "checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[1]: *** [configure-target-libssp] Fehler 1" The configure call is: ../gcc-4.7.2_Source/configure --prefix=/opt/gcc_4_7_2 --enable-languages=c,c++,fortran --enable-threads=posix --enable-tls --enable-libgomp --disable-nls --disable-checking --disable-multilib --disable-shared --disable-libstdcxx-pch --disable-bootstrap The config.log is attached. How can I build the gcc 4.7.2 on this system?
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.64. Invocation command line was $ ../gcc-4.7.2_Source/configure --prefix=/opt/gcc_4_7_2 --enable-languages=c,c++,fortran --enable-threads=posix --enable-tls --enable-libgomp --disable-nls --disable-checking --disable-multilib --disable-shared --disable-libstdcxx-pch --disable-bootstrap ls ## --------- ## ## Platform. ## ## --------- ## hostname = Acer3820 uname -m = x86_64 uname -r = 3.2.0-38-generic uname -s = Linux uname -v = #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 /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: /usr/lib/lightdm/lightdm PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2237: checking build system type configure:2248: error: /bin/bash ../gcc-4.7.2_Source/config.sub ls failed ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build= ac_cv_env_AR_FOR_TARGET_set= ac_cv_env_AR_FOR_TARGET_value= ac_cv_env_AR_set= ac_cv_env_AR_value= ac_cv_env_AS_FOR_TARGET_set= ac_cv_env_AS_FOR_TARGET_value= ac_cv_env_AS_set= ac_cv_env_AS_value= ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_FOR_TARGET_set= ac_cv_env_CC_FOR_TARGET_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_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_FOR_TARGET_set= ac_cv_env_CXX_FOR_TARGET_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_DLLTOOL_FOR_TARGET_set= ac_cv_env_DLLTOOL_FOR_TARGET_value= ac_cv_env_DLLTOOL_set= ac_cv_env_DLLTOOL_value= ac_cv_env_GCC_FOR_TARGET_set= ac_cv_env_GCC_FOR_TARGET_value= ac_cv_env_GCJ_FOR_TARGET_set= ac_cv_env_GCJ_FOR_TARGET_value= ac_cv_env_GFORTRAN_FOR_TARGET_set= ac_cv_env_GFORTRAN_FOR_TARGET_value= ac_cv_env_GOC_FOR_TARGET_set= ac_cv_env_GOC_FOR_TARGET_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LD_FOR_TARGET_set= ac_cv_env_LD_FOR_TARGET_value= ac_cv_env_LD_set= ac_cv_env_LD_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LIPO_FOR_TARGET_set= ac_cv_env_LIPO_FOR_TARGET_value= ac_cv_env_LIPO_set= ac_cv_env_LIPO_value= ac_cv_env_NM_FOR_TARGET_set= ac_cv_env_NM_FOR_TARGET_value= ac_cv_env_NM_set= ac_cv_env_NM_value= ac_cv_env_OBJCOPY_set= ac_cv_env_OBJCOPY_value= ac_cv_env_OBJDUMP_FOR_TARGET_set= ac_cv_env_OBJDUMP_FOR_TARGET_value= ac_cv_env_OBJDUMP_set= ac_cv_env_OBJDUMP_value= ac_cv_env_RANLIB_FOR_TARGET_set= ac_cv_env_RANLIB_FOR_TARGET_value= ac_cv_env_RANLIB_set= ac_cv_env_RANLIB_value= ac_cv_env_READELF_FOR_TARGET_set= ac_cv_env_READELF_FOR_TARGET_value= ac_cv_env_READELF_set= ac_cv_env_READELF_value= ac_cv_env_STRIP_FOR_TARGET_set= ac_cv_env_STRIP_FOR_TARGET_value= ac_cv_env_STRIP_set= ac_cv_env_STRIP_value= ac_cv_env_WINDMC_FOR_TARGET_set= ac_cv_env_WINDMC_FOR_TARGET_value= ac_cv_env_WINDMC_set= ac_cv_env_WINDMC_value= ac_cv_env_WINDRES_FOR_TARGET_set= ac_cv_env_WINDRES_FOR_TARGET_value= ac_cv_env_WINDRES_set= ac_cv_env_WINDRES_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=ls ac_cv_env_build_configargs_set= ac_cv_env_build_configargs_value= ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=ls ac_cv_env_host_configargs_set= ac_cv_env_host_configargs_value= ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=ls ac_cv_env_target_configargs_set= ac_cv_env_target_configargs_value= ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='' AR_FOR_BUILD='' AR_FOR_TARGET='' AS='' AS_FOR_BUILD='' AS_FOR_TARGET='' AWK='' BISON='' BUILD_CONFIG='' CC='' CC_FOR_BUILD='' CC_FOR_TARGET='' CFLAGS='' CFLAGS_FOR_BUILD='' CFLAGS_FOR_TARGET='' COMPILER_AS_FOR_TARGET='' COMPILER_LD_FOR_TARGET='' COMPILER_NM_FOR_TARGET='' CONFIGURE_GDB_TK='' CPPFLAGS='' CXX='' CXXFLAGS='' CXXFLAGS_FOR_BUILD='' CXXFLAGS_FOR_TARGET='' CXX_FOR_BUILD='' CXX_FOR_TARGET='' DEBUG_PREFIX_CFLAGS_FOR_TARGET='' DEFS='' DLLTOOL='' DLLTOOL_FOR_BUILD='' DLLTOOL_FOR_TARGET='' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' EXPECT='' EXTRA_CONFIGARGS_LIBJAVA='' FLAGS_FOR_TARGET='' FLEX='' GCC_FOR_TARGET='' GCC_SHLIB_SUBDIR='' GCJ_FOR_BUILD='' GCJ_FOR_TARGET='' GDB_TK='' GFORTRAN_FOR_BUILD='' GFORTRAN_FOR_TARGET='' GNATBIND='' GNATMAKE='' GOC_FOR_BUILD='' GOC_FOR_TARGET='' INSTALL_DATA='' INSTALL_GDB_TK='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LD='' LDFLAGS='' LDFLAGS_FOR_BUILD='' LDFLAGS_FOR_TARGET='' LD_FOR_BUILD='' LD_FOR_TARGET='' LEX='' LIBOBJS='' LIBS='' LIPO='' LIPO_FOR_TARGET='' LN='' LN_S='' LTLIBOBJS='' M4='' MAINT='' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='' MAKEINFO='' NM='' NM_FOR_BUILD='' NM_FOR_TARGET='' OBJCOPY='' OBJDUMP='' OBJDUMP_FOR_TARGET='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' POSTSTAGE1_CONFIGURE_FLAGS='' RANLIB='' RANLIB_FOR_BUILD='' RANLIB_FOR_TARGET='' RAW_CXX_FOR_TARGET='' READELF='' READELF_FOR_TARGET='' RPATH_ENVVAR='' RUNTEST='' SED='' SHELL='/bin/bash' STRIP='' STRIP_FOR_TARGET='' SYSROOT_CFLAGS_FOR_TARGET='' TOPLEVEL_CONFIGURE_ARGUMENTS='../gcc-4.7.2_Source/configure --prefix=/opt/gcc_4_7_2 --enable-languages=c,c++,fortran --enable-threads=posix --enable-tls --enable-libgomp --disable-nls --disable-checking --disable-multilib --disable-shared --disable-libstdcxx-pch --disable-bootstrap ls' WINDMC='' WINDMC_FOR_BUILD='' WINDMC_FOR_TARGET='' WINDRES='' WINDRES_FOR_BUILD='' WINDRES_FOR_TARGET='' YACC='' ac_ct_CC='' ac_ct_CXX='' bindir='${exec_prefix}/bin' build='ls' build_alias='ls' build_configargs='' build_configdirs='' build_cpu='' build_libsubdir='' build_noncanonical='' build_os='' build_subdir='' build_tooldir='' build_vendor='' clooginc='' clooglibs='' compare_exclusions='' configdirs='' datadir='${datarootdir}' datarootdir='${prefix}/share' do_compare='' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' extra_host_libiberty_configure_flags='' extra_mpc_gmp_configure_flags='' extra_mpc_mpfr_configure_flags='' extra_mpfr_configure_flags='' gmpinc='' gmplibs='' host='ls' host_alias='ls' host_configargs='' host_cpu='' host_noncanonical='' host_os='' host_subdir='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' poststage1_ldflags='' poststage1_libs='' pplinc='' ppllibs='' prefix='/opt/gcc_4_7_2' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' stage1_cflags='' stage1_checking='' stage1_languages='' stage1_ldflags='' stage1_libs='' stage2_werror_flag='' sysconfdir='${prefix}/etc' target='ls' target_alias='ls' target_configargs='' target_configdirs='' target_cpu='' target_noncanonical='' target_os='' target_subdir='' target_vendor='' tooldir='' ## ------------------- ## ## File substitutions. ## ## ------------------- ## alphaieee_frag='' host_makefile_frag='' ospace_frag='' serialization_dependencies='' target_makefile_frag='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" configure: exit 1