Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 85517

Summary: gcc compiler doesn't work
Product: Gentoo Linux Reporter: Kory Stiffler <kstiffle>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED NEEDINFO    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kory Stiffler 2005-03-16 08:53:12 UTC
When I try to run update world packages, I get errors about my compiler not working
it says there's an installation or configuration problem

Reproducible: Always
Steps to Reproduce:
1. type 'emerge --update --deep --newuse world'
2. removed 4 packages that blocked me from doing this (can't remember which ones)
3.typed 'emerge --update --deep --newuse world' again

Actual Results:  
>>> Source unpacked. 
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --libdir=/lib --sysconfdir=/etc/gpm 
creating cache ./config.cache 
checking for gcc... gcc 
checking whether the C compiler (gcc -O2 -march=pentium4 
-fomit-frame-pointer )works... no 
configure: error: installation or configuration problem: C compiler cannot 
create executables. 
 
!!! ERROR: sys-libs/gpm-1.20.1-r4 failed. 
!!! Function econf, Line 449, Exitcode 1 
!!! econf failed 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 
 

Expected Results:  
updated the world packages successfully 

There's actually a fairly long story that goes with this. 
I did 'emerge --sync' and that worked fine, but it told me to update portage 
so I did 'emerge --update portage' 
and that failed with this message: 
 
------------error message from 'emerge --update portage'---------------------- 
First let's make sure your kit is complete.  Checking... 
Locating common programs... 
Checking compatibility between /bin/echo and builtin echo (if any)... 
Symbolic links are supported. 
Checking how to test for symbolic links... 
You can test for symbolic links with 'test -h'. 
Good, your tr supports [:lower:] and [:upper:] to convert case. 
Using [:upper:] and [:lower:] to convert case. 
gcc-config error: Could not run/locate "gcc" 
You need to find a working C compiler. 
Either (purchase and) install the C compiler supplied by your OS vendor, 
or for a free C compiler try http://gcc.gnu.org/ 
I cannot continue any further, aborting. 
 
!!! ERROR: dev-lang/perl-5.8.5-r5 failed. 
!!! Function src_configure, Line 234, Exitcode 1 
!!! Unable to configure 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 
---------------------end of error message----------------------------------- 
 
so I just moved on and tried to update world, but had to remove the blocking 
packages as reported above.
Comment 1 SpanKY gentoo-dev 2005-03-16 15:27:56 UTC
post the config.log file from one of the build directories ... the gpm one would work nicely