Adjusting Seg Fault

Michael DeLuca delucamd at gmail.com
Fri Feb 26 11:29:54 PST 2010


Now that glibc compiled for me I'm trying to do the toolchain
adjustment.  When trying to compile the test program I get a seg fault
in as:

(zion) hlfs [ /srv/lfs/hlfs ]$ cc -v -Wall dummy.c
Reading specs from
/srv/lfs/hlfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.4/specs
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/hlfs-tools
--with-local-prefix=/hlfs-tools --libexecdir=/hlfs-tools/lib
--infodir=/srv/lfs/hlfs/build/gcc-4.4-20100223/obj/DESTDIR
--mandir=/srv/lfs/hlfs/build/gcc-4.4-20100223/obj/DESTDIR
--enable-shared --enable-languages=c,c++ --disable-nls
--disable-multilib --disable-libssp --disable-libgomp
--disable-libmudflap --disable-decimal-float --without-cloog
--without-ppl
Thread model: posix
gcc version 4.4.4 20100223 (prerelease) (GCC)
COLLECT_GCC_OPTIONS='-v' '-Wall' '-mtune=generic'
 /srv/lfs/hlfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.4/cc1 -quiet
-v -iprefix /srv/lfs/hlfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.4/
-isystem /hlfs-tools/include dummy.c -fPIC -quiet -dumpbase dummy.c
-mtune=generic -auxbase dummy -Wall -version -o /tmp/ccuXbKNI.s
ignoring nonexistent directory
"/srv/lfs/hlfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "/hlfs-tools/include"
ignoring duplicate directory
"/srv/lfs/hlfs/tools/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.4.4/include"
ignoring duplicate directory
"/srv/lfs/hlfs/tools/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.4.4/include-fixed"
ignoring nonexistent directory
"/srv/lfs/hlfs/tools/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /hlfs-tools/include
 /srv/lfs/hlfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.4/include
 /srv/lfs/hlfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.4/include-fixed
 /usr/include
End of search list.
GNU C (GCC) version 4.4.4 20100223 (prerelease) (i686-pc-linux-gnu)
        compiled by GNU C version 4.4.4 20100223 (prerelease), GMP
version 5.0.1, MPFR version 2.4.2-p3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 25e55746c9de840c27510d81d9004608
dummy.c:1: warning: return type defaults to 'int'
dummy.c: In function 'main':
dummy.c:1: warning: control reaches end of non-void function
COLLECT_GCC_OPTIONS='-v' '-Wall' '-mtune=generic'
 as -V -Qy -o /tmp/ccU9mz3i.o /tmp/ccuXbKNI.s
cc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


I'm not sure what other information would be helpful so I figured I'd
start with this...



More information about the hlfs-dev mailing list