Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100146 - update -O2 force in glibc ebuild to only apply when using linuxthreads and no -Os
Summary: update -O2 force in glibc ebuild to only apply when using linuxthreads and no...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 156883 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-24 11:55 UTC by Gavin
Modified: 2006-12-02 02:56 UTC (History)
2 users (show)

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 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. ***