Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Should I upgrade to GCC 4.1.1?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

Should I upgrade to GCC 4.1.1?
Yes
69%
 69%  [ 32 ]
No
30%
 30%  [ 14 ]
Total Votes : 46

Author Message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Fri Aug 18, 2006 10:08 pm    Post subject: Should I upgrade to GCC 4.1.1? Reply with quote

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
View user's profile Send private message
expat_iain
Guru
Guru


Joined: 09 Jan 2004
Posts: 361
Location: Malta GC

PostPosted: Fri Aug 18, 2006 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Fri Aug 18, 2006 11:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Fri Aug 18, 2006 11:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Sat Aug 19, 2006 12:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Akkara
Bodhisattva
Bodhisattva


Joined: 28 Mar 2006
Posts: 6702
Location: &akkara

PostPosted: Sat Aug 19, 2006 12:46 am    Post subject: Reply with quote

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
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Sat Aug 19, 2006 12:55 am    Post subject: Reply with quote

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
View user's profile Send private message
0x001A4
Apprentice
Apprentice


Joined: 08 Jan 2006
Posts: 263
Location: Mississauga, Ontario

PostPosted: Sat Aug 19, 2006 2:44 am    Post subject: Reply with quote

Gergan Penkov wrote:
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 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
View user's profile Send private message
bladus
Apprentice
Apprentice


Joined: 27 Jul 2005
Posts: 233

PostPosted: Sat Aug 19, 2006 8:50 am    Post subject: Reply with quote

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
View user's profile Send private message
tabanus
l33t
l33t


Joined: 11 Jun 2004
Posts: 638
Location: UK

PostPosted: Sat Aug 19, 2006 9:01 am    Post subject: Reply with quote

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 :wink:
_________________
Things you might say if you never took Physics: "I'm overweight even though I don't overeat." - Neil deGrasse Tyson
Back to top
View user's profile Send private message
OtonVM
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2005
Posts: 103
Location: Slovenia

PostPosted: Sat Aug 19, 2006 11:12 am    Post subject: Reply with quote

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
View user's profile Send private message
masterdriverz
Retired Dev
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

PostPosted: Sat Aug 19, 2006 11:39 am    Post subject: Reply with quote

tabanus wrote:
Why would you emerge -e world several times? That's bordering on OCD :wink:


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
View user's profile Send private message
tabanus
l33t
l33t


Joined: 11 Jun 2004
Posts: 638
Location: UK

PostPosted: Sun Aug 20, 2006 10:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Mon Aug 21, 2006 5:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Mon Aug 21, 2006 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dralnu
Veteran
Veteran


Joined: 24 May 2006
Posts: 1919

PostPosted: Mon Aug 21, 2006 7:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
tsunam
Retired Dev
Retired Dev


Joined: 23 Feb 2004
Posts: 343

PostPosted: Mon Aug 21, 2006 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
bdm
Guru
Guru


Joined: 20 Jan 2006
Posts: 305
Location: Canada, Barrie, Ontario

PostPosted: Mon Aug 21, 2006 7:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
playfool
l33t
l33t


Joined: 01 Jun 2004
Posts: 688
Location: Århus, Denmark

PostPosted: Mon Aug 21, 2006 8:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dralnu
Veteran
Veteran


Joined: 24 May 2006
Posts: 1919

PostPosted: Mon Aug 21, 2006 8:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dralnu
Veteran
Veteran


Joined: 24 May 2006
Posts: 1919

PostPosted: Mon Aug 21, 2006 8:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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