Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 407225 - Gentoo Prefix Bootstrap Process for Mac OS X recommends inoptimal -march setting
Summary: Gentoo Prefix Bootstrap Process for Mac OS X recommends inoptimal -march setting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal enhancement (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-07 06:19 UTC by Richard Yao (RETIRED)
Modified: 2012-03-24 15:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Yao (RETIRED) gentoo-dev 2012-03-07 06:19:29 UTC
sys-devel/gcc-apple supports -march=core2, but the Gentoo Prefix Bootstrap Process for Mac OS X recommends -march=nocona. It should be revised to say -march=core2.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-03-07 14:48:30 UTC
You are correct, and made an excellent point in itself. One setting does not fit all hosts. nocona is the lowest common denominator. The bootstrap guide does not claim to be perfect and must accommodate many host types.
Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-03-07 17:56:15 UTC
(In reply to comment #1)
> You are correct, and made an excellent point in itself. One setting does not
> fit all hosts. nocona is the lowest common denominator. The bootstrap guide
> does not claim to be perfect and must accommodate many host types.

The actual text says:

Note: You have to replace <my-cpu-flags> with something that matches your CPU. Intel-based Mac users (e.g. MacBook, CoreDuo) should at least have -march=prescott here to avoid compilation errors due to SSE instructions not being enabled. Core2Duo users can use -march=nocona. PPC users can use their CPU's alias to enable CPU specific tuning, e.g. -mcpu=G5 -mtune=G5.

There is no reason to tell Core2Duo users to use -march=nocona when they can use -march=core2. I am reopening this.
Comment 3 Fabian Groffen gentoo-dev 2012-03-24 15:47:02 UTC
fixed now