| View previous topic :: View next topic |
| Author |
Message |
xodeus n00b


Joined: 07 Aug 2005 Posts: 29 Location: Fredericia, Denmark
|
Posted: Sun Jun 11, 2006 2:28 pm Post subject: emerge -e world fails on gcc |
|
|
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 |
|
 |
batistuta Veteran


Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Sun Jun 11, 2006 2:44 pm Post subject: |
|
|
| 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 |
|
 |
xodeus n00b


Joined: 07 Aug 2005 Posts: 29 Location: Fredericia, Denmark
|
Posted: Sun Jun 11, 2006 2:50 pm Post subject: |
|
|
| 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 |
|
 |
xodeus n00b


Joined: 07 Aug 2005 Posts: 29 Location: Fredericia, Denmark
|
Posted: Sun Jun 11, 2006 3:24 pm Post subject: |
|
|
| 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 |
|
 |
rasmus n00b

Joined: 14 Jul 2002 Posts: 74
|
Posted: Tue Jun 13, 2006 10:39 am Post subject: |
|
|
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 |
|
 |
|
|
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
|
|