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

Viola Zoltán violazoli at gmail.com
Wed Oct 23 13:16:23 PDT 2013


Sorry, nothing change. I was deleted all GCC source, begin from first the
5.5 chapter (compiling of GCC), with this command (after the configure):

 CFLAGS="-fno-exceptions -fno-rtti" make

but it write me this error message:


/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 -DCROSS_DIRECTORY_STRUCTURE  -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
-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 -DCROSS_DIRECTORY_STRUCTURE  -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
-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 -DCROSS_DIRECTORY_STRUCTURE  -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
-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: 12525 Bus error               build/genautomata
../../gcc-4.8.1/gcc/config/i386/i386.md insn-conditions.md > tmp-automata.c
make[2]: *** [s-automata] Error 135
make[2]: Leaving directory `/Mount/Simplicity/sources/gcc-build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/Mount/Simplicity/sources/gcc-build'
make: *** [all] Error 2



2013/10/23 akhiezer <lfs65 at cruziero.com>

> > Date: Wed, 23 Oct 2013 10:01:40 +0100
> > From: (akhiezer)
> > To: LFS Support List <lfs-support at linuxfromscratch.org>
> > Subject: Re: [lfs-support] Newbie need help - bus error in 5.5.
> GCC-4.8.1 -
> >  Pass 1
> >
> > > Date: Tue, 22 Oct 2013 19:41:24 -0400
> > > From: Viola Zoltán <violazoli at gmail.com>
> > > To: LFS Support List <lfs-support at linuxfromscratch.org>
> > > Subject: Re: [lfs-support] Newbie need help - bus error in 5.5.
> GCC-4.8.1 -
> > >  Pass 1
> > >
> > >
> > >
> > > Excuse me, I am very newbie and very idiotic... I tryed it:
> > >
> > > CFLAGS="-fno-exceptions -fno-rtti"; make
> > >
> > > CFLAGS="--fno-exceptions --fno-rtti"; make
> > >
> > > but nothing changed, the compile not succeeded, same error message...
> > >
> >
> >
> >  - shouldn't that be:
> >
> >   CFLAGS="-fno-exceptions -fno-rtti" make
> >
> >  - i.e. without the semi-colon (';') ; and normally just use the
> single-dash ('-')
> > format for those options (i.e. '-f...' instead of '--f...')  .
> >
> > (Also, fwiw, for a make command-line I'd normally put such variables
> _after_ the
> > 'make': make [ -f makefile ] [ options ] ... [ targets ] ... ).
> >
> >
> > hth
> > akh
> >
> > p.s. also try to avoid top-posting.
> >
>
>
>  - although, as Ken says, he's asking you to retry the make with the
> '-fno-exceptions -fno-rtti' options omitted - iff certain conditions are
> met -
> per details of Ken's 2+ messages (the stuff re '-O2 -g', etc).
>
>
> akh
>
>
>
>
> --
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20131023/8475431d/attachment.html>


More information about the lfs-support mailing list