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

Bug 100146

Summary: update -O2 force in glibc ebuild to only apply when using linuxthreads and no -Os
Product: Gentoo Linux Reporter: Gavin <colonel_dolphin>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WONTFIX    
Severity: normal CC: geckosenator, hkbst
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gavin 2005-07-24 11:55:10 UTC
Many people use -Os instead of -O2 for their glibc.

Durons, Celerons, and Semprons often yield better benchmark scores using glibc
compiled with -Os.  Unfortunately, I have to hack up the Glibc ebuild every time
I want to upgrade my glibc.

Relevant information:
http://www.mail-archive.com/lfs-chat@linuxfromscratch.org/msg00076.html

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jonathan Smith (RETIRED) gentoo-dev 2005-07-24 11:58:25 UTC
celerons do not *need* -Oanything. i have used -O2, -O3, and -Os with mine, and
none of them gave any problems.

check out /etc/make.conf for the CFLAGS your system uses. i'm not going to
close, but i vote INVALID
Comment 2 SpanKY gentoo-dev 2005-07-25 07:20:15 UTC
the glibc ebuild forces -O2
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2005-12-15 23:46:37 UTC
I'm going to interpret Spanky's response to mean we aren't going to change this.
 If I'm wrong, why hasn't it been done by now? :)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-02 02:54:56 UTC
*** Bug 156883 has been marked as a duplicate of this bug. ***