The error occured when i tried building crosscompiler for x86_64. Steps i followed: 1. binutils-2.17 2. Installing glibc headers 3. Installing gcc (bootstrap) 4. Installing glibc [ error occured in this step ]
The exact error message is ./strtod_l.c: In function `____strtold_l_internal': ./strtod_l.c:1554: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[2]: *** [/home/gobi/build/glibc-build/stdlib/strtold_l.o] Error 1 make[2]: Leaving directory `/home/gobi/tarballs/glibc-2.3.6/stdlib' make[1]: *** [stdlib/subdir_lib] Error 2 make[1]: Leaving directory `/home/gobi/tarballs/glibc-2.3.6' make: *** [all] Error 2 + exit 1 The command which emits this error is x86_64-unknown-linux-gnu-gcc ../sysdeps/ieee754/ldbl-96/strtold_l.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../include -I. -I/home/gobi/build/glibc-build/stdlib -I.. -I../libio -I/home/gobi/build/glibc-build -I../sysdeps/x86_64/elf -I../linuxthreads/sysdeps/unix/sysv/linux/x86_64 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /opt/cross/x86_64-unknown-linux-gnu-gcc/lib/gcc/x86_64-unknown-linux-gnu/3.4.3/include -isystem /opt/cross/x86_64-unknown-linux-gnu-root/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /home/gobi/build/glibc-build/stdlib/strtold_l.o -MD -MP -MF /home/gobi/build/glibc-build/stdlib/strtold_l.o.dt -MT /home/gobi/build/glibc-build/stdlib/strtold_l.o Configuration options: ../glibc-2.3.6/configure --prefix=/usr/ '--libdir=${prefix}/lib' --build=i686-pc-linux-gnu --host=x86_64-unknown-linux-gnu --with-headers=/opt/cross/x86_64-unknown-linux-gnu-root/usr/include --without-cvs --disable-profile --disable-debug --without-gd --enable-add-ons=linuxthreads --with-tls --without-__thread --enable-kernel=2.0 --disable-shared -- Summary: internal compiler error: Segmentation fault Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gobikrishna dot dhanuskodi at wipro dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29258