Mailing List Archive

gcc-3.4.2 as stable compiler
Has anybody on this list used GCC 3.4.2 as the default compiler on an
otherwise stable x86 system? After building the entire world, was the
system stable?

So, what would it take to make GCC 3.4.2 my default compiler on an
otherwise stable system? What should I put in /etc/portage?

Thanks,

Tom Veldhouse
Re: gcc-3.4.2 as stable compiler [ In reply to ]
On Sun, 10 Oct 2004 20:08:22 -0500, Thomas T. Veldhouse <veldy@veldy.net> wrote:
> Has anybody on this list used GCC 3.4.2 as the default compiler on an
> otherwise stable x86 system? After building the entire world, was the
> system stable?
>
> So, what would it take to make GCC 3.4.2 my default compiler on an
> otherwise stable system? What should I put in /etc/portage?
>
> Thanks,
>
> Tom Veldhouse
>

I'm very interested in the answerto this and whether NPTL should be
part of the mix?

Thanks,
Mark

--
gentoo-user@gentoo.org mailing list
Re: gcc-3.4.2 as stable compiler [ In reply to ]
Mark Knecht wrote:

>On Sun, 10 Oct 2004 20:08:22 -0500, Thomas T. Veldhouse <veldy@veldy.net> wrote:
>
>
>>Has anybody on this list used GCC 3.4.2 as the default compiler on an
>>otherwise stable x86 system? After building the entire world, was the
>>system stable?
>>
>>So, what would it take to make GCC 3.4.2 my default compiler on an
>>otherwise stable system? What should I put in /etc/portage?
>>
>>Thanks,
>>
>>Tom Veldhouse
>>
>>
>>
>
>I'm very interested in the answerto this and whether NPTL should be
>part of the mix?
>
>Thanks,
>Mark
>
>
>

In particular, I would like a stable combination of:

gcc
glibc
binutils
--- supporting utilities.

I already have my entire system built with NPTL and Linux 2.6.8.1. I
have been using FreeBSD and noticed a dramatic improvement with the
compiler when the move from 3.3 to 3.4 took place, so I would like to
see that on my Gentoo systems as well.

Thanks in advance,

Tom Veldhouse
Re: gcc-3.4.2 as stable compiler [ In reply to ]
On Sun, 10 Oct 2004, Thomas T. Veldhouse wrote:

> Has anybody on this list used GCC 3.4.2 as the default compiler on an
> otherwise stable x86 system? After building the entire world, was the
> system stable?

Almost everything on my system is built with gcc 3.4.1 or 3.4.2. The
system seems as stable as ever.

> So, what would it take to make GCC 3.4.2 my default compiler on an
> otherwise stable system? What should I put in /etc/portage?

I'm using the new profile for this:

# rm /etc/make.profile
# ln -s /usr/portage/profiles/default-linux/x86/2004.2/gcc34/2.6/
/etc/make.profile
# emerge -upv world

Now you'll notice that portage wants to install the new gcc. It will not
replace your current gcc though, so you'll still have both. You can then use
gcc-config to change between compilers.

There are few programs (like optipng) that do not build *yet* with gcc
3.4.x so keep your current gcc installed just in case.

--
T.G.

--
gentoo-user@gentoo.org mailing list
Re: gcc-3.4.2 as stable compiler [ In reply to ]
Tero Grundström wrote:

> I'm using the new profile for this:
>
># rm /etc/make.profile
># ln -s /usr/portage/profiles/default-linux/x86/2004.2/gcc34/2.6/
>/etc/make.profile
># emerge -upv world
>
>Now you'll notice that portage wants to install the new gcc. It will not
>replace your current gcc though, so you'll still have both. You can then use
>gcc-config to change between compilers.
>
>There are few programs (like optipng) that do not build *yet* with gcc
>3.4.x so keep your current gcc installed just in case.
>
>
Thanks for the help. There seems to be an issue with this though.

Calculating world dependencies /
!!! all ebuilds that could satisfy "sys-libs/glibc" have been masked.
!!! possible candidates are:
- sys-libs/glibc-2.3.3.20040420-r2 (masked by: )
- sys-libs/glibc-2.3.4.20040619-r2 (masked by: ~keyword)
- sys-libs/glibc-2.3.4.20040808-r1 (masked by: ~keyword)
- sys-libs/glibc-2.3.4.20041006 (masked by: -* keyword)
- sys-libs/glibc-2.3.2-r12 (masked by: )
- sys-libs/glibc-2.2.5-r9 (masked by: )
!!! (dependency required by "sys-devel/make-3.80-r1" [ebuild])

!!! Problem with ebuild sys-kernel/development-sources-2.6.9_rc3
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.

Thanks in advance,

Tom Veldhouse
Re: gcc-3.4.2 as stable compiler [ In reply to ]
On Sun, 10 Oct 2004, Thomas T. Veldhouse wrote:

> Thanks for the help. There seems to be an issue with this though.
>
> Calculating world dependencies /
> !!! all ebuilds that could satisfy "sys-libs/glibc" have been masked.
> !!! possible candidates are:
> - sys-libs/glibc-2.3.3.20040420-r2 (masked by: )
> - sys-libs/glibc-2.3.4.20040619-r2 (masked by: ~keyword)
> - sys-libs/glibc-2.3.4.20040808-r1 (masked by: ~keyword)
> - sys-libs/glibc-2.3.4.20041006 (masked by: -* keyword)
> - sys-libs/glibc-2.3.2-r12 (masked by: )
> - sys-libs/glibc-2.2.5-r9 (masked by: )
> !!! (dependency required by "sys-devel/make-3.80-r1" [ebuild])
>
> !!! Problem with ebuild sys-kernel/development-sources-2.6.9_rc3
> !!! Possibly a DEPEND/*DEPEND problem.
>
> !!! Depgraph creation failed.

The new gcc seems to depend on newer software than whats in stable now.
You'll have to unmask the relevant packages (glibc at least) or run a full
~arch system, like I do.

See man portage for more information on unmasking invidual packages by
using /etc/portage/package.keywords.

--
T.G.

--
gentoo-user@gentoo.org mailing list
Re: gcc-3.4.2 as stable compiler [ In reply to ]
On Sun, 10 Oct 2004, Thomas T. Veldhouse wrote:

> Tero Grundström wrote:
>
> > I'm using the new profile for this:
> >
> ># rm /etc/make.profile
> ># ln -s /usr/portage/profiles/default-linux/x86/2004.2/gcc34/2.6/

Oops... if you're not going to use portage version 2.0.51 which is ~ now
you should probably use the profile in
/usr/portage/profiles/gcc34-x86-2004.2 instead because Portage v. 2.0.50
does not like so called cascading profiles...

--
T.G.

--
gentoo-user@gentoo.org mailing list