Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

new version of gcc

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


reader at newsguy

Nov 2, 2009, 4:20 PM

Post #1 of 11 (256 views)
Permalink
new version of gcc

I noticed I've been masking gcc beyond version 4.3.2-r3, and have
forgotten why I had it masked.

I'm updating world right now, and wondered if I were to move up to
most recent gcc (4.4.2), which would be a 5 version jump, what I could
expect in the way of problems.

Would I need to re-emerge just about everything?


volkerarmin at googlemail

Nov 2, 2009, 3:48 PM

Post #2 of 11 (245 views)
Permalink
Re: new version of gcc [In reply to]

On Dienstag 03 November 2009, Harry Putnam wrote:
> I noticed I've been masking gcc beyond version 4.3.2-r3, and have
> forgotten why I had it masked.
>
> I'm updating world right now, and wondered if I were to move up to
> most recent gcc (4.4.2), which would be a 5 version jump, what I could
> expect in the way of problems.
>
> Would I need to re-emerge just about everything?
>


http://lmgtfy.com/?q=gentoo+gcc+upgrade+guide&l=1


rdalek1967 at gmail

Nov 2, 2009, 4:17 PM

Post #3 of 11 (245 views)
Permalink
Re: Re: new version of gcc [In reply to]

Harry Putnam wrote:
> Volker Armin Hemmann <volkerarmin [at] googlemail> writes:
>
> Harry asked:
>
>>> Would I need to re-emerge just about everything?
>>>
>>>
>
> Volker answered:
>
>
>> http://lmgtfy.com/?q=gentoo+gcc+upgrade+guide&l=1
>>
>
> Quoted from http://www.gentoo.org/doc/en/gcc-upgrading.xml
>
> ,----
> | To be completely safe that your system is in a sane state, you must
> | rebuild the toolchain and then world to make use of the new compiler.
> `----
>
> I guess that is a yes.
>
>
>
>

That is a decent size upgrade. I know I would rebuild everything but I
bet there are some that wouldn't. Since you are planning a emerge world
anyway, why not. It makes good sense.

By the way, I'm using that version of gcc and I have not had any
problems so far. I'm x86.

Dale

:-) :-)


reader at newsguy

Nov 2, 2009, 4:20 PM

Post #4 of 11 (243 views)
Permalink
Re: new version of gcc [In reply to]

Volker Armin Hemmann <volkerarmin [at] googlemail> writes:

Harry asked:
>> Would I need to re-emerge just about everything?
>>
>

Volker answered:

> http://lmgtfy.com/?q=gentoo+gcc+upgrade+guide&l=1

Quoted from http://www.gentoo.org/doc/en/gcc-upgrading.xml

,----
| To be completely safe that your system is in a sane state, you must
| rebuild the toolchain and then world to make use of the new compiler.
`----

I guess that is a yes.


w41ter at gmail

Nov 2, 2009, 6:20 PM

Post #5 of 11 (233 views)
Permalink
Re: new version of gcc [In reply to]

On 11/02/2009 03:20 PM, Harry Putnam wrote:
> I noticed I've been masking gcc beyond version 4.3.2-r3, and have
> forgotten why I had it masked.
>
> I'm updating world right now, and wondered if I were to move up to
> most recent gcc (4.4.2), which would be a 5 version jump, what I could
> expect in the way of problems.
>
> Would I need to re-emerge just about everything?

No, just the c++ programs, because they require the correct version of
libstdc++, and that library is part of the gcc package. If the new gcc
package includes a new version of libstdc++ (not always) then existing
c++ apps will break because they can't find the old version of libstdc++.

Note that the old libstdc++ will be reincarnated if you use gcc-config
to switch back to the old version of gcc.

Clear as mud?


graham at gmurray

Nov 2, 2009, 10:45 PM

Post #6 of 11 (234 views)
Permalink
Re: new version of gcc [In reply to]

Harry Putnam <reader [at] newsguy> writes:

> I noticed I've been masking gcc beyond version 4.3.2-r3, and have
> forgotten why I had it masked.
>
> I'm updating world right now, and wondered if I were to move up to
> most recent gcc (4.4.2), which would be a 5 version jump, what I could
> expect in the way of problems.
>
> Would I need to re-emerge just about everything?

No. There is no need to re-emerge when upgrading from gcc-4.3.x to
4.4.x, the ABIs did not change.


wonko at wonkology

Nov 3, 2009, 3:27 AM

Post #7 of 11 (234 views)
Permalink
Re: new version of gcc [In reply to]

Harry Putnam writes:

> I noticed I've been masking gcc beyond version 4.3.2-r3, and have
> forgotten why I had it masked.
>
> I'm updating world right now, and wondered if I were to move up to
> most recent gcc (4.4.2), which would be a 5 version jump, what I could
> expect in the way of problems.
>
> Would I need to re-emerge just about everything?

The upgrade guide says yes, but this seems to be true only when the ABI
changes, which happend for the last time when gcc 4.3 was introduced. I
would not do the emerge -e thing.
Unless this new gcc has some cool features you want to use. Then you would
change your CFLAGS, and either let the changes gradually drop in, or re-
emerge everything to make them happen at once.

What do you people think, are there fancy new and yet save CFLAGS that
would improve our Gentoos? http://gcc.gnu.org/gcc-4.4/changes.html lists
some improvements, to me they don't look too spectacular. Well, maybe
apart from the graphite stuff
(http://gcc.gnu.org/wiki/Graphite/PolyhedralInterface) which has been
mentioned here. I don't know how much of an improvement this may be.

Wonko


neil at digimed

Nov 3, 2009, 12:15 PM

Post #8 of 11 (236 views)
Permalink
Re: Re: new version of gcc [In reply to]

On Tue, 03 Nov 2009 14:03:24 -0600, Harry Putnam wrote:

> Turns out I have bigger problems. ( I didn't upgrade gcc) but the
> things I did upgrad in upgrade system followed by upgrade world. Have
> messed up mouse and keyboard in X.

Did you follow the elog instructions about re-emerging drivers?


--
Neil Bothwick

Things are more like they are now than they ever were before.
Attachments: signature.asc (0.19 KB)


reader at newsguy

Nov 3, 2009, 12:20 PM

Post #9 of 11 (235 views)
Permalink
Re: new version of gcc [In reply to]

Nice... good advice all around. Thanks posters.

Turns out I have bigger problems. ( I didn't upgrade gcc) but the
things I did upgrad in upgrade system followed by upgrade world. Have
messed up mouse and keyboard in X.

But even that, is a lesser problem than my kernel build ends up in a
kernel panic (I did upgrade that)

But I will start a new thread about that.


reader at newsguy

Nov 3, 2009, 2:20 PM

Post #10 of 11 (235 views)
Permalink
Re: new version of gcc [In reply to]

Neil Bothwick <neil [at] digimed> writes:

> On Tue, 03 Nov 2009 14:03:24 -0600, Harry Putnam wrote:
>
>> Turns out I have bigger problems. ( I didn't upgrade gcc) but the
>> things I did upgrad in upgrade system followed by upgrade world. Have
>> messed up mouse and keyboard in X.
>
> Did you follow the elog instructions about re-emerging drivers?

As I started trying to do something with this problem.. I first
re-emerged xorg-server... and then saw the message you refer too.

So getting that done now.


marcusw at cox

Nov 3, 2009, 3:42 PM

Post #11 of 11 (223 views)
Permalink
Re: Re: new version of gcc [In reply to]

On 11/3/2009 3:03 PM, Harry Putnam wrote:
> Nice... good advice all around. Thanks posters.
>
> Turns out I have bigger problems. ( I didn't upgrade gcc) but the
> things I did upgrad in upgrade system followed by upgrade world. Have
> messed up mouse and keyboard in X.
>
Try recompiling the evdev, mouse, and kbd drivers.

Marcus

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.