So, I compiled GCC 4.9.2... but the resultant build only builds with AMD (the processor I compiled with) and not Intel. I used the instructions from LFS and this is the third or fourth pass, at least second with the matching tool chain.
Using this configure nicked from LFS:
Code: Select all
SED=sed \
../gcc-4.9.2/configure \
--prefix=/usr \
--enable-languages=c,c++ \
--disable-bootstrap \
--with-system-zlib
The error I get when compiling on an Intel processor:
Code: Select all
_=/usr/bin/make: In function 'net_loss':
_=/usr/bin/make:913:3: internal compiler error: Segmentation fault
mv -f .deps/split.Tpo .deps/split.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -Wall -Wno-pointer-sign -MT report.o -MD -MP -MF .deps/report.Tpo -c -o report.o report.c
mv -f .deps/display.Tpo .deps/display.Po
bin/bash: In function 'report_close':
bin/bash:167:3: internal compiler error: Segmentation fault
gcc -DHAVE_CONFIG_H -I. -g -O2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -Wall -Wno-pointer-sign -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c
mv -f .deps/mtr.Tpo .deps/mtr.Po
mv -f .deps/getopt.Tpo .deps/getopt.Po
gcc -DHAVE_CONFIG_H -I. -g -O2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -Wall -Wno-pointer-sign -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c
gcc -DHAVE_CONFIG_H -I. -g -O2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -Wall -Wno-pointer-sign -MT select.o -MD -MP -MF .deps/select.Tpo -c -o select.o select.c
0xb749fdc7 ???
/mnt/sda3/Saluki/Chrome/GCC-GLIBC/glibc-2.20/signal/../sysdeps/unix/sysv/linux/i386/sigaction.c:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
0xb74abdc7 ???
/mnt/sda3/Saluki/Chrome/GCC-GLIBC/glibc-2.20/signal/../sysdeps/unix/sysv/linux/i386/sigaction.c:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Makefile:491: recipe for target 'report.o' failed
make[2]: *** [report.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:491: recipe for target 'net.o' failed
make[2]: *** [net.o] Error 1
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
mv -f .deps/select.Tpo .deps/select.Po
mv -f .deps/dns.Tpo .deps/dns.Po
make[2]: Leaving directory '/root/mtr-master'
Makefile:554: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/mtr-master'
Makefile:368: recipe for target 'all' failed
make: *** [all] Error 2
So what am I missing?