GCC 4.2.0

Discuss all artwork and development - Suggestions needed

Moderator: Moderators

Post Reply
Advanced Hen
Posts: 218
Joined: Sat Feb 10, 2007 17:05
Location: Denmark

GCC 4.2.0

Post by voxiac » Wed May 16, 2007 18:01

Among new features of GCC 4.2.0 I was particularly intrigued by this:
New Targets and Target Specific Improvements

* -mtune=generic can now be used to generate code running well on common x86 chips. This includes AMD Athlon, AMD Opteron, Intel Pentium-M, Intel Pentium 4 and Intel Core 2.
* -mtune=native and -march=native will produce code optimized for the host architecture as detected using the cpuid instruction.
So, if Sabayon set '-march=native' in CFlAGS after the installation it may speed up newly installed packages or even the whole system if the user chooses to do an 'emerge -e world' after installation.
It would ultimately meet the request of this thread:

Is there any problems with that that I may have overlooked?

Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Post by lxnay » Wed May 16, 2007 18:25

it sounds very interesting!
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

Growing Hen
Posts: 163
Joined: Fri Mar 23, 2007 20:08
Location: Shelton, WA

Post by rand.a » Sun Jul 22, 2007 20:59

GCC 4.2.0 is now ~unstable instead of hardmasked in portage, just in time to not make it in 3.4 :\

Old Dear Hen
Posts: 787
Joined: Sat Sep 16, 2006 4:01

Post by Darksurf » Mon Jul 23, 2007 0:07

Thats OK. Maybe we will be lucky and have a 3.4b or something with GCC 4.2 in it. Although I think that may be a little to much work just for a 3.4b to add to our collection. At least we know what to expect in the next release. Sabayon=greater things
~ Y </0 5+Up1</ P30p[Ez +Ry 2 R34</ D1s? ~

Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Post by wolfden » Mon Jul 23, 2007 0:18

Technological Hen
Posts: 417
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Post by totedati » Tue Jul 24, 2007 1:05

i wonder -mtune=generic can be better than -mtune=i686 ? if is true can be a option for livedvd build also ... and -mtune=native can be used for all local rebuilds and fresh installs, i mean in make.conf, CFLAGS=" -mtune=native" from the first hdd install ....
linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479

Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Post by wolfden » Tue Jul 24, 2007 1:11

just a note 4.2.1 was released like 4 days ago. No idea how long it will take to get to portage

Post Reply