On Friday February 26 2010 02:29:54 pm Michael DeLuca wrote: > 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/../../../../i68 >6-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/i >nclude" ignoring duplicate directory > "/srv/lfs/hlfs/tools/bin/../lib/gcc/../../lib/gcc/i686-pc-linux-gnu/4.4.4/i >nclude-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...
I haven't seen this before. We can start with the warning: echo 'int main(){return 0;}' > dummy.c && cc dummy.c -Wall && ./a.out robert
pgpboiCF0UnYk.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page