chapter 5 - binutils pass 1 - slackware 10.1

martin boehnert martinb777 at
Mon Apr 4 08:24:35 PDT 2005

sorry for sending this much output but i think the error is somewhere 
between these lines...
no very much platform info and the segfault at the end of the snippet...

$ /mnt/lfs/sources/binutils- 
--cache-file=./config.cache --build=i586-pc-linux-gnu 
--host=i586-pc-linux-gnu --target=i586-pc-linux-gnu --with-gnu-as 
--with-gnu-ld --prefix=/tools --disable-nls 

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

hostname = pumpkin
uname -m = i586
uname -r = 2.6.111
uname -s = Linux
uname -v = #1 Fri Mar 25 23:25:14 CET 2005

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i586
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /tools/bin
PATH: /bin
PATH: /usr/bin

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

configure:1219: loading cache ./config.cache
configure:1384: checking whether to enable maintainer-specific portions 
of Makefiles
configure:1394: result: no
configure:1409: checking for makeinfo
configure:1435: result: makeinfo
configure:1474: checking for perl
configure:1490: found /usr/bin/perl
configure:1500: result: perl
configure:1520: checking build system type
configure:1538: result: i586-pc-linux-gnu
configure:1546: checking host system type
configure:1560: result: i586-pc-linux-gnu
configure:1573: checking for i586-pc-linux-gnu-ar
configure:1599: result: ar
configure:1652: checking for i586-pc-linux-gnu-ranlib
configure:1678: result: ranlib
configure:1739: checking for i586-pc-linux-gnu-gcc
configure:1765: result: gcc
configure:2047: checking for C compiler version
configure:2050: gcc --version </dev/null >&5
gcc (GCC) 3.3.4
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO

configure:2053: $? = 0
configure:2055: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --disable-checking 
--with-gnu-ld --verbose --target=i486-slackware-linux 
Thread model: posix
gcc version 3.3.4
configure:2058: $? = 0
configure:2060: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2063: $? = 1
configure:2082: gcc -o conftest -g -O2   conftest.c  >&5
configure:2085: $? = 0
configure:2119: checking for C compiler default output file name
configure:2122: gcc -g -O2   conftest.c  >&5
configure:2125: $? = 0
configure:2171: result: a.out
configure:2176: checking whether the C compiler works
configure:2182: ./a.out
/mnt/lfs/sources/binutils- line 2183: 
2043 Segmentation fault      ./$ac_file
configure:2185: $? = 139
configure:2194: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

thanks a lot

> Matthew Burgess wrote:
>> Does `config.log' have anything useful to say?
> As the error was being caused by libiberty's configure, you'll have to 
> look at binutils-build/libiberty/config.log.
> Regards,
> Matt.

More information about the lfs-support mailing list