Re: Bootstrap failure in libgcc stage 1 x86_64-linux-gnu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/13/2011 12:14 PM, Jonathan Wakely wrote:
On 13 February 2011 02:15, Ed Smith-Rowland wrote:
I'm configuring with:

../gcc/configure --prefix=/home/ed/bin --with-gmp=/usr/local
--with-mpfr=/usr/local --with-mpc=/usr/local --with-ppl=/usr/local
--with-cloog=/usr/local --enable-cloog-backend=isl --enable-lto
--enable-languages=c,c++,objc,obj-c++,lto,fortran,go

It gets down to libgcc and starts config and fails:

-----------------------------------------------------------------------------------------------------------------------------------
make[3]: Leaving directory `/home/ed/obj/gcc'
mkdir -p -- x86_64-unknown-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in x86_64-unknown-linux-gnu/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-lipo... lipo
checking for x86_64-unknown-linux-gnu-nm... /home/ed/obj/./gcc/nm
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc... /home/ed/obj/./gcc/xgcc
-B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/
-B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem
/home/ed/bin/x86_64-unknown-linux-gnu/include -isystem
/home/ed/bin/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/home/ed/obj/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/ed/obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/ed/obj'
make: *** [all] Error 2
-----------------------------------------------------------------------------------------------------------------------------------

I removed everything from the build directory.  I have the most recent svn
170099.

Any ideas?
Did you attach the top-level config.log? The details are in config.log
in the libgcc directory.

The most common reason is that the runtime linker can't find
libgmp.so, limmpfr.so and/or libmpc.so
http://gcc.gnu.org/wiki/FAQ#configure_suffix

Sorry,

The library exits.  Things are just not pointed right somehow.

ed@bad-horse:~/obj/x86_64-unknown-linux-gnu/libgcc$ find /usr/local/ -name libcloog-isl.so.1
/usr/local/lib/libcloog-isl.so.1

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ /home/ed/gcc/libgcc/configure --cache-file=./config.cache --enable-multilib --prefix=/home/ed/bin --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --with-ppl=/usr/local --with-cloog=/usr/local --enable-cloog-backend=isl --enable-lto --enable-languages=c,c++,fortran,go,lto,objc,obj-c++ --program-transform-name=s,y,y, --disable-option-checking --with-target-subdir=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --srcdir=../../../gcc/libgcc --disable-intermodule --enable-checking=yes,types --disable-coverage --enable-languages=c,c++,lto

## --------- ##
## Platform. ##
## --------- ##

hostname = bad-horse
uname -m = x86_64
uname -r = 2.6.35-25-generic
uname -s = Linux
uname -v = #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011

/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/local/Trolltech/Qt-4.6.3/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1742: creating cache ./config.cache
configure:1903: checking for --enable-version-specific-runtime-libs
configure:1916: result: no
configure:1964: checking for a BSD-compatible install
configure:2032: result: /usr/bin/install -c
configure:2048: checking for gawk
configure:2075: result: gawk
configure:2095: checking build system type
configure:2109: result: x86_64-unknown-linux-gnu
configure:2129: checking host system type
configure:2142: result: x86_64-unknown-linux-gnu
configure:2245: checking for x86_64-unknown-linux-gnu-ar
configure:2272: result: ar
configure:2337: checking for x86_64-unknown-linux-gnu-lipo
configure:2364: result: lipo
configure:2429: checking for x86_64-unknown-linux-gnu-nm
configure:2456: result: /home/ed/obj/./gcc/nm
configure:2521: checking for x86_64-unknown-linux-gnu-ranlib
configure:2548: result: ranlib
configure:2613: checking for x86_64-unknown-linux-gnu-strip
configure:2640: result: strip
configure:2702: checking whether ln -s works
configure:2706: result: yes
configure:2723: checking for x86_64-unknown-linux-gnu-gcc
configure:2750: result: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include   
configure:3019: checking for C compiler version
configure:3028: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include    --version >&5
xgcc (GCC) 4.6.0 20110213 (experimental)
Copyright (C) 2011 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:3039: $? = 0
configure:3028: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include    -v >&5
Reading specs from /home/ed/obj/./gcc/specs
COLLECT_GCC=/home/ed/obj/./gcc/xgcc
COLLECT_LTO_WRAPPER=/home/ed/obj/./gcc/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/home/ed/bin --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --with-ppl=/usr/local --with-cloog=/usr/local --enable-cloog-backend=isl --enable-lto --enable-languages=c,c++,objc,obj-c++,lto,fortran,go
Thread model: posix
gcc version 4.6.0 20110213 (experimental) (GCC) 
configure:3039: $? = 0
configure:3028: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include    -V >&5
xgcc: error: unrecognized option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3039: $? = 1
configure:3028: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include    -qversion >&5
xgcc: error: unrecognized option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3039: $? = 1
configure:3055: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include    -o conftest -g -O2   conftest.c  >&5
/home/ed/obj/./gcc/cc1: error while loading shared libraries: libcloog-isl.so.1: cannot open shared object file: No such file or directory
configure:3058: $? = 1
configure:3246: checking for suffix of object files
configure:3268: /home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  conftest.c >&5
/home/ed/obj/./gcc/cc1: error while loading shared libraries: libcloog-isl.so.1: cannot open shared object file: No such file or directory
configure:3272: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3286: error: in `/home/ed/obj/x86_64-unknown-linux-gnu/libgcc':
configure:3289: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include   '
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=x86_64-unknown-linux-gnu
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_prog_AR=ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include   '
ac_cv_prog_LIPO=lipo
ac_cv_prog_NM=/home/ed/obj/./gcc/nm
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_STRIP=strip

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AWK='gawk'
CC='/home/ed/obj/./gcc/xgcc -B/home/ed/obj/./gcc/ -B/home/ed/bin/x86_64-unknown-linux-gnu/bin/ -B/home/ed/bin/x86_64-unknown-linux-gnu/lib/ -isystem /home/ed/bin/x86_64-unknown-linux-gnu/include -isystem /home/ed/bin/x86_64-unknown-linux-gnu/sys-include   '
CFLAGS='-g -O2'
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
NM='/home/ed/obj/./gcc/nm'
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='GNU C Runtime Library'
PACKAGE_STRING='GNU C Runtime Library 1.0'
PACKAGE_TARNAME='libgcc'
PACKAGE_URL='http://www.gnu.org/software/libgcc/'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SHELL='/bin/bash'
STRIP='strip'
ac_ct_CC=''
asm_hidden_op=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu='x86_64'
build_libsubdir='build-x86_64-unknown-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-unknown-linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
decimal_float=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_decimal_float=''
enable_shared='yes'
exec_prefix='NONE'
extra_parts=''
fixed_point=''
host='x86_64-unknown-linux-gnu'
host_alias='x86_64-unknown-linux-gnu'
host_cpu='x86_64'
host_noncanonical='x86_64-unknown-linux-gnu'
host_os='linux-gnu'
host_subdir='.'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgcc_topdir='../../../gcc/libgcc/..'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/ed/bin'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
set_have_cc_tls=''
set_use_emutls=''
sharedstatedir='${prefix}/com'
slibdir='$(libdir)'
sysconfdir='${prefix}/etc'
target_alias='x86_64-unknown-linux-gnu'
target_noncanonical='x86_64-unknown-linux-gnu'
target_subdir='x86_64-unknown-linux-gnu'
tmake_file=''
toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
toolexeclibdir='$(libdir)/../lib64'
vis_hide=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "GNU C Runtime Library"
#define PACKAGE_TARNAME "libgcc"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "GNU C Runtime Library 1.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL "http://www.gnu.org/software/libgcc/";

configure: exit 1

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux