View previous topic :: View next topic |
Author |
Message |
richmastaplus Tux's lil' helper
Joined: 29 Nov 2005 Posts: 127 Location: Canada
|
Posted: Sun Mar 26, 2006 2:51 am Post subject: I broke my gentoo with gcc 4.1 |
|
|
I finished emerging gcc 4.1 on my old computer and I started a emerge -e system && emerge -e world
It died on bash and pretty much screwed up everything
Now the computer fails on the mount command and if I chroot into the drive from a boot cd everything segfaults.
Any ideas on how I can bring back enough functionality to fix stuff from a boot cd. Like vi and emerge? |
|
Back to top |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Sun Mar 26, 2006 9:28 am Post subject: |
|
|
In this case you should think about reinstalling the OS from scratch. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sun Mar 26, 2006 11:37 am Post subject: |
|
|
Looks like a hardware crach to me. Reboot and run emerge --resume.
Edit: You may want to downclock it a bit to avoid this happening again.
Last edited by Jaglover on Sun Mar 26, 2006 11:39 am; edited 1 time in total |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Mar 26, 2006 11:38 am Post subject: |
|
|
Moved from Installing Gentoo to Unsupported Software. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
richmastaplus Tux's lil' helper
Joined: 29 Nov 2005 Posts: 127 Location: Canada
|
Posted: Mon Mar 27, 2006 12:58 am Post subject: |
|
|
It's not a hardware problem. Definatly software.
I think I forgot to rebuild the tool chain before doing emerge -e system.
I need a way to copy a working emerge binary and use it to fix my system.
I don't want to completely reinstall because I have cvs repositories and other code on the machine. |
|
Back to top |
|
|
-=GGW=- $ol!d $n4>|e Veteran
Joined: 12 Apr 2004 Posts: 1616 Location: USA
|
Posted: Mon Mar 27, 2006 1:10 am Post subject: |
|
|
Really i would suggest booting a livecd, burning what you absolutely need and the config files for big things like xorg then rebooting and taking it as a lession to keep backups of your system if your gonna use unstable or testing things. |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Mon Mar 27, 2006 4:01 am Post subject: Re: I broke my gentoo with gcc 4.1 |
|
|
richmastaplus wrote: | I finished emerging gcc 4.1 on my old computer and I started a emerge -e system && emerge -e world
It died on bash and pretty much screwed up everything
Now the computer fails on the mount command and if I chroot into the drive from a boot cd everything segfaults.
Any ideas on how I can bring back enough functionality to fix stuff from a boot cd. Like vi and emerge? |
Gentoo packages are just tarball's, right? Just unpack a clean glibc, gcc and such, then try chrooting and fixing the problem. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
richmastaplus Tux's lil' helper
Joined: 29 Nov 2005 Posts: 127 Location: Canada
|
Posted: Mon Mar 27, 2006 7:13 am Post subject: |
|
|
Basically I'm an idiot for upgrading from 3.3 to 3.45 to 4.1 in one session. 4.1 wouldn't compile with 3.3
I'm actually making some progress trying to fix the problem tho. It turns out when using the live cd and chrooting it will execute one command at a time even after it segfaults. So i switched back to gcc 3.3 and trying to undo the damage done. |
|
Back to top |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Mon Mar 27, 2006 7:18 am Post subject: |
|
|
I have tried install gcc 4.0.2 as default compiler and also glibc 2.4, but It was a fresh stage1 install. First I emerged gcc --nodeps, then gcc and at the end gcc. Next thing was making bootstrap. And there wasn't any segfutls at all, exept my efforts to use prelink |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Mon Mar 27, 2006 3:26 pm Post subject: |
|
|
richmastaplus wrote: | Basically I'm an idiot for upgrading from 3.3 to 3.45 to 4.1 in one session. 4.1 wouldn't compile with 3.3
I'm actually making some progress trying to fix the problem tho. It turns out when using the live cd and chrooting it will execute one command at a time even after it segfaults. So i switched back to gcc 3.3 and trying to undo the damage done. |
if you do a gcc-config -l, does it show you gcc-3.4.5? _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
|