[lfs-support] Newbie need help - bus error in 5.5. GCC-4.8.1 - Pass 1

Viola Zoltán violazoli at gmail.com
Tue Oct 22 14:31:19 PDT 2013


Hi, excuse me for the bad English... I try LFS from Sabayon host system,
with this GCC version:

lfs at Csiszilla /Mount/Simplicity/sources/gcc-build $ gcc --version
gcc (Gentoo Hardened 4.7.2-r1 p1.5, pie-0.5.5) 4.7.2

The "binutils" succeeded. The GCC not. It wrote me this error message:

 -I../../gcc-4.8.1/gcc/../libcpp/include
-I/Mount/Simplicity/sources/gcc-build/./gmp
-I/Mount/Simplicity/sources/gcc-4.8.1/gmp
-I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src
-I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src
-I../../gcc-4.8.1/gcc/../libdecnumber
-I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc-4.8.1/gcc/../libbacktrace   \
    ../../gcc-4.8.1/gcc/config/i386/i386-c.c
build/genhooks "C Target Hook" \
                     > tmp-c-target-hooks-def.h
/bin/sh ../../gcc-4.8.1/gcc/../move-if-change tmp-c-target-hooks-def.h \
                     c-family/c-target-hooks-def.h
echo timestamp > s-c-target-hooks-def-h
g++ -c  -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -O2 -DIN_GCC
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-fno-common  -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.8.1/gcc
-I../../gcc-4.8.1/gcc/. -I../../gcc-4.8.1/gcc/../include
-I../../gcc-4.8.1/gcc/../libcpp/include
-I/Mount/Simplicity/sources/gcc-build/./gmp
-I/Mount/Simplicity/sources/gcc-4.8.1/gmp
-I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src
-I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src
-I../../gcc-4.8.1/gcc/../libdecnumber
-I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc-4.8.1/gcc/../libbacktrace    \
  ../../gcc-4.8.1/gcc/config/glibc-c.c -o glibc-c.o
g++ -c   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc
-I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include
-I../../gcc-4.8.1/gcc/../libcpp/include
-I/Mount/Simplicity/sources/gcc-build/./gmp
-I/Mount/Simplicity/sources/gcc-4.8.1/gmp
-I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src
-I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src
-I../../gcc-4.8.1/gcc/../libdecnumber
-I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc-4.8.1/gcc/../libbacktrace    \
    -o build/genchecksum.o ../../gcc-4.8.1/gcc/genchecksum.c
g++   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE -static-libstdc++ -static-libgcc  -o build/genchecksum \
    build/genchecksum.o ../build-i686-pc-linux-gnu/libiberty/libiberty.a
echo "g++   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-static-libstdc++ -static-libgcc " > checksum-options.tmp \
&& ../../gcc-4.8.1/gcc/../move-if-change checksum-options.tmp
checksum-options
g++ -c   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc
-I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include
-I../../gcc-4.8.1/gcc/../libcpp/include
-I/Mount/Simplicity/sources/gcc-build/./gmp
-I/Mount/Simplicity/sources/gcc-4.8.1/gmp
-I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src
-I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src
-I../../gcc-4.8.1/gcc/../libdecnumber
-I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc-4.8.1/gcc/../libbacktrace    \
    -o build/genattrtab.o ../../gcc-4.8.1/gcc/genattrtab.c
g++   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE -static-libstdc++ -static-libgcc  -o build/genattrtab \
    build/genattrtab.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o
build/read-md.o build/errors.o
../build-i686-pc-linux-gnu/libiberty/libiberty.a
build/genattrtab ../../gcc-4.8.1/gcc/config/i386/i386.md insn-conditions.md\
    -Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c
/bin/sh ../../gcc-4.8.1/gcc/../move-if-change tmp-attrtab.c
insn-attrtab.c
/bin/sh ../../gcc-4.8.1/gcc/../move-if-change tmp-dfatab.c     insn-dfatab.c
/bin/sh ../../gcc-4.8.1/gcc/../move-if-change tmp-latencytab.c
insn-latencytab.c
echo timestamp > s-attrtab
g++ -c   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-I. -I. -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/.
-I../../gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include
-I/Mount/Simplicity/sources/gcc-build/./gmp
-I/Mount/Simplicity/sources/gcc-4.8.1/gmp
-I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src
-I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src
-I../../gcc-4.8.1/gcc/../libdecnumber
-I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc-4.8.1/gcc/../libbacktrace    insn-attrtab.c -o insn-attrtab.o
g++ -c   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc
-I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include
-I../../gcc-4.8.1/gcc/../libcpp/include
-I/Mount/Simplicity/sources/gcc-build/./gmp
-I/Mount/Simplicity/sources/gcc-4.8.1/gmp
-I/Mount/Simplicity/sources/gcc-build/../gcc-4.8.1/mpfr/src
-I/Mount/Simplicity/sources/gcc-4.8.1/mpc/src
-I../../gcc-4.8.1/gcc/../libdecnumber
-I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc-4.8.1/gcc/../libbacktrace    \
    -o build/genautomata.o ../../gcc-4.8.1/gcc/genautomata.c
g++   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE -static-libstdc++ -static-libgcc  -o build/genautomata \
    build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o
build/read-md.o build/errors.o
../build-i686-pc-linux-gnu/libiberty/libiberty.a -lm
build/genautomata ../../gcc-4.8.1/gcc/config/i386/i386.md \
  insn-conditions.md > tmp-automata.c
/bin/sh: line 1: 24043 Bus error               build/genautomata
../../gcc-4.8.1/gcc/config/i386/i386.md insn-conditions.md > tmp-automata.c
make[3]: *** [s-automata] Error 135
make[3]: Leaving directory `/Mount/Simplicity/sources/gcc-build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/Mount/Simplicity/sources/gcc-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/Mount/Simplicity/sources/gcc-build'
make: *** [all] Error 2

My significant variables:

lfs at Csiszilla /Mount/Simplicity/sources/gcc-build $ echo $LFS
/Mount/Simplicity
lfs at Csiszilla /Mount/Simplicity/sources/gcc-build $ echo $LFS_TGT
i686-pc-linux-gnu

lfs at Csiszilla /Mount/Simplicity/sources/binutils-2.23.2 $ ./config.guess
i686-pc-linux-gnu

I use a Lenovo ThinkPad T61 laptop, with 3 GBytes RAM. The chipset:

Csiszilla vz # lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory
Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960
Integrated Graphics Controller (primary) (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated
Graphics Controller (secondary) (rev 0c)
00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network
Connection (rev 03)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port
1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port
2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port
3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port
4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port
5 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M-E) LPC Interface
Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA
Controller [IDE mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev
03)
03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN
[Kedron] Network Connection (rev 61)
15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev
04)

The $HOME/.bashrc of my "lfs" user:

lfs at Csiszilla ~ $ cat .bashrc
set +h
umask 022
LFS=/Mount/Simplicity
LC_ALL=POSIX
LFS_TGT=$(uname -m)-pc-linux-gnu
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL LFS_TGT PATH
alias mc='. /usr/libexec/mc/mc-wrapper.sh'

Can anyone help me?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20131022/c093d8a0/attachment.html>


More information about the lfs-support mailing list