This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, I'm using crosstool-NG 1.16.0, and I'm trying to build a gcc >4.4.6 but the build never succeeds. I've included my .config at the end of the email. Most of the .config comes from the standard Buildroot settings which I then updated to add a newer gcc and glibc. The settings for gcc 4.4.6 provided by Buildroot always work, but if I try to increase the version of gcc or glibc, it always fails at the "Installing C library headers & start files" stage. Here is the last part of the build.log: [INFO ] Installing C library headers & start files [EXTRA] Configuring C library [DEBUG] Using gcc for target : '/tmp/crosstool-ng-1.16.0/.build/i486-unknown-linux-gnu/buildtools/bin/i486-unknown-linux-gnu-gcc' [DEBUG] Configuring with addons : 'nptl,ports' [DEBUG] Extra config args passed: '--disable-debug --disable-sanity-checks --enable-kernel=2.6.27 --with-__thread --with-tls --enable-shared --enable-add-ons=nptl,ports' [DEBUG] Extra CC args passed : ' -U_FORTIFY_SOURCE -march=i486 -mtune=i486 -O2 ' [DEBUG] Extra flags (multilib) : '' [DEBUG] ==> Executing: 'BUILD_CC=i686-build_pc-linux-gnu-gcc' 'CFLAGS= -U_FORTIFY_SOURCE -march=i486 -mtune=i486 -O2 ' 'CC=i486-unknown-linux-gnu-gcc ' 'AR=i486-unknown-linux-gnu-ar' 'RANLIB=i486-unknown-linux-gnu-ranlib' '/bin/bash' '/tmp/crosstool-ng-1.16.0/.build/src/glibc-2.14.1/configure' '--prefix=/usr' '--build=i686-build_pc-linux-gnu' '--host=i486-unknown-linux-gnu' '--cache-file=/tmp/crosstool-ng-1.16.0/.build/i486-unknown-linux-gnu/build/build-libc-startfiles/config.cache' '--without-cvs' '--disable-profile' '--without-gd' '--with-headers=/opt/crosstool/i486-unknown-linux-gnu/sysroot/usr/include' '--disable-debug' '--disable-sanity-checks' '--enable-kernel=2.6.27' '--with-__thread' '--with-tls' '--enable-shared' '--enable-add-ons=nptl,ports' ... SNIP... [CFG ] checking cpuid.h usability... no [CFG ] checking cpuid.h presence... yes [WARN ] configure: WARNING: cpuid.h: present but cannot be compiled [WARN ] configure: WARNING: cpuid.h: check for missing prerequisite headers? [WARN ] configure: WARNING: cpuid.h: see the Autoconf documentation [WARN ] configure: WARNING: cpuid.h: section "Present But Cannot Be Compiled" [WARN ] configure: WARNING: cpuid.h: proceeding with the compiler's result [CFG ] checking for cpuid.h... no [ERROR] configure: error: gcc must provide the <cpuid.h> header [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Installing C library headers & start files' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@172] [ERROR] >> called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@347] [ERROR] >> called from: do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143] [ERROR] >> called from: do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@60] [ERROR] >> called from: main[scripts/crosstool-NG.sh@598] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> '/opt/crosstool/share/doc/crosstool-ng/ct-ng.1.16.0/B - Known issues.txt' [ERROR] [ERROR] (elapsed: 126:20.06) my .config CT_CONFIGURE_has_xz=y CT_CONFIGURE_has_cvs=y CT_CONFIGURE_has_svn=y CT_MODULES=y CT_LOCAL_TARBALLS_DIR="/home/aras/ctng" CT_SAVE_TARBALLS=y CT_WORK_DIR="${CT_TOP_DIR}/.build" CT_PREFIX_DIR="/opt/crosstool" CT_INSTALL_DIR="${CT_PREFIX_DIR}" CT_REMOVE_DOCS=y CT_PARALLEL_JOBS=0 CT_LOAD=0 CT_USE_PIPES=y CT_EXTRA_FLAGS_FOR_HOST="" CT_CONFIG_SHELL_BASH=y CT_CONFIG_SHELL="${bash}" CT_ARCH="x86" CT_ARCH_SUPPORTS_32=y CT_ARCH_SUPPORTS_64=y CT_ARCH_SUPPORTS_WITH_ARCH=y CT_ARCH_SUPPORTS_WITH_CPU=y CT_ARCH_SUPPORTS_WITH_TUNE=y CT_ARCH_DEFAULT_32=y CT_ARCH_ARCH="i486" CT_ARCH_CPU="" CT_ARCH_TUNE="i486" CT_ARCH_32=y CT_ARCH_BITNESS=32 CT_TARGET_CFLAGS="" CT_TARGET_LDFLAGS="" CT_ARCH_x86=y CT_ARCH_USE_MMU=y CT_ARCH_FLOAT="" CT_FORCE_SYSROOT=y CT_USE_SYSROOT=y CT_SYSROOT_NAME="sysroot" CT_SYSROOT_DIR_PREFIX="" CT_WANTS_STATIC_LINK=y CT_TOOLCHAIN_PKGVERSION="vortex86dx" CT_TOOLCHAIN_BUGURL="" CT_TARGET_VENDOR="unknown" CT_TARGET_ALIAS_SED_EXPR="" CT_TARGET_ALIAS="i486-linux" CT_CROSS=y CT_TOOLCHAIN_TYPE="cross" CT_BUILD="" CT_BUILD_PREFIX="" CT_BUILD_SUFFIX="" CT_KERNEL_SUPPORTS_SHARED_LIBS=y CT_KERNEL="linux" CT_KERNEL_VERSION="2.6.27.62" CT_KERNEL_linux=y CT_KERNEL_bare_metal_AVAILABLE=y CT_KERNEL_linux_AVAILABLE=y CT_KERNEL_V_2_6_27_62=y CT_SHARED_LIBS=y CT_KERNEL_LINUX_VERBOSITY_0=y CT_KERNEL_LINUX_VERBOSE_LEVEL=0 CT_KERNEL_LINUX_INSTALL_CHECK=y CT_ARCH_BINFMT_ELF=y CT_BINUTILS_V_2_21_1a=y CT_BINUTILS_VERSION="2.21.1a" CT_BINUTILS_HAS_HASH_STYLE=y CT_BINUTILS_HAS_GOLD=y CT_BINUTILS_GOLD_SUPPORTS_ARCH=y CT_BINUTILS_HAS_PLUGINS=y CT_BINUTILS_HAS_PKGVERSION_BUGURL=y CT_BINUTILS_FORCE_LD_BFD=y CT_BINUTILS_LINKER_LD=y CT_BINUTILS_LINKERS_LIST="ld" CT_BINUTILS_LINKER_DEFAULT="bfd" CT_BINUTILS_EXTRA_CONFIG_ARRAY="" CT_CC="gcc" CT_CC_VERSION="4.6.3" CT_CC_gcc=y CT_CC_V_4_6_3=y CT_CC_GCC_4_6=y CT_CC_GCC_HAS_GRAPHITE=y CT_CC_GCC_HAS_LTO=y CT_CC_GCC_HAS_PKGVERSION_BUGURL=y CT_CC_GCC_HAS_BUILD_ID=y CT_CC_GCC_USE_GMP_MPFR=y CT_CC_GCC_USE_PPL_CLOOG=y CT_CC_GCC_USE_MPC=y CT_CC_GCC_HAS_LIBQUADMATH=y CT_CC_SUPPORT_CXX=y CT_CC_SUPPORT_FORTRAN=y CT_CC_SUPPORT_JAVA=y CT_CC_SUPPORT_ADA=y CT_CC_SUPPORT_OBJC=y CT_CC_SUPPORT_OBJCXX=y CT_CC_LANG_CXX=y CT_CC_ENABLE_CXX_FLAGS="" CT_CC_CORE_EXTRA_CONFIG_ARRAY="--disable-decimal-float" CT_CC_EXTRA_CONFIG_ARRAY="--disable-decimal-float" CT_CC_STATIC_LIBSTDCXX=y CT_CC_GCC_USE_GRAPHITE=y CT_CC_GCC_USE_LTO=y CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y CT_CC_CXA_ATEXIT=y CT_CC_GCC_SJLJ_EXCEPTIONS=m CT_CC_GCC_LDBL_128=m CT_LIBC="glibc" CT_LIBC_VERSION="2.14.1" CT_LIBC_glibc=y CT_LIBC_GLIBC_V_2_14_1=y CT_LIBC_SUPPORT_THREADS_ANY=y CT_LIBC_SUPPORT_NPTL=y CT_THREADS="nptl" CT_THREADS_NPTL=y CT_LIBC_XLDD=y CT_LIBC_glibc_familly=y CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY="" CT_LIBC_GLIBC_CONFIGPARMS="" CT_LIBC_GLIBC_EXTRA_CFLAGS="" CT_LIBC_EXTRA_CC_ARGS="" CT_LIBC_OLDEST_ABI="" CT_LIBC_GLIBC_FORCE_UNWIND=y CT_LIBC_GLIBC_USE_PORTS=y CT_LIBC_ADDONS_LIST="" CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y CT_LIBC_GLIBC_MIN_KERNEL="2.6.27.62" CT_COMPLIBS_NEEDED=y CT_GMP_NEEDED=y CT_MPFR_NEEDED=y CT_PPL_NEEDED=y CT_CLOOG_NEEDED=y CT_MPC_NEEDED=y CT_COMPLIBS=y CT_GMP=y CT_MPFR=y CT_PPL=y CT_CLOOG=y CT_MPC=y CT_GMP_V_5_0_2=y CT_GMP_VERSION="5.0.2" CT_MPFR_V_3_1_0=y CT_MPFR_VERSION="3.1.0" CT_PPL_V_0_11_2=y CT_PPL_VERSION="0.11.2" CT_PPL_0_11=y CT_PPL_NEEDS_LIBPWL=y CT_CLOOG_V_0_15_11=y CT_CLOOG_VERSION="0.15.11" CT_CLOOG_0_15_1x=y CT_CLOOG_NEEDS_AUTORECONF=y CT_MPC_V_0_9=y CT_MPC_VERSION="0.9" Does anyone have a solution to this? Or an example .config that will build a gcc 4.6.x? Aras Vaichas -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |