Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrading gcc problems.
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
opensas
Guru
Guru


Joined: 24 Nov 2004
Posts: 408
Location: Buenos Aires - Argentina

PostPosted: Sun Jun 05, 2005 10:15 pm    Post subject: Reply with quote

Worked OK around here

Just had to

Code:
fix_libtool_files.sh 3.4.3-20050110


Thanks a lot for the tip

Saludos

Sas

PS: Just a couple of questions

Is this a bug? When gcc 3.4.4 gets finnaly unmasked, will we have to do this trick?

Why can't portage just emerge the new gcc version, while finishing the whole thing with the previous one?

Or may be even better

Why can't portage detect you are emerging gcc and let you choose to do the whole compile with the old or the new gcc?

I think the best would be that portage would emerge gcc stuff prior to anything else, then set the recently emerged gcc version as the current (gcc-config) and finally finish emerging the rest of the stuff. Does anybody know if this is the portage normal behaviour?

Well, thanks again for this lifesaver, and I hope you don't mind all this questions :wink:
Back to top
View user's profile Send private message
rel
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2002
Posts: 137

PostPosted: Mon Jun 06, 2005 12:10 am    Post subject: Reply with quote

just wanna thank kloeri for his help on this

-aap
Back to top
View user's profile Send private message
MikeTheGreat
n00b
n00b


Joined: 03 Apr 2005
Posts: 56
Location: London, UK

PostPosted: Tue Jun 07, 2005 1:53 pm    Post subject: Reply with quote

Yet another gratefull newbie here. Thanks for the information. You saved my installation.
Back to top
View user's profile Send private message
Sprotte
Apprentice
Apprentice


Joined: 18 Oct 2004
Posts: 217
Location: Kiel, Germany

PostPosted: Fri Jun 10, 2005 9:13 pm    Post subject: Reply with quote

uh. ok.

I´m gonna try this, looks as if it will work.

But I´ve gotta say, stuff like this just shouldn´t happen. I´m doing emerge -Du system on my home router and last night I just figured out why Perl wouldn´t emerge (it wanted gdbm in the use flags).

This night I´m fixing gcc. Manually. What´s next? This update should be done by now.

I have really conservative cflags etc... It´s just getting frustrating, instead of typing "emerge -Du system" and then taking a nap or watching Star Trek, I´m surfing the net on one console while emerge runs in another... I don´t trust it anymore.

Just to explain why I´m so pissed... It´s not the first time. Granted, you find most problems solved on this forum. But that shouldn´t become the standard. The standard should be that I type "emerge -Du system" and it just works.

I´m contemplating switching to x86 from ~x86 on all my boxes.. perhaps then I won´t see those problems anymore... but somehow I doubt that. I will just see the problems later.

Another thing I´m contemplating is just grabbing those old Suse 8.0 CD´s, installing them and then just online-updating them. My Cflags are already down to -O2 -fomit-frame-pointer, so I guess Suse won´t run that much slower. I could just install the same stuff I have now and ignore the rest.

The only thing keeping me from doing that is my network setup, and my (by now) fine-tuned configuration. Also, running a headless home router on Suse seems overkill...

but c´mon, I should be able to install friggin´ gcc !!!

/vent mode off

I´ve come to the conclusion that all software sucks, especially operating systems.
Gentoo just sucks less...

EDIT 1 : yes, it works.
EDIT 2 : will probably go to x86. Still, a package with this kind of problem shouldn´t even be in unstable.

EDIT 3: Aaaaaaaaaaargh. I´ve gotten an answer to "what´s next" ... glibc is next. Why, it´s only glibc... and I shouldn´t run ~x86 anyway... and this is Gentoo, so I shouldn´t whine and just fix it...*sigh*

At this point, I´m ready to download and burn a FreeBSD CD ... in fact, I am doing that. *sad* I have a free partition... hmmm....

As others said earlier, Gentoo is a PITA when it comes to maintenance.

After a year of gentoo I´m also starting to doubt that all the compiling from source is really necessary. Suse, Knoppix etc are not that much slower... and even on Suse, I can install gcc (very easily, I might add) and compile critical packages like vlc or mplayer myself. Nothing keeps one from doing that... in fact, I am doing more and more compiling by hand even on Gentoo (vlc (performance), joequake (no ebuild), fuhquake (performance), nethack (developing), CVS stuff...).

I can live with the thought that some of my system will have been compiled for 386, or without -funroll-loops, or that my disk usage is 10% higher because of some unneeded dependencies and no USE flags. In return, I get more spare time and more sleep. Good deal if you ask me.

Somebody please say "Goodbye you loser" now. That would generate just the final bit of impulse necessary to do rm -rf /.
Back to top
View user's profile Send private message
bitwise
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2005
Posts: 104
Location: seattle

PostPosted: Sat Jun 11, 2005 3:22 pm    Post subject: Reply with quote

Thank you, this saved my system. I knew the problem was of this sort, but this saved me a load of time.

It really is these forums that makes gentoo so great :)
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Sat Jun 11, 2005 8:54 pm    Post subject: Reply with quote

Some notes:

1/ This is a generic problem with previous GCC version path being hardcoded into some files linked with libstdc++ . So no - it has nothing to do with stable or unstable, occurs on both after upgrade.

2/ Generic way to fix the problem:

Code:

fix_libtool_files.sh <version_that_ebuild_complains_about>


More info on this can be found in bugzilla. A better way to handle this is being worked on in Bug 71265

HTH.
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sun Jun 12, 2005 2:16 pm    Post subject: Reply with quote

Hi, all...

A lot of forum discussion involves gcc issues, related to updating problems. I'm relatively new to linux and my gentoo 2.6 box shows the following gcc version:
Code:
# gcc-config -l
[1] i686-pc-linux-gnu-3.3.5-20050130 *
[2] i686-pc-linux-gnu-3.3.5-20050130-hardened
[3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp


Would someone please tell me if there is reason to upgrade to a later version? If so, to what version would be recommended?

Thanks...
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Sun Jun 12, 2005 8:10 pm    Post subject: Reply with quote

cgmd wrote:

Would someone please tell me if there is reason to upgrade to a later version? If so, to what version would be recommended?

Thanks...


Well, gcc-3.3.6 is now here - with quite a few bugfixes... Personally, I really like 3.4.4. It´s up to you. :)
Back to top
View user's profile Send private message
balkira
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2004
Posts: 116
Location: /local/pub

PostPosted: Sun Jun 12, 2005 9:40 pm    Post subject: Reply with quote

thanks alot man !!

It simply resolved my problem!

bless
_________________
no way to happiness, happiness is the way
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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