Summary: | grub 0.96-r1 configure error: cannot create executables | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tiago Freire <tiago.freire> |
Component: | [OLD] Core system | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | eradicator |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Tiago Freire
2005-05-31 06:51:09 UTC
you probably dont have 32bit sandbox/toolchain setup properly ... you should post the config.log so we know the exact error 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 --libdir=/lib --datadir=/usr/lib/grub --exec-prefix=/ --disable-auto-linux-mem-opt ## --------- ## ## Platform. ## ## --------- ## hostname = xiru uname -m = x86_64 uname -r = 2.6.11-gentoo-r7 uname -s = Linux uname -v = #1 Wed May 18 11:27:20 BRT 2005 /usr/bin/uname -p = AMD Athlon(tm) 64 Processor 3000+ /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: /usr/local/bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 PATH: /opt/blackdown-jdk-1.4.2.01/bin PATH: /opt/blackdown-jdk-1.4.2.01/jre/bin PATH: /usr/qt/3/bin PATH: /usr/kde/3.4/sbin PATH: /usr/kde/3.4/bin PATH: /usr/kde/3.3/sbin PATH: /usr/kde/3.3/bin PATH: /opt/vmware/bin ## ----------- ## ## 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:1736: checking for x86_64-pc-linux-gnu-strip configure:1752: found /usr/bin/x86_64-pc-linux-gnu-strip configure:1762: result: x86_64-pc-linux-gnu-strip configure:1828: checking build system type configure:1846: result: x86_64-unknown-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 Hardened Linux 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 Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/vanilla.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 --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.3 20041125 (Gentoo Hardened Linux 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 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /emul/linux/x86/lib/libc.so.6 collect2: ld returned 1 exit status configure:2416: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GRUB" | #define PACKAGE_TARNAME "grub" | #define PACKAGE_VERSION "0.96" | #define PACKAGE_STRING "GRUB 0.96" | #define PACKAGE_BUGREPORT "bug-grub@gnu.org" | #define PACKAGE "grub" | #define VERSION "0.96" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2455: error: C compiler cannot create executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_build_alias=x86_64-unknown-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= ac_cv_env_build_alias_value= 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_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_STRIP=x86_64-pc-linux-gnu-strip ac_cv_prog_make_make_set=yes grub_cv_prog_objcopy_absolute=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /var/tmp/portage/grub-0.96-r1/work/grub-0.96/missing --run aclocal-1.8' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /var/tmp/portage/grub-0.96-r1/work/grub-0.96/missing --run tar' AUTOCONF='${SHELL} /var/tmp/portage/grub-0.96-r1/work/grub-0.96/missing --run autoconf' AUTOHEADER='${SHELL} /var/tmp/portage/grub-0.96-r1/work/grub-0.96/missing --run autoheader' AUTOMAKE='${SHELL} /var/tmp/portage/grub-0.96-r1/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-r1/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='x86_64-pc-linux-gnu-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-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' 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-r1/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 77 Recently, I have upgraded my profile from 2004.3 to 2005.0. Is there a simple testcase for me to find out if the 32 bit 'stuff' is broken? And, if I am not asking too much, point me the instructions on how to fix it (if it is indeed broken)? Thanks This looks more like a .la problem, with the /emul paths hardcoded. Try this: find / -name "*.la" -exec grep -H "/emul/linux/x86/lib/libc.so.6" {} \; That should print out any .la files explicitly referencing that library. alas, the magic line printed nothing, yet it does not compile. The way to test would be to compile some test file 32-bit using gcc -m32 -o test test.c test.c could be as simple as a hello-world program, something like this: #include <stdio.h> int main(int argc, char**argv) { printf("hello world\n"); return (0); } The error message from that might be helpful. *** This bug has been marked as a duplicate of 93769 *** I'm on crack... it's not a dupe How did you upgrade to 2005.0? You've still got leftover emul-glibc stuff... You don't seem to have emerged glibc under 2005.0. |