[lfs-support] Binutils Pass 1 (LFS 7.0) internal compiler error

Timothy Sturm timothysturm6 at gmail.com
Tue Jan 24 09:49:11 PST 2012


So I just got to chapter 5 and Im on the first pass of Binutils build in LFS 7.0
I have diverted from the book. but i think it may be irrelivent.
However, I read that if i do this to post when asking for support.

= replaced all reference to LFS with BED in variables, such as $LFS ->
$BED and so on.
= changed directory name of binutils-2.21.1 (source files) to
binutils-src, for convienence. So instead of
../binutils-2.21.1/configure, I use ../binutils-src/configure

= current directory tree of /mnt/bed (seen as /mnt/lfs in LFS 7.0 book)
       -/mnt/bed/binutils-src (renamed after extraction, from binutils-2.21.1)
       -/mnt/bed/binutils-build
       -/mnt/bed/sources (full of compressed source files related to
this build.)
       -/mnt/bed/tools (a few directories, pretty much empty though.)

so the configure seemed to have gone smoothly and what not. then i get
to the make command and it goes through its little thing, and here is
the last bit of it.
IDK what information i should include, so please let me know if I
should include something else.

../../binutils-src/bfd/elflink.c: In function 'elf_link_check_versioned_symbol':
../../binutils-src/bfd/elflink.c:8598: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[4]: *** [elflink.lo] Error 1
make[4]: Leaving directory `/mnt/bed/binutils-build/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/bed/binutils-build/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/mnt/bed/binutils-build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/mnt/bed/binutils-build'
make: *** [all] Error 2

==========================================
Also, as a reference, here is version-check.sh's output -

codebox:~# bash version-check.sh
bash, version 3.2.39(1)-release
/bin/sh -> /bin/bash
Binutils: (GNU Binutils for Debian) 2.20.1-system.20100303
bison (GNU Bison) 2.4.1
/usr/bin/yacc -> /usr/bin/bison.yacc
bzip2,  Version 1.0.5, 10-Dec-2007.
Coreutils:  8.5
diff (GNU diffutils) 2.8.1
find (GNU findutils) 4.4.0
GNU Awk 3.1.7
/usr/bin/awk -> /usr/bin/gawk
gcc (Debian 4.4.5-8) 4.4.5
GNU C Library (Debian EGLIBC 2.11.2-10) stable release version 2.11.2
GNU grep 2.5.3
gzip 1.3.12
Linux version 2.6.32-5-686 (Debian 2.6.32-38) (ben at decadent.org.uk)
(gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Oct 3 04:15:24 UTC
2011
m4 (GNU M4) 1.4.11
GNU Make 3.81
patch 2.6
Perl version='5.10.1';
GNU sed version 4.1.5
tar (GNU tar) 1.23
Texinfo: makeinfo (GNU texinfo) 4.13
xz (XZ Utils) 5.0.0
Compilation OK
codebox:~#
==============================================

Thx for your time! ~Oxy



More information about the lfs-support mailing list