Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 108921

Summary: amd64 doc: -O2 optimization flag inconsistency
Product: [OLD] Docs-user Reporter: Theresa Ford <theresa.ford>
Component: OtherAssignee: Docs Team <docs-team>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://www.gentoo.org/proj/en/base/amd64/technotes/index.xml?part=1&chap=3
Whiteboard:
Package list:
Runtime testing required: ---

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