public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  gcc 3.4.6 vs. 4.1.1
@ 2007-02-14 19:47 Grant Edwards
  2007-02-14 20:12 ` Bo Ørsted Andresen
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Grant Edwards @ 2007-02-14 19:47 UTC (permalink / raw
  To: gentoo-user

All of my gentoo systems have both gcc 3.4 and 4.1 but still
use 3.4 for everything except packages that just won't build
with gcc 3.4.

I'm curious what other people are doing.  Have most people
switched over to 4.1 as their "main" compiler?

-- 
Grant Edwards                   grante             Yow!  I was in EXCRUCIATING
                                  at               PAIN until I started
                               visi.com            reading JACK AND JILL
                                                   Magazine!!

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  gcc 3.4.6 vs. 4.1.1
  2007-02-14 19:47 [gentoo-user] gcc 3.4.6 vs. 4.1.1 Grant Edwards
@ 2007-02-14 20:12 ` Bo Ørsted Andresen
  2007-02-14 20:58   ` [gentoo-user] " Grant Edwards
  2007-02-14 20:13 ` [gentoo-user] " Boyd Stephen Smith Jr.
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 15+ messages in thread
From: Bo Ørsted Andresen @ 2007-02-14 20:12 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 284 bytes --]

On Wednesday 14 February 2007 20:47:45 Grant Edwards wrote:
> I'm curious what other people are doing.  Have most people
> switched over to 4.1 as their "main" compiler?

I did that last May. And not just main but only C compiler (No I don't use 
qemu). ;)

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  gcc 3.4.6 vs. 4.1.1
  2007-02-14 19:47 [gentoo-user] gcc 3.4.6 vs. 4.1.1 Grant Edwards
  2007-02-14 20:12 ` Bo Ørsted Andresen
@ 2007-02-14 20:13 ` Boyd Stephen Smith Jr.
  2007-02-14 20:26   ` Willie Wong
  2007-02-14 20:17 ` Ric de France
  2007-02-15  6:42 ` Andrey Gerasimenko
  3 siblings, 1 reply; 15+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-02-14 20:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

On Wednesday 14 February 2007, Grant Edwards <grante@visi.com> wrote 
about '[gentoo-user]  gcc 3.4.6 vs. 4.1.1':
> All of my gentoo systems have both gcc 3.4 and 4.1 but still
> use 3.4 for everything except packages that just won't build
> with gcc 3.4.
>
> I'm curious what other people are doing.  Have most people
> switched over to 4.1 as their "main" compiler?

I switched completely over to gcc 4.x before it when stable in the tree, it 
started producing better binaries for most applications than gcc 3.4 
faster just a little before 4.1.0 came out.

I believe there's still at least one package that doesn't build with gcc 
4.x (kqemu), so there's some reason to still stay on 3.4 if you are 
cautious.

-- 
Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss03@volumehost.net                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] gcc 3.4.6 vs. 4.1.1
  2007-02-14 19:47 [gentoo-user] gcc 3.4.6 vs. 4.1.1 Grant Edwards
  2007-02-14 20:12 ` Bo Ørsted Andresen
  2007-02-14 20:13 ` [gentoo-user] " Boyd Stephen Smith Jr.
@ 2007-02-14 20:17 ` Ric de France
  2007-02-15  6:42 ` Andrey Gerasimenko
  3 siblings, 0 replies; 15+ messages in thread
From: Ric de France @ 2007-02-14 20:17 UTC (permalink / raw
  To: gentoo-user

Grant,

On 15/02/07, Grant Edwards <grante@visi.com> wrote:
> All of my gentoo systems have both gcc 3.4 and 4.1 but still
> use 3.4 for everything except packages that just won't build
> with gcc 3.4.
>
> I'm curious what other people are doing.  Have most people
> switched over to 4.1 as their "main" compiler?

Switched over late last year. Nothing to report that's out of the
ordinary. All servers (4) and the desktop have been totally recompiled
with 4.1.

HTH,

...Ric
-- 
Ric de France
Ph: +61412945554 (international) or 0412945554 (Australia)
 ==> Do you, uh... Gentoo? Gentoooo-hooo!! <==
==> http://www.gentoo.org/main/en/about.xml <==
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  gcc 3.4.6 vs. 4.1.1
  2007-02-14 20:13 ` [gentoo-user] " Boyd Stephen Smith Jr.
@ 2007-02-14 20:26   ` Willie Wong
  0 siblings, 0 replies; 15+ messages in thread
From: Willie Wong @ 2007-02-14 20:26 UTC (permalink / raw
  To: gentoo-user

On Wed, Feb 14, 2007 at 02:13:44PM -0600, Boyd Stephen Smith Jr. wrote:
> I believe there's still at least one package that doesn't build with gcc 
> 4.x (kqemu), so there's some reason to still stay on 3.4 if you are 
> cautious.
> 
You mean qemu-softmmu. kqemu has almost always been compilable by gcc4, 
and the most recent version of qemu-user seems to allow building by gcc4
(though I am a bit skeptical about the ebuild having gcc-check commented 
out and forcing make to not do its gcc version checks). 

W

-- 
Willie W. Wong                                      wwong@math.princeton.edu
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gentoo-user]  Re: gcc 3.4.6 vs. 4.1.1
  2007-02-14 20:12 ` Bo Ørsted Andresen
@ 2007-02-14 20:58   ` Grant Edwards
  2007-02-14 21:36     ` Jerry McBride
                       ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Grant Edwards @ 2007-02-14 20:58 UTC (permalink / raw
  To: gentoo-user

On 2007-02-14, Bo Ørsted Andresen <bo.andresen@zlin.dk> wrote:
> --nextPart1799414.yjjTeni5oG
> Content-Type: text/plain;
>   charset="utf-8"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> On Wednesday 14 February 2007 20:47:45 Grant Edwards wrote:
>> I'm curious what other people are doing.  Have most people
>> switched over to 4.1 as their "main" compiler?
>
> I did that last May. And not just main but only C compiler (No I don't use 
> qemu). ;)

I do use Qemu, which was one reason I didn't switch earlier.

-- 
Grant Edwards                   grante             Yow!  Did an Italian CRANE
                                  at               OPERATOR just experience
                               visi.com            uninhibited sensations in
                                                   a MALIBU HOT TUB?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  Re: gcc 3.4.6 vs. 4.1.1
  2007-02-14 20:58   ` [gentoo-user] " Grant Edwards
@ 2007-02-14 21:36     ` Jerry McBride
  2007-02-14 21:53     ` Willie Wong
  2007-02-14 23:30     ` Norberto Bensa
  2 siblings, 0 replies; 15+ messages in thread
From: Jerry McBride @ 2007-02-14 21:36 UTC (permalink / raw
  To: gentoo-user

On Wednesday 14 February 2007 03:58:58 pm Grant Edwards wrote:
> On 2007-02-14, Bo Ørsted Andresen <bo.andresen@zlin.dk> wrote:
> > --nextPart1799414.yjjTeni5oG
> > Content-Type: text/plain;
> >   charset="utf-8"
> > Content-Transfer-Encoding: quoted-printable
> > Content-Disposition: inline
> >
> > On Wednesday 14 February 2007 20:47:45 Grant Edwards wrote:
> >> I'm curious what other people are doing.  Have most people
> >> switched over to 4.1 as their "main" compiler?
> >
> > I did that last May. And not just main but only C compiler (No I don't
> > use qemu). ;)
>
> I do use Qemu, which was one reason I didn't switch earlier.
>

If it helps you, we compile the current sources using gcc-3.4.6-r2, then  make 
a quickpkg of it and distribute as needed... Works well and you only need one 
machine with the older gcc.

Cheers.

--

Jerry McBride
--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  Re: gcc 3.4.6 vs. 4.1.1
  2007-02-14 20:58   ` [gentoo-user] " Grant Edwards
  2007-02-14 21:36     ` Jerry McBride
@ 2007-02-14 21:53     ` Willie Wong
  2007-02-14 23:30     ` Norberto Bensa
  2 siblings, 0 replies; 15+ messages in thread
From: Willie Wong @ 2007-02-14 21:53 UTC (permalink / raw
  To: gentoo-user

On Wed, Feb 14, 2007 at 08:58:58PM +0000, Grant Edwards wrote:
> I do use Qemu, which was one reason I didn't switch earlier.

Might as well wait. Rumour has that the replacement for dyngen in qemu 
is almost ready (the earlier forecast was before end of this month), and
you've already waited this long...

W
-- 
Willie W. Wong                                      wwong@math.princeton.edu
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  Re: gcc 3.4.6 vs. 4.1.1
  2007-02-14 20:58   ` [gentoo-user] " Grant Edwards
  2007-02-14 21:36     ` Jerry McBride
  2007-02-14 21:53     ` Willie Wong
@ 2007-02-14 23:30     ` Norberto Bensa
  2007-02-14 23:35       ` Grant Edwards
  2 siblings, 1 reply; 15+ messages in thread
From: Norberto Bensa @ 2007-02-14 23:30 UTC (permalink / raw
  To: gentoo-user; +Cc: Grant Edwards

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

> I do use Qemu, 

Me too but:

$ emerge --info
Portage 2.1.2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 
2.6.19-gentoo-r5 i686)


You can use gcc-config to switch to 3.4, compile app-emulation/qemu-softmmu 
and then swith to 4.1 again. 

Regards,
Norberto

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gentoo-user]  Re: gcc 3.4.6 vs. 4.1.1
  2007-02-14 23:30     ` Norberto Bensa
@ 2007-02-14 23:35       ` Grant Edwards
  2007-02-15  0:19         ` Dale
  2007-02-15 22:09         ` b.n.
  0 siblings, 2 replies; 15+ messages in thread
From: Grant Edwards @ 2007-02-14 23:35 UTC (permalink / raw
  To: gentoo-user

On 2007-02-14, Norberto Bensa <nbensa@gmx.net> wrote:

>> I do use Qemu, 
>
> Me too but:
>
> $ emerge --info
> Portage 2.1.2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 
> 2.6.19-gentoo-r5 i686)
> You can use gcc-config to switch to 3.4, compile app-emulation/qemu-softmmu 
> and then swith to 4.1 again. 

I know -- that's what I do now (except the other way around)
for packages that require gcc 4.  I just figured I wait to do
the big switch/recompile until I can get rid of 3.4 completely.

I'll probably just do a clean reinstall at that point.  When I
switched gcc from 3.2 to 3.3, it would have been a lot less
work to just re-install from scratch.

-- 
Grant Edwards                   grante             Yow!  .. I want FORTY-TWO
                                  at               TRYNEL FLOATATION SYSTEMS
                               visi.com            installed within SIX AND A
                                                   HALF HOURS!!!

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  Re: gcc 3.4.6 vs. 4.1.1
  2007-02-14 23:35       ` Grant Edwards
@ 2007-02-15  0:19         ` Dale
  2007-02-15  0:25           ` Grant Edwards
  2007-02-15 22:09         ` b.n.
  1 sibling, 1 reply; 15+ messages in thread
From: Dale @ 2007-02-15  0:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]

Grant Edwards wrote:
> On 2007-02-14, Norberto Bensa <nbensa@gmx.net> wrote:
>
>   
>>> I do use Qemu, 
>>>       
>> Me too but:
>>
>> $ emerge --info
>> Portage 2.1.2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 
>> 2.6.19-gentoo-r5 i686)
>> You can use gcc-config to switch to 3.4, compile app-emulation/qemu-softmmu 
>> and then swith to 4.1 again. 
>>     
>
> I know -- that's what I do now (except the other way around)
> for packages that require gcc 4.  I just figured I wait to do
> the big switch/recompile until I can get rid of 3.4 completely.
>
> I'll probably just do a clean reinstall at that point.  When I
> switched gcc from 3.2 to 3.3, it would have been a lot less
> work to just re-install from scratch.
>
>   

When I switched a while back, I found a script to do the recompile on
the forums that worked very well.  It is better than doing a system
twice then a world on top of that.  I have a copy of the script if you
would like to use it but it is on the forums somewhere.  I may can find
it.  I think it is in the documentation tips and tricks section, I think.

I haven't had any trouble after my upgrade.  I guess it depends on what
you have installed though from what I have read in your posts.

Dale

:-)  :-)  :-)

-- 
www.myspace.com/dalek1967


[-- Attachment #2: Type: text/html, Size: 2006 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gentoo-user]  Re: gcc 3.4.6 vs. 4.1.1
  2007-02-15  0:19         ` Dale
@ 2007-02-15  0:25           ` Grant Edwards
  2007-02-15  0:50             ` Dale
  0 siblings, 1 reply; 15+ messages in thread
From: Grant Edwards @ 2007-02-15  0:25 UTC (permalink / raw
  To: gentoo-user

On 2007-02-15, Dale <dalek@exceedtech.net> wrote:

>> I know -- that's what I do now (except the other way around)
>> for packages that require gcc 4.  I just figured I wait to do
>> the big switch/recompile until I can get rid of 3.4 completely.
>>
>> I'll probably just do a clean reinstall at that point.  When I
>> switched gcc from 3.2 to 3.3, it would have been a lot less
>> work to just re-install from scratch.
>
> When I switched a while back, I found a script to do the recompile on
> the forums that worked very well.  It is better than doing a system
> twice then a world on top of that.  I have a copy of the script if you
> would like to use it but it is on the forums somewhere.  I may can find
> it.  I think it is in the documentation tips and tricks section, I think.

I think I've seen it.  The last time I around I followed a
script in a HOWTO using revdep-rebuild, and I ran into a lot of
problems during the re-compile: there were about a half dozen
packages that wouldn't rebuild.  Getting things going again
required about two days of masking different versions of
different packages (each of which required masking a bunch of
dependencies to get compatible versions of everything).

-- 
Grant Edwards                   grante             Yow!  Not SENSUOUS... only
                                  at               "FROLICSOME"... and in
                               visi.com            need of DENTAL WORK... in
                                                   PAIN!!!

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  Re: gcc 3.4.6 vs. 4.1.1
  2007-02-15  0:25           ` Grant Edwards
@ 2007-02-15  0:50             ` Dale
  0 siblings, 0 replies; 15+ messages in thread
From: Dale @ 2007-02-15  0:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1709 bytes --]

Grant Edwards wrote:
> On 2007-02-15, Dale <dalek@exceedtech.net> wrote:
>
>   
>>> I know -- that's what I do now (except the other way around)
>>> for packages that require gcc 4.  I just figured I wait to do
>>> the big switch/recompile until I can get rid of 3.4 completely.
>>>
>>> I'll probably just do a clean reinstall at that point.  When I
>>> switched gcc from 3.2 to 3.3, it would have been a lot less
>>> work to just re-install from scratch.
>>>       
>> When I switched a while back, I found a script to do the recompile on
>> the forums that worked very well.  It is better than doing a system
>> twice then a world on top of that.  I have a copy of the script if you
>> would like to use it but it is on the forums somewhere.  I may can find
>> it.  I think it is in the documentation tips and tricks section, I think.
>>     
>
> I think I've seen it.  The last time I around I followed a
> script in a HOWTO using revdep-rebuild, and I ran into a lot of
> problems during the re-compile: there were about a half dozen
> packages that wouldn't rebuild.  Getting things going again
> required about two days of masking different versions of
> different packages (each of which required masking a bunch of
> dependencies to get compatible versions of everything).
>
>   

I had a few that wouldn't compile, not because of the script though, but
I just skipped those and fixed them later on.  I didn't have any more
trouble than I did when I did a emerge world without the script before
though.  I'm not sure I ever made it through a emerge world without
something failing.  I have a lot of packages so something has to go
wrong somewhere.

Dale

:-)  :-)  :-)

-- 
www.myspace.com/dalek1967


[-- Attachment #2: Type: text/html, Size: 2370 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  gcc 3.4.6 vs. 4.1.1
  2007-02-14 19:47 [gentoo-user] gcc 3.4.6 vs. 4.1.1 Grant Edwards
                   ` (2 preceding siblings ...)
  2007-02-14 20:17 ` Ric de France
@ 2007-02-15  6:42 ` Andrey Gerasimenko
  3 siblings, 0 replies; 15+ messages in thread
From: Andrey Gerasimenko @ 2007-02-15  6:42 UTC (permalink / raw
  To: gentoo-user

On Wed, 14 Feb 2007 22:47:45 +0300, Grant Edwards <grante@visi.com> wrote:

> All of my gentoo systems have both gcc 3.4 and 4.1 but still
> use 3.4 for everything except packages that just won't build
> with gcc 3.4.
>
> I'm curious what other people are doing.  Have most people
> switched over to 4.1 as their "main" compiler?
>

I installed Gentoo recently and it naturally has only 4.1. No problems, of  
course. When I discovered I needed 3.* to compile qemu or any other  
emulation I found, I just installed free binaries of VirtualBox. I guess  
that is what the absolute majority of newbuys are doing.

-- 
Andrei Gerasimenko
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user]  Re: gcc 3.4.6 vs. 4.1.1
  2007-02-14 23:35       ` Grant Edwards
  2007-02-15  0:19         ` Dale
@ 2007-02-15 22:09         ` b.n.
  1 sibling, 0 replies; 15+ messages in thread
From: b.n. @ 2007-02-15 22:09 UTC (permalink / raw
  To: gentoo-user

Grant Edwards ha scritto:

> I'll probably just do a clean reinstall at that point.  When I
> switched gcc from 3.2 to 3.3, it would have been a lot less
> work to just re-install from scratch.

My personal experience is that it is no more such a bad hassle. For
upgrading to gcc 4.1.x you have to re-emerge ALL. This sounds tragic (it
sounded tragic to me), but it's not. It's simply slow (It took about 5
days to recompile all my 900 packages on my old AMD Duron 1800...yes I
know I install a lot of cruft that I forget to uninstall). You can
easily have your system running happily while doing this. Just check
that the emerge is running a couple of times a day (some package may
fail here and there: in this case, just take note and emerge --resume
--skipfirst. When it has all finished, you can care about it later).

My personal rule of thumb is to wait AT LEAST a month after a new,
incompatible GCC has been marked stable. That's because often many
packages still fail/have troubles with the new compiler. In the first
months all major hassles are ironed out, packages are upgraded
accordingly and the transition becomes smooth.

So, in going towards gcc 4.1 (something I delayed 6 months) you should
have almost no problem. :)

m.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-02-15 21:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-14 19:47 [gentoo-user] gcc 3.4.6 vs. 4.1.1 Grant Edwards
2007-02-14 20:12 ` Bo Ørsted Andresen
2007-02-14 20:58   ` [gentoo-user] " Grant Edwards
2007-02-14 21:36     ` Jerry McBride
2007-02-14 21:53     ` Willie Wong
2007-02-14 23:30     ` Norberto Bensa
2007-02-14 23:35       ` Grant Edwards
2007-02-15  0:19         ` Dale
2007-02-15  0:25           ` Grant Edwards
2007-02-15  0:50             ` Dale
2007-02-15 22:09         ` b.n.
2007-02-14 20:13 ` [gentoo-user] " Boyd Stephen Smith Jr.
2007-02-14 20:26   ` Willie Wong
2007-02-14 20:17 ` Ric de France
2007-02-15  6:42 ` Andrey Gerasimenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox