Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108921 - amd64 doc: -O2 optimization flag inconsistency
Summary: amd64 doc: -O2 optimization flag inconsistency
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/proj/en/base/am...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-11 12:39 UTC by Theresa Ford
Modified: 2005-10-11 12:51 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 Theresa Ford 2005-10-11 12:39:56 UTC
3.i. Properly Setting CFLAGS
http://www.gentoo.org/proj/en/base/amd64/technotes/index.xml?part=1&chap=3
says to use -O2

yet:
5.a. Important Errata For Gentoo Installation
http://www.gentoo.org/proj/en/base/amd64/technotes/index.xml?part=1&chap=5
says:  NEVER use -Os in your CFLAGS on the AMD64 platform

Which way is correct?

Reproducible: Always
Steps to Reproduce:
See details.
Actual Results:  
See details.

Expected Results:  
Document should be consistent on optimization flags.

N/A
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-11 12:51:07 UTC
-O2 != -Os