Summary: | gcc-3.4.4 from clean 2005.0 amd64 stage3 install emerge gcc fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | vicin2003 |
Component: | [OLD] GCC Porting | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | martin.hierling, menion |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
vicin2003
2005-08-05 13:53:14 UTC
I seem to be getting this same error. I have a new box, installed w/ 2005.1. Is there any movement on this? same with me, while in chroot and emergeing grub i get the following error: # emerge grub Calculating dependencies ...done! >>> emerge (1 of 1) sys-boot/grub-0.96-r2 to / >>> md5 files ;-) grub-0.94-r1.ebuild >>> md5 files ;-) grub-0.96-r2.ebuild >>> md5 files ;-) grub-0.97.ebuild >>> md5 files ;-) grub-0.96-r1.ebuild >>> md5 files ;-) grub-0.92-r1.ebuild >>> md5 files ;-) grub-0.96-r3.ebuild >>> md5 files ;-) files/digest-grub-0.97 >>> md5 files ;-) files/digest-grub-0.92-r1 >>> md5 files ;-) files/digest-grub-0.94-r1 >>> md5 files ;-) files/digest-grub-0.96-r1 >>> md5 files ;-) files/digest-grub-0.96-r2 >>> md5 files ;-) files/digest-grub-0.96-r3 >>> md5 src_uri ;-) grub-0.96.tar.gz >>> md5 src_uri ;-) grub-0.96-r2-gentoo-0.1.tar.bz2 >>> md5 src_uri ;-) splash.xpm.gz >>> Unpacking source... >>> Unpacking grub-0.96.tar.gz to /var/tmp/portage/grub-0.96-r2/work >>> Unpacking grub-0.96-r2-gentoo-0.1.tar.bz2 to /var/tmp/portage/grub-0.96-r2/work >>> Unpacking splash.xpm.gz to /var/tmp/portage/grub-0.96-r2/work * Applying various patches (bugfixes/updates) ... * 001_all_grub-0.95.20040823-splash.patch ... [ ok ] * 005_all_grub-0.96-PIC.patch ... [ ok ] * 010_all_grub-0.96-bounced-checks.patch ... [ ok ] * 020_all_grub-0.96-i2o-raid.patch ... [ ok ] * 030_all_grub-0.95.20040823-warnings.patch ... [ ok ] * 040_all_grub-0.96-nxstack.patch ... [ ok ] * 045_all_grub-0.96-xfs-writable-string.patch ... [ ok ] * 050_all_grub-0.96-r1-gcc4.patch ... [ ok ] * 060_all_grub-0.96-netboot-pic.patch ... [ ok ] * 070_all_grub-0.96-gcc2.patch ... [ ok ] * Done with patching >>> Source unpacked. * econf: updating grub-0.96/config.guess with /usr/share/gnuconfig/config.guess * econf: updating grub-0.96/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=x86_64-pc-linux-gnu --libdir=/lib --datadir=/usr/lib/grub --exec-prefix=/ --disable-auto-linux-mem-opt checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/grub-0.96-r2/work/grub-0.96/config.log !!! ERROR: sys-boot/grub-0.96-r2 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. ---- # cat /var/tmp/portage/grub-0.96-r2/work/grub-0.96/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GRUB configure 0.96, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=x86_64-pc-linux-gnu --libdir=/lib --datadir=/usr/lib/grub --exec-prefix=/ --disable-auto-linux-mem-opt ## --------- ## ## Platform. ## ## --------- ## hostname = brull uname -m = x86_64 uname -r = 2.6.13-gentoo-r3 uname -s = Linux uname -v = #4 SMP Tue Oct 25 10:05:50 Local time zone must be set--see zic /usr/bin/uname -p = AMD Opteron(tm) Processor 250 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin PATH: /usr/sbin PATH: /usr/lib/portage/bin PATH: /bin PATH: /usr/bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 ## ----------- ## ## Core tests. ## ## ----------- ## configure:1435: checking for a BSD-compatible install configure:1490: result: /bin/install -c configure:1501: checking whether build environment is sane configure:1544: result: yes configure:1601: checking for gawk configure:1617: found /bin/gawk configure:1627: result: gawk configure:1637: checking whether make sets $(MAKE) configure:1657: result: yes configure:1828: checking build system type configure:1846: result: x86_64-pc-linux-gnu configure:1854: checking host system type configure:1868: result: x86_64-pc-linux-gnu configure:1892: checking whether to enable maintainer-specific portions of Makefiles configure:1901: result: no configure:1979: checking for x86_64-pc-linux-gnu-gcc configure:1995: found /usr/bin/x86_64-pc-linux-gnu-gcc configure:2005: result: x86_64-pc-linux-gnu-gcc configure:2063: checking for x86_64-pc-linux-gnu-gcc configure:2089: result: x86_64-pc-linux-gnu-gcc configure:2371: checking for C compiler version configure:2374: x86_64-pc-linux-gnu-gcc --version </dev/null >&5 x86_64-pc-linux-gnu-gcc (GCC) 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2377: $? = 0 configure:2379: x86_64-pc-linux-gnu-gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/specs Configured with: /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7) configure:2382: $? = 0 configure:2384: x86_64-pc-linux-gnu-gcc -V </dev/null >&5 x86_64-pc-linux-gnu-gcc: `-V' must come at the start of the command line configure:2387: $? = 1 configure:2410: checking for C compiler default output file name configure:2413: x86_64-pc-linux-gnu-gcc -m32 conftest.c >&5 configure:2416: $? = 0 configure:2462: result: a.out configure:2467: checking whether the C compiler works configure:2473: ./a.out ./configure: line 2474: ./a.out: cannot execute binary file configure:2476: $? = 126 configure:2485: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_build_alias=x86_64-pc-linux-gnu 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_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_host=x86_64-pc-linux-gnu ac_cv_host_alias=x86_64-pc-linux-gnu ac_cv_path_install='/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc ac_cv_prog_make_make_set=yes grub_cv_prog_objcopy_absolute=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/grub-0.96-r2/work/grub-0.96/missing --run aclocal-1.8' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /var/tmp/portage/grub-0.96-r2/work/grub-0.96/missing --run tar' AUTOCONF='${SHELL} /var/tmp/portage/grub-0.96-r2/work/grub-0.96/missing --run autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/grub-0.96-r2/work/grub-0.96/missing --run autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/grub-0.96-r2/work/grub-0.96/missing --run automake-1.8' AWK='gawk' BUILD_EXAMPLE_KERNEL_FALSE='' BUILD_EXAMPLE_KERNEL_TRUE='' CC='x86_64-pc-linux-gnu-gcc' CCAS='' CCASFLAGS='' CCDEPMODE='' CFLAGS='-m32 ' CPP='' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='' DISKLESS_SUPPORT_FALSE='' DISKLESS_SUPPORT_TRUE='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FSYS_CFLAGS='' GRAPHICS_SUPPORT_FALSE='' GRAPHICS_SUPPORT_TRUE='' GRUB_CFLAGS='' GRUB_LIBS='' HERCULES_SUPPORT_FALSE='' HERCULES_SUPPORT_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /var/tmp/portage/grub-0.96-r2/work/grub-0.96/missing --run makeinfo' NETBOOT_DRIVERS='' NETBOOT_SUPPORT_FALSE='' NETBOOT_SUPPORT_TRUE='' NET_CFLAGS='' NET_EXTRAFLAGS='' OBJCOPY='' OBJEXT='' PACKAGE='grub' PACKAGE_BUGREPORT='bug-grub@gnu.org' PACKAGE_NAME='GRUB' PACKAGE_STRING='GRUB 0.96' PACKAGE_TARNAME='grub' PACKAGE_VERSION='0.96' PATH_SEPARATOR=':' PERL='' RANLIB='' SERIAL_SPEED_SIMULATION_FALSE='' SERIAL_SPEED_SIMULATION_TRUE='' SERIAL_SUPPORT_FALSE='' SERIAL_SUPPORT_TRUE='' SET_MAKE='' SHELL='/bin/sh' STAGE1_CFLAGS='' STAGE2_CFLAGS='' STRIP='' VERSION='0.96' ac_ct_CC='' ac_ct_OBJCOPY='' ac_ct_RANLIB='' ac_ct_STRIP='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='' am__leading_dot='.' am__quote='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='/usr/lib/grub' exec_prefix='/' host='x86_64-pc-linux-gnu' host_alias='x86_64-pc-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_vendor='pc' includedir='${prefix}/include' infodir='/usr/share/info' install_sh='/var/tmp/portage/grub-0.96-r2/work/grub-0.96/install-sh' libdir='/lib' libexecdir='${exec_prefix}/libexec' localstatedir='/var/lib' mandir='/usr/share/man' mkdir_p='mkdir -p -- .' oldincludedir='/usr/include' prefix='/usr' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE "grub" #define PACKAGE_BUGREPORT "bug-grub@gnu.org" #define PACKAGE_NAME "GRUB" #define PACKAGE_STRING "GRUB 0.96" #define PACKAGE_TARNAME "grub" #define PACKAGE_VERSION "0.96" #define VERSION "0.96" configure: exit 1 ---- # emerge --info Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0, 2.6.13-gentoo-r3 x86_64) ================================================================= System uname: 2.6.13-gentoo-r3 x86_64 AMD Opteron(tm) Processor 250 Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync16.de.gentoo.org/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls opengl pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts udev usb userlocales xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY ---- same error emerging gcc, other apps are emerging fine: Wed Oct 26 14:11:32 2005 >>> sys-apps/debianutils-2.14.1-r1 Wed Oct 26 14:11:57 2005 >>> sys-apps/file-4.13 Wed Oct 26 14:12:36 2005 >>> sys-apps/gawk-3.1.4-r4 Wed Oct 26 14:13:02 2005 >>> sys-apps/grep-2.5.1-r8 Wed Oct 26 14:13:20 2005 >>> sys-apps/man-1.6-r1 Wed Oct 26 14:13:48 2005 >>> sys-apps/man-pages-2.08 Wed Oct 26 14:14:20 2005 >>> sys-process/psmisc-21.6 Wed Oct 26 14:15:18 2005 >>> sys-apps/shadow-4.0.7-r4 Wed Oct 26 14:15:56 2005 >>> sys-apps/texinfo-4.8-r2 Wed Oct 26 14:16:13 2005 >>> sys-devel/automake-1.9.6-r1 Wed Oct 26 14:16:29 2005 >>> sys-devel/flex-2.5.4a-r6 Wed Oct 26 16:01:05 2005 >>> sys-devel/binutils-2.15.92.0.2-r10 Wed Oct 26 17:21:50 2005 >>> dev-perl/DateManip-5.42a-r1 Wed Oct 26 17:21:55 2005 >>> app-portage/genlop-0.30.3 any ideas ? Don DonĀ“t know why but setting this 2 Kernel options fixed my problem: # grep IA32 .config CONFIG_IA32_EMULATION=y CONFIG_IA32_AOUT=y regards mh Looks like Martin figured out the issue you were experiencing. Reopen if this is a problem with the new 2005.1-r1 stages. |