View previous topic :: View next topic |
Should I upgrade to GCC 4.1.1? |
Yes |
|
69% |
[ 32 ] |
No |
|
30% |
[ 14 ] |
|
Total Votes : 46 |
|
Author |
Message |
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Fri Aug 18, 2006 10:08 pm Post subject: Should I upgrade to GCC 4.1.1? |
|
|
Well, I added ACCEPT_KEYWORDS="~x86" and did emerge -e world. It's emerging GCC 4.1.1. Should I let it keep it or stop it? And, if I let it emerge GCC 4.1.1, do I have to emerge -e world again? It took forever the first time <_< |
|
Back to top |
|
|
expat_iain Guru
Joined: 09 Jan 2004 Posts: 361 Location: Malta GC
|
Posted: Fri Aug 18, 2006 10:10 pm Post subject: |
|
|
I'd suggest such an action is asking for trouble. GCC 4.x has issues with some packages and performing that action on a running system will most likely introduce all kinds of problems. |
|
Back to top |
|
|
Archangel1 Veteran
Joined: 21 Apr 2004 Posts: 1212 Location: Work
|
Posted: Fri Aug 18, 2006 11:17 pm Post subject: |
|
|
I've found it to be quite stable, so yes. I don't see any reason to make an exception in package.keywords or something to hold it back. _________________ What are you, stupid? |
|
Back to top |
|
|
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Fri Aug 18, 2006 11:26 pm Post subject: |
|
|
What I meant to ask was if it was worth compiling everything all over again if I do upgrade GCC 4.1.1, considering I just went through emerging everything ~x86 (emerge -e world with GCC 3.something). If I upgraded to GCC 4.1.1, I'd have to emerge -e world. Again. I don't think it's worth it, and I'm just getting a second opinion. I'm still going to install GCC 4.1.1 because it's close to finished installing but I am wondering if, after I use it, if it's worth recompiling world. Again. |
|
Back to top |
|
|
Gergan Penkov Veteran
Joined: 17 Jul 2004 Posts: 1464 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Sat Aug 19, 2006 12:40 am Post subject: |
|
|
posts like this could make you re-think your stance https://forums.gentoo.org/viewtopic-t-489954-highlight-.html
other than that gcc-4.1.1 is quite stable. _________________ "I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack |
|
Back to top |
|
|
Akkara Bodhisattva
Joined: 28 Mar 2006 Posts: 6702 Location: &akkara
|
Posted: Sat Aug 19, 2006 12:46 am Post subject: |
|
|
Yes or No, depending
There was a similar thread about this topic.
I am running a mostly stable amd64 system. I had copied my system to some spare partitions and tried there to see what happens. I had upgraded to gcc 4.1.1 (it also needed 2 other things from testing which I had unmasked).
It mostly seems to work, and work well.
There's a few packages that don't compile. These are the ones I noticed:
media-plugins/swh-plugins-0.4.11
media-sound/jamin-0.9.0-r1
media-sound/rosegarden-4.1.0-r1
media-sound/rezound-0.12.2_beta-r1
app-accessibility/speech-tools-1.2.3-r3
app-accessibility/festival-1.4.3-r4
media-sound/freqtweak-0.6.0-r2
sci-astronomy/celestia-1.3.2
media-sound/smurf-0.52.6
media-gfx/blender-2.41
dev-libs/boehm-gc-6.5
Additionally there's two packages that don't work once recompiled with 4.1.1:
media-gfx/gimp-2.2.12 (dumps core in initialization, cursory investigation with gdb seems to indicate its in a pthread glibc call at the time)
media-sound/grip-3.3.0 (quits without any messages after the 1st track is ripped just as it's about to fire up the flac encoder.)
So, it all depends on, whether you need any of the above (or perhaps some other package that also doesn't compile which I don't use).
If you can try it on a spare partition that would be the best then you can decide which you like more. Although, it sounds like you're already 1/2 way into it.
Oh, I'm using sys-libs/glibc-2.3.6-r4 with gcc 4.1.1. I heard somewhere that glibc-2.4 has its issues but I haven't tried that myself yet.
Good luck! |
|
Back to top |
|
|
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Sat Aug 19, 2006 12:55 am Post subject: |
|
|
Well, I thought the installation was almost done. That was 2 hours ago <_<
Anyway, now I'm pretty sure it's almost done. I may as well just let it finish compiling and recompile world. After all, it's not like I need this thing up and running any time soon. |
|
Back to top |
|
|
0x001A4 Apprentice
Joined: 08 Jan 2006 Posts: 263 Location: Mississauga, Ontario
|
Posted: Sat Aug 19, 2006 2:44 am Post subject: |
|
|
I actually read that post shortly after I upgraded to GCC4.1.1 and thought "oh my god, what have I done?". But after reading the post, the guy didnt follow the guide and just emerged it like normal.
I haven't had any problems with it yet.
akkara wrote: | media-gfx/gimp-2.2.12 (dumps core in initialization, cursory investigation with gdb seems to indicate its in a pthread glibc call at the time) |
Good thing I'm using 2.3 |
|
Back to top |
|
|
bladus Apprentice
Joined: 27 Jul 2005 Posts: 233
|
Posted: Sat Aug 19, 2006 8:50 am Post subject: |
|
|
I've been using GCC 4.1.1 since it entered ~testing, no problems so far - even an emerge -e world went fine several times |
|
Back to top |
|
|
tabanus l33t
Joined: 11 Jun 2004 Posts: 638 Location: UK
|
Posted: Sat Aug 19, 2006 9:01 am Post subject: |
|
|
bladus wrote: | I've been using GCC 4.1.1 since it entered ~testing, no problems so far - even an emerge -e world went fine several times |
Why would you emerge -e world several times? That's bordering on OCD _________________ Things you might say if you never took Physics: "I'm overweight even though I don't overeat." - Neil deGrasse Tyson |
|
Back to top |
|
|
OtonVM Tux's lil' helper
Joined: 30 Dec 2005 Posts: 103 Location: Slovenia
|
Posted: Sat Aug 19, 2006 11:12 am Post subject: |
|
|
I've always been running an ~x86 system on amd64 and gcc4 since it came as an update and all is working with no problems. I don't have any extreme cflags though... I guess those might break something. |
|
Back to top |
|
|
masterdriverz Retired Dev
Joined: 28 Mar 2006 Posts: 391 Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the galaxy
|
Posted: Sat Aug 19, 2006 11:39 am Post subject: |
|
|
tabanus wrote: | Why would you emerge -e world several times? That's bordering on OCD |
emerge -u system to update the toolchain, emerge -e system to build the toolchain with the updated toolchain, emerge -e system to build the toolchain with the toolchain built by the updated toolchain, emerge -e world to rebuild with the new toolchain, emerge -e world to link packages with updated ones build by the new toolchain. It does sound OTT but it is worth it for maximum stability. |
|
Back to top |
|
|
tabanus l33t
Joined: 11 Jun 2004 Posts: 638 Location: UK
|
Posted: Sun Aug 20, 2006 10:54 am Post subject: |
|
|
masterdriverz wrote: | emerge -e system to build the toolchain with the toolchain built by the updated toolchain... |
Got a headache...got to go lye down _________________ Things you might say if you never took Physics: "I'm overweight even though I don't overeat." - Neil deGrasse Tyson |
|
Back to top |
|
|
Halcy0n Developer
Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Mon Aug 21, 2006 5:21 pm Post subject: |
|
|
I've been using gcc-4.1 for quite some time now. Everything should compile that is in ~arch, and if it doesn't, file a bug (first check to make sure there isn't a bug open already). If you want to upgrade, which I think you should do , follow the guide:
http://www.gentoo.org/doc/en/gcc-upgrading.xml _________________ Mark Loeser
http://www.halcy0n.com |
|
Back to top |
|
|
sonicbhoc Veteran
Joined: 24 Oct 2005 Posts: 1805 Location: In front of the computer screen
|
Posted: Mon Aug 21, 2006 6:51 pm Post subject: |
|
|
Well it doesn't matter now, I scrapped that install. I needed something up and running fast for an event (Family Day Festival in Hartford Connecticut) so I slapped PCLinuxOS on it... again... It's a really great distro for noobs so, after loosing my Windows disk, I gave it out in Family Day to 8 lucky people (one of which is my pastor). Next time I'll build my own distro of Linux specifically for Family Day, maybe based either on Gentoo or PCLinuxOS. But, that's for another topic. :p
Well, I know what I messed up (emerge GCC first, then rebuild the toolchain, then rebuild the toolchain again, then continue with the installation, make sure -X is in the useflags until X is actually installed, etc) so I won't make the same mistakes again. |
|
Back to top |
|
|
Dralnu Veteran
Joined: 24 May 2006 Posts: 1919
|
Posted: Mon Aug 21, 2006 7:48 pm Post subject: |
|
|
Cutting to the chase, since I just did this myself:
fluxbox doesn't compile.
About (this is a random amount) 1/4 of ebuilds won't compile, but the very base system seems to work fine, but thats my experiance.
Its a fun thing to do, but if you're afraid of breaking things, then don't. _________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
Back to top |
|
|
tsunam Retired Dev
Joined: 23 Feb 2004 Posts: 343
|
Posted: Mon Aug 21, 2006 7:51 pm Post subject: |
|
|
fluxbox does compile, I can confirm this as I've been running it on at least one of my boxes that uses fluxbox for months now, Its also been used to help patch things that don't compile with gcc-4.1.1. There should be very few packages that don't have a version that compiles with gcc-4.1.1, we're currently working on getting those versions stable to procede with getting gcc 4 stable. As well, most people who I've seen with ruined systems went from glibc-2.4 to 2.3 which is known to break things on the way back pretty badly. Its really a one way process with the glibc upgrade. _________________ I'm not afraid of happy endings, just afraid my life wont work that way. |
|
Back to top |
|
|
bdm Guru
Joined: 20 Jan 2006 Posts: 305 Location: Canada, Barrie, Ontario
|
Posted: Mon Aug 21, 2006 7:54 pm Post subject: |
|
|
After reading this thread, I've decided to upgrade to GCC 4.1 tomorrow while I'm at work. Are there any chances that this could break my system?
Thank you. |
|
Back to top |
|
|
playfool l33t
Joined: 01 Jun 2004 Posts: 688 Location: Ã
rhus, Denmark
|
Posted: Mon Aug 21, 2006 8:00 pm Post subject: |
|
|
bdm wrote: | After reading this thread, I've decided to upgrade to GCC 4.1 tomorrow while I'm at work. Are there any chances that this could break my system?
|
Of course, anything can break your system.. especially changing your toolchain might cause a few issues but none that shouldn't be solvable which is the important bit. |
|
Back to top |
|
|
Dralnu Veteran
Joined: 24 May 2006 Posts: 1919
|
Posted: Mon Aug 21, 2006 8:00 pm Post subject: |
|
|
tsunam wrote: | fluxbox does compile, I can confirm this as I've been running it on at least one of my boxes that uses fluxbox for months now, Its also been used to help patch things that don't compile with gcc-4.1.1. There should be very few packages that don't have a version that compiles with gcc-4.1.1, we're currently working on getting those versions stable to procede with getting gcc 4 stable. As well, most people who I've seen with ruined systems went from glibc-2.4 to 2.3 which is known to break things on the way back pretty badly. Its really a one way process with the glibc upgrade. |
OT:
Are you working on getting things miagrated to the new glibc, or is that an upstream issue?
Also, nice to see that things are (seemingly) going smoothly with the gcc-4.1.x upgrade _________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
Back to top |
|
|
Dralnu Veteran
Joined: 24 May 2006 Posts: 1919
|
Posted: Mon Aug 21, 2006 8:04 pm Post subject: |
|
|
playfool wrote: | bdm wrote: | After reading this thread, I've decided to upgrade to GCC 4.1 tomorrow while I'm at work. Are there any chances that this could break my system?
|
Of course, anything can break your system.. especially changing your toolchain might cause a few issues but none that shouldn't be solvable which is the important bit. |
Keep the old gcc install around when you upgrade incase something breaks.
Follow the upgrade guide, and I suggest going the way of emerge -e system emerge -e world _________________ The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. |
|
Back to top |
|
|
|