Summary: | GCC Crashes and reports it is unable to build executable files. Config log reports segmentation fault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Florian Beisel <mail> |
Component: | [OLD] GCC Porting | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | burcin, cagil, Ricardo.Cordeiro |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
My config log from mysql i tried to build
My config log from mysql i tried to build |
Description
Florian Beisel
2003-02-24 05:35:51 UTC
Created attachment 8665 [details]
My config log from mysql i tried to build
Created attachment 8666 [details]
My config log from mysql i tried to build
Please update to gcc-3.2.2 and binutils-2.13.90.0.18, and try again ? just updated. no changes. emerge vim (i tried something other then mysql and apache) writes following: --- p15112415 root # emerge vim Calculating dependencies ...done! >>> emerge (1 of 4) sys-libs/libtermcap-compat-1.2.3 to / >>> md5 ;-) termcap-compat_1.2.3.tar.gz >>> Unpacking source... >>> Unpacking termcap-compat_1.2.3.tar.gz patching file tparam.c >>> Source unpacked. if [ ! -d pic ]; then mkdir pic; fi gcc -march=pentium3 -O3 -pipe -I. -M termcap.c tparam.c version.c | \ sed -e 's,^[ ]*\(.*\.o\)[ ]*:,\1 pic/\1:,' > .depend gcc -march=pentium3 -O3 -pipe -I. -c termcap.c gcc: Internal error: Segmentation fault (program as) Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make: *** [termcap.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: sys-libs/libtermcap-compat-1.2.3 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! (no error message) p15112415 root # cc1: Broken pipe: error writing to - --- Dunno .. maybe run memtest86 for a few hours and enable all tests and addresses? I see a similar problem on my 1.0 system using gcc-2.95.3. I did an emerge -u world this morning, and here's the log output: 1046286881: Started emerge on: Feb 26, 2003 21:14:41 1046286881: *** emerge --update world 1046286885: >>> emerge (1 of 8) sys-devel/binutils-2.13.90.0.18 to / 1046287357: >>> AUTOCLEAN: sys-devel/binutils 1046287364: >>> unmerge success: sys-devel/binutils-2.13.90.0.18 1046287367: ::: completed emerge (1 of 8) sys-devel/binutils-2.13.90.0.18 to / 1046287367: >>> emerge (2 of 8) net-misc/rsync-2.5.6-r1 to / rsync did not emerge properly, saying the compiler couldn't generate executables. I didn't have time to deal with that at the time, so just forgot about it. Until just now when I saw the same message.. checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... configure: error: C compiler cannot create executables /usr/sbin/ebuild.sh: die: command not found !!! ERROR: net-www/dillo-0.6.6-r3 failed. !!! Function src_compile, Line -176, Exitcode 127 !!! (no error message) The config log contains: configure:1569: gcc -I/usr/local/include -L/usr/local/lib conftest.c >&5 gcc: installation problem, cannot exec `as': No such file or directory configure:1572: $? = 1 There is no /usr/bin/as on my system, it must have gotten lost when emerge unmerged the binutils-2.13.90.0.18 it just merged. I can't re-emerge anything at the moment, since I can't compile anything. I'll try compiling binutils on another machine, and copying the necessary files over. Any hints on recovery would also be appreciated.. Component should be changed to Portage, since this is obviously not a GCC 3 problem. The culprit is portage, removing the package it just installed.. Brucin, use emerge -B I was able to get my system back by emerging binutils from a tbz2 package. I also used carpaski's fix-db script on the database. Trying to update binutils after that point did not cause any problems, so I guess it was just a database corruption. To the original poster: How did you update binutils and gcc? from packages? Did you do anything to binutils before the problem occured? Can you compile anything with gcc? Resolving as CANTFIX as no further information is provided on whether the original issue was ever resolved. If the issue re-appears in newer versions of gcc, feel free to re-open this bug. |