Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -e world fails on gcc
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
xodeus
n00b
n00b


Joined: 07 Aug 2005
Posts: 29
Location: Fredericia, Denmark

PostPosted: Sun Jun 11, 2006 2:28 pm    Post subject: emerge -e world fails on gcc Reply with quote

Hi. I have just installed gentoo from the live installer CD with an stage3, grp, dynamic. It worked well.
Now i have changed my gcc to 4.1.1 and built a new toolchain with emerge -e system.
Now i am going through the emerge -e world but my progress stops at the old version of gcc:
sys-devel/gcc-3.4.6-r1
Here are the last lines of the compile output:
Code:
 * Applying gcc-3.4.5-ssp.patch ...                                       [ ok ]
!!! ERROR: sys-devel/gcc-3.4.6-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_unpack
  ebuild.sh, line 711:   Called src_unpack
  gcc-3.4.6-r1.ebuild, line 81:   Called gcc_src_unpack
  toolchain.eclass, line 973:   Called do_gcc_SSP_patches
  toolchain.eclass, line 1915:   Called update_gcc_for_libc_ssp
  toolchain.eclass, line 1926:   Called libc_has_ssp
  toolchain.eclass, line 493:   Called die

!!! Unable to find a libc !?
!!! If you need support, post the topmost build error, and the call stack if relevant.

Can I just skip this package as I do not need it anymore?
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Sun Jun 11, 2006 2:44 pm    Post subject: Reply with quote

for what I recall, it is not enough to do an emerge -e system to build your toolchain. Check the Gentoo official upgrade guide. This is for upgrading to gcc 3.4, but the idea is similar. Also check the Gentoo wiki
Back to top
View user's profile Send private message
xodeus
n00b
n00b


Joined: 07 Aug 2005
Posts: 29
Location: Fredericia, Denmark

PostPosted: Sun Jun 11, 2006 2:50 pm    Post subject: Reply with quote

batistuta wrote:
for what I recall, it is not enough to do an emerge -e system to build your toolchain. Check the Gentoo official upgrade guide. This is for upgrading to gcc 3.4, but the idea is similar. Also check the Gentoo wiki


As I read the stuff on that page I recall something saying that emerge -e system / world is much slower but safer.
Quote:
Using emerge -e

This method, while much slower, will rebuild your whole system to ensure that everything has been rebuilt with your new compiler, and therefore safer. At first, you will upgrade GCC and libtool and switch to your new compiler.


But maybe I forgot the stuff abut libtool.
So I will try again.

But pleas answer the question anyway; If I have gcc 4.1.1 installed is it safe to skip older versions?
Back to top
View user's profile Send private message
xodeus
n00b
n00b


Joined: 07 Aug 2005
Posts: 29
Location: Fredericia, Denmark

PostPosted: Sun Jun 11, 2006 3:24 pm    Post subject: Reply with quote

I am now continuing with emerge --skipfirst --resume and hope that it will work. If not I have to start over again.
Back to top
View user's profile Send private message
rasmus
n00b
n00b


Joined: 14 Jul 2002
Posts: 74

PostPosted: Tue Jun 13, 2006 10:39 am    Post subject: Reply with quote

I don't think this is a gcc 4.1 problem, because I get the same error when upgrading from 3.4.5 to 3.4.6 and I have no gcc 4.x on my system.

[Edit]
I think the problem is a borked distfile, here it was anyway. Delete all gcc stuff (or empty the dir completely) from /usr/portage distfiles and try again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT - 5 Hours
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