Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76405 - emerge gcc -> Segmentation fault (program as) - make[1]: *** [c-pretty-print.o] Error 1
Summary: emerge gcc -> Segmentation fault (program as) - make[1]: *** [c-pretty-print....
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-02 07:10 UTC by Damien LE GUILLOU
Modified: 2005-01-02 10:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damien LE GUILLOU 2005-01-02 07:10:00 UTC
Copy of the error:

gcc -c    -O2 -march=athlon-xp -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/../include  /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/c-pretty-print.c -o c-pretty-print.o
gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [c-pretty-print.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make: *** [all-gcc] Error 2

!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1297, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
emerge gcc
Actual Results:  
The error

Expected Results:  
Not that error

Installing from LiveCD

Athlon XP 1700+ (not overclocked)
512 Mo SD-Ram
Comment 1 Damien LE GUILLOU 2005-01-02 07:33:08 UTC
I have also problems emerging some other paquets as following:

-> emerge =sys-devel/gettext-0.14.1

gcc -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/lib/gettext\" -DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/lib\" -DGETTEXTDATADIR=\"/usr/share/gettext\" -DPROJECTSDIR=\"/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../libuniname -I../lib -I../lib -I../intl -I../../gettext-runtime/intl -O2 -march=athlon-xp -fomit-frame-pointer -c format-pascal.c -o format-pascal.o >/dev/null 2>&1
 gcc -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/lib/gettext\" -DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/lib\" -DGETTEXTDATADIR=\"/usr/share/gettext\" -DPROJECTSDIR=\"/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../libuniname -I../lib -I../lib -I../intl -I../../gettext-runtime/intl -O2 -march=athlon-xp -fomit-frame-pointer -c format-awk.c -o format-awk.o >/dev/null 2>&1
make[4]: *** [format-pascal.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gettext-0.14.1/work/gettext-0.14.1/gettext-tools'
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/gettext-0.14.1 failed.
!!! Function src_compile, Line 47, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

-> emerge =sys-apps/groff-1.19.1-r2

g++ -I. -I. -I/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include -I/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include -DHAVE_CONFIG_H -O2 -march=athlon-xp -fomit-frame-pointer  -c lbp.cpp
In file included from /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include/driver.h:29,
                 from lbp.cpp:30:
/usr/include/math.h:-15898: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [lbp.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/devices/grolbp'
make[1]: *** [src/devices/grolbp] Error 2
make[1]: *** Waiting for unfinished jobs....
g++ -I. -I. -I/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include -I/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include -DHAVE_CONFIG_H -O2 -march=athlon-xp -fomit-frame-pointer  -c html-table.cpp
g++ -I. -I. -I/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include -I/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include -DHAVE_CONFIG_H -O2 -march=athlon-xp -fomit-frame-pointer  -c html-text.cpp
g++ -I. -I. -I/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include -I/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/include -DHAVE_CONFIG_H -O2 -march=athlon-xp -fomit-frame-pointer  -c output.cpp
Making grohtml.n from grohtml.man
g++ -O2 -march=athlon-xp -fomit-frame-pointer  -o post-grohtml post-html.o html-table.o html-text.o output.o /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/libs/libdriver/libdriver.a /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/libs/libgroff/libgroff.a  -lm
make[2]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/devices/grohtml'
make[1]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1'
make: *** [all] Error 2

!!! ERROR: sys-apps/groff-1.19.1-r2 failed.
!!! Function src_compile, Line 86, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

That append also on other paquets with the "Segmentation fault"
Comment 2 Damien LE GUILLOU 2005-01-02 10:29:56 UTC
I think I have several hardware problems on my motherboard.

I memtest my Ram but it's not from it.

I think about processor or other hardware problem so I will try to change processor and restart tests with compiling.

If it don't solve, I will try another motherboard.