GCC 4.2.0

Discuss all artwork and development - Suggestions needed

Moderator: Moderators

GCC 4.2.0

Postby 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
IA-32/x86-64

* -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:
http://www.sabayonlinux.org/forum/viewtopic.php?t=3036

Is there any problems with that that I may have overlooked?
voxiac
Advanced Hen
 
Posts: 218
Joined: Sat Feb 10, 2007 17:05
Location: Denmark

Postby lxnay » Wed May 16, 2007 18:25

it sounds very interesting!
Image
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+
lxnay
Land Owner
 
Posts: 3595
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Postby 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 :\
rand.a
Growing Hen
 
Posts: 163
Joined: Fri Mar 23, 2007 20:08
Location: Shelton, WA

Postby 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? ~
Darksurf
Old Dear Hen
 
Posts: 782
Joined: Sat Sep 16, 2006 4:01

Postby wolfden » Mon Jul 23, 2007 0:18

wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Postby 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
totedati
Technological Hen
 
Posts: 417
Joined: Thu Jan 11, 2007 0:24
Location: Sibiu, Romania

Postby 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
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA


Return to Artwork and Development Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest