Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -e system -> compiler problems?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
brumm
n00b
n00b


Joined: 15 Aug 2005
Posts: 11
Location: 812Net

PostPosted: Mon Aug 15, 2005 7:56 pm    Post subject: emerge -e system -> compiler problems? Reply with quote

OK. I've attempted a number of things on this box and am still coming up short due to one error specifically. First things first. Box stats:

CPU: AuthenticAMD (AMD Athlon)
MEM: 512MB
HD: 30GB WD

I am running the 2005.1 install (stage 1). I can run the bootstrap just fine. When it is time to emerge the system, the same error (although happening on different packages on each attempt) occurs:

Code:
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR:


Now, this has occured on several packages (sys-devel/files-4.13, gcc-3.3.5-20050130, and dev-python/python-fchksum-1.7.1 ... to name a few). I have tried several things from the following references:

https://forums.gentoo.org/viewtopic-t-318581-highlight-gccconfig+error+locate+i386pclinuxgnugcc.html
https://bugs.gentoo.org/show_bug.cgi?id=92144
http://article.gmane.org/gmane.linux.gentoo.devel/27951

The few fixes tried involved the fix_libtool_files.sh. I have attempted several methods and options of that command to no availd. I've gotten so desperate I've even attemped emerge -e system && emerge -e system. No luck yet. I have found a very useful flag in emerge which allows resume.
Code:
emerge -e --resume system
so any ideas which may fix the problem can at least start with 29 packages already done (60 remaining).

What I really don't get about the whole thing is why the compiler is looking for the i386 compiler. Any ideas would help a ton. Just for completness:

Code:

/etc/make.conf

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j20"
FEATURES="ccache distcc"
CCACHE_SIZE="2G"
USE="a52 aac acpi artworkextra bigger-fonts dbus ffmpeg hal howl mmx network nfsv4 nptl nptlonly nvidia php rrdtool serial symlink sysfs vim vim-pager vim-with-x xml xosd xpm xvid  -apm -arts -ipv6 -kde -vorbis"


Code:
livecd bin # gcc-config -l
[1] i686-pc-linux-gnu-3.3.5-20050130 *
[2] i686-pc-linux-gnu-3.3.5-20050130-hardened
[3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-20050130-hardenednopiessp
[5] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp


I have tried this using distcc and without it. No dice.

Thanks in advance.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5671
Location: Removed by Neddy

PostPosted: Mon Aug 15, 2005 8:06 pm    Post subject: Reply with quote

have a look into

fix_libtool_files.sh
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
brumm
n00b
n00b


Joined: 15 Aug 2005
Posts: 11
Location: 812Net

PostPosted: Mon Aug 15, 2005 8:16 pm    Post subject: Reply with quote

I've tried that. Doesn't seem to do much for me. The referenced sites is what I've tried in terms of fix_libtool_files.sh.

I've also read the Sticky on the gcc upgrade and tried some of those tricks. Sadly... no dice again.
Back to top
View user's profile Send private message
_puck_
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2002
Posts: 111
Location: Kaiserslautern / Germany

PostPosted: Mon Aug 15, 2005 8:32 pm    Post subject: Reply with quote

Same problem here, doing a fresh 2005.1 install. Appeared after emerge -e system with dev-python/python-fchksum-1.7.1

Any clues greatly appreciated.
_________________
regards
puck
___________________________
#There is more than one way to do it.
Back to top
View user's profile Send private message
Kulik
Apprentice
Apprentice


Joined: 01 Aug 2004
Posts: 207
Location: Czech republic

PostPosted: Mon Aug 15, 2005 8:39 pm    Post subject: Reply with quote

Is there i386-pc-linux-gnu-gcc somewhere in your system?

try to
Code:

updatedb
locate i386-pc-linux-gnu-gcc


It may not be in your path or it may even not exist on your system.

Can u post gcc-config -l and post results?
_________________
Registered Linux user number 369644

Tenuity3D developer - http://www.tenuity3d.com
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Mon Aug 15, 2005 8:41 pm    Post subject: Reply with quote

Bug 88777
Back to top
View user's profile Send private message
Kulik
Apprentice
Apprentice


Joined: 01 Aug 2004
Posts: 207
Location: Czech republic

PostPosted: Mon Aug 15, 2005 8:43 pm    Post subject: Reply with quote

Ah, I see my comment was totaly dumb. Didn't read that "gcc-config failed" ... sry for off-topic.
_________________
Registered Linux user number 369644

Tenuity3D developer - http://www.tenuity3d.com
Back to top
View user's profile Send private message
brumm
n00b
n00b


Joined: 15 Aug 2005
Posts: 11
Location: 812Net

PostPosted: Mon Aug 15, 2005 8:53 pm    Post subject: Reply with quote

well, it's nice to know it's a bug and I'm not totally insane. I hope this can be resolved so I can get yet another Gentoo box up and going. I, however, do not really understand the 'workaround' discussed in the bug report. I don't see how I can change something in the make file when I am emerging system.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5671
Location: Removed by Neddy

PostPosted: Mon Aug 15, 2005 8:57 pm    Post subject: Reply with quote

The bug isn't really relevant to this, it is to do with another problem specific to PYTHON-FSCK
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
_puck_
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2002
Posts: 111
Location: Kaiserslautern / Germany

PostPosted: Mon Aug 15, 2005 9:00 pm    Post subject: Reply with quote

good to know the bug has already been reported. the workrround (comment 14) seems to be rather complicated. is there any chance that will be in portage soon? I mean nobody is able to install a fresh new gentoo at this time.
_________________
regards
puck
___________________________
#There is more than one way to do it.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Aug 15, 2005 9:41 pm    Post subject: Reply with quote

Please see [Solved] Emerge Fails on python-fchksum

Moved from Portage & Programming to Duplicate Threads.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum