View previous topic :: View next topic |
Author |
Message |
southpaw Guru
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Sun Sep 18, 2005 5:21 pm Post subject: Any differences between GCC3.4.4 & GCC4.x.x??? |
|
|
In other words, is there any real performance gains when using GCC4.x.x as opposed to using GCC3.4.4???
Also, how come the on GCC website 4.x.x is labled as stable when in Gentoo 3.4.4 is'nt even considered stable let alone 4.x.x???
Just thought I would ask since I could'nt find the answer on the forums ... _________________ Legalize It |
|
Back to top |
|
|
eelke Guru
Joined: 17 May 2004 Posts: 406 Location: Earth, Netherlands, Friesland
|
Posted: Sun Sep 18, 2005 6:10 pm Post subject: |
|
|
Quote: | In other words, is there any real performance gains when using GCC4.x.x as opposed to using GCC3.4.4??? |
No in some cases you even loose performance. Performance improvements are expected in later releases from the 4.x.y series.
Quote: | Also, how come the on GCC website 4.x.x is labled as stable when in Gentoo 3.4.4 is'nt even considered stable let alone 4.x.x??? |
This probably has to do with the fact that GCC 3.x.y had some deviations from the ANSI standard which were fixed in 4.x.y now if you have a package installed on your system which relies on one of these deviations it might fail to compile with GCC 4. I expect GCC 4 will be marked stable as soon as all (or most) packages have been verified to work correctly when using GCC 4. |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Sun Sep 18, 2005 7:39 pm Post subject: |
|
|
Using builtins for SIMD code, you'll have big gains, as
a) gcc4 creates correct code while gcc3.4 does not (try Vorbis + Lancer/Archer patch...)
b) gcc4 is up to 10% faster in du to superior scheduling of SIMD code |
|
Back to top |
|
|
irondog l33t
Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Sun Sep 18, 2005 8:06 pm Post subject: |
|
|
As gentoo is a compile-everything-distro a well tested compiler is more important than the latest 'stable'. It will take quite some time for gcc4 to become main compiler on gentoo. Meanwhile, nobody will prevent you from using it. _________________ Alle dingen moeten onzin zijn. |
|
Back to top |
|
|
gralves Guru
Joined: 20 May 2003 Posts: 389 Location: Sao Paulo, Brazil
|
Posted: Wed Sep 21, 2005 12:21 am Post subject: |
|
|
Where should I put bugs regarding an ebuild not working with gcc 4.0? |
|
Back to top |
|
|
sn4ip3r Guru
Joined: 14 Dec 2002 Posts: 325 Location: Tallinn, Estonia
|
Posted: Wed Sep 21, 2005 12:49 am Post subject: |
|
|
gralves wrote: | Where should I put bugs regarding an ebuild not working with gcc 4.0? |
https://bugs.gentoo.org ,4.0 itself is not in the stable branch, but that does not mean that bugs related to it may not be fixed.
[edit].. On the other hand.. I could be wrong. Maybe it would be smart to not post a bug unless you have a patch to fix it aswell... |
|
Back to top |
|
|
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Fri Sep 23, 2005 7:57 am Post subject: |
|
|
sn4ip3r wrote: | gralves wrote: | Where should I put bugs regarding an ebuild not working with gcc 4.0? |
https://bugs.gentoo.org ,4.0 itself is not in the stable branch, but that does not mean that bugs related to it may not be fixed.
[edit].. On the other hand.. I could be wrong. Maybe it would be smart to not post a bug unless you have a patch to fix it aswell... |
Exaclty, only open a bug if you have a patch to fix it. Otherwise just post it in the gcc4 thread in the "portage and programming" forum.
You can get patches from Fedora, Mandriva and Suse since they are all built with gcc4. |
|
Back to top |
|
|
a13x Apprentice
Joined: 05 Jan 2005 Posts: 215
|
Posted: Fri Sep 23, 2005 6:12 pm Post subject: |
|
|
Code: | Also, how come the on GCC website 4.x.x is labled as stable when in Gentoo 3.4.4 is'nt even considered stable let alone 4.x.x??? |
GCC 3.4.4 NOT stable ??? lool. I've been using it for months compiling tons of stuff without problems related to it. It's as stable as a rock IMHO. |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
Back to top |
|
|
ag_x Tux's lil' helper
Joined: 11 Jun 2004 Posts: 142 Location: Self Sarkarm.
|
Posted: Sat Sep 24, 2005 11:33 am Post subject: |
|
|
vipernicus wrote: | Has anyone had lucky compiling a system with 4.0.1 or 4.0.2beta? |
I am using 4.0.1 for almost 2 months now,in my LFS box (Linuxfromscratch).
Looking in my logs,i can see 210 packages builted with 4.0.1,and i can't remember a single failure right now.
In fact since a month,4.0.1 is the default compiler in their (LFS/BLFS) development releases. |
|
Back to top |
|
|
southpaw Guru
Joined: 11 Mar 2005 Posts: 375 Location: "Americas Toilet"(So.FL.)
|
Posted: Sat Sep 24, 2005 1:50 pm Post subject: |
|
|
What filesystem are you guys using? _________________ Legalize It |
|
Back to top |
|
|
gralves Guru
Joined: 20 May 2003 Posts: 389 Location: Sao Paulo, Brazil
|
Posted: Sat Sep 24, 2005 4:06 pm Post subject: |
|
|
vipernicus wrote: | Has anyone had lucky compiling a system with 4.0.1 or 4.0.2beta? |
I recompiled my entire system w/ gcc4.0.2beta.
southpaw wrote: |
What filesystem are you guys using?
|
reiserfs 3.6 + ext2 (for /boot) |
|
Back to top |
|
|
gpierce Tux's lil' helper
Joined: 15 Dec 2004 Posts: 111
|
Posted: Thu Sep 29, 2005 10:51 pm Post subject: |
|
|
Quote: | I recompiled my entire system w/ gcc4.0.2beta. |
Gralves,
This seems very courageous. Where did you get the ebuild? Did you create one for yourself?
Greg |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Thu Sep 29, 2005 11:06 pm Post subject: |
|
|
it's in portage...
Just unmask it:
echo sys-devel/gcc >> /etc/portage/package.unmask _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
|
gpierce Tux's lil' helper
Joined: 15 Dec 2004 Posts: 111
|
Posted: Thu Sep 29, 2005 11:18 pm Post subject: |
|
|
I still get an error.
Code: | These are the packages that I would merge, in order:
Calculating dependencies
!!! All ebuilds that could satisfy "=gcc-4.0.2" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/gcc-4.0.2 (masked by: -* keyword) |
The -* keyword according to the handbook means that there are no packages for my architecture, but I am just running a pretty generic x86 system: Dell Dimension 8100 with 1.5 GHz pentium 4 and 1GB RAM.
I'm puzzled. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Thu Sep 29, 2005 11:54 pm Post subject: |
|
|
Code: |
echo sys-devel/gcc >> /etc/portage/package.unmask
echo sys-devel/gcc -*>> /etc/portage/package.keywords
|
|
|
Back to top |
|
|
|