[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 14:31:11 PDT 2013


The full printenv output:

TERM=xterm
OLDPWD=/Mount/Simplicity/sources/gcc-build
LC_ALL=POSIX
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
LFS=/Mount/Simplicity
PATH=/tools/bin:/bin:/usr/bin
PWD=/Mount/Simplicity/sources/gcc-build
LFS_TGT=i686-lfs-linux-gnu
PS1=\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\]
SHLVL=1
HOME=/home/lfs
_=/usr/bin/printenv



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

> > From lfs-support-bounces at linuxfromscratch.org Wed Oct 23 21:34:56 2013
> > Date: Wed, 23 Oct 2013 16:16:23 -0400
> > From: Viola Zoltán <violazoli at gmail.com>
> > To: akhiezer <lfs65 at cruziero.com>,
> >         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
> >
> >
> >
> > 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
> > >
>
>
> Sorry to howevermuch-inadvertently partway-hijack a thread, but given
> time-differences &c, here goes:
>
> Can you give the output of 'printenv'  .
>
> Can you go 'round the loop again - i.e. fresh tarball-unpack, etc - and do:
>
>   CFLAGS="-O2 -g" make
>
> (i.e. this time _don't_ do: CFLAGS="-fno-exceptions -fno-rtti" make )
>
> That's _basically_ what, aiui, was one of the suggestions from Ken's
> messages.
>
>
> rgds,
> 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/db74f38e/attachment.html>


More information about the lfs-support mailing list