Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480212 - sys-fs/lvm2 always adds -O2 to compiler command line
Summary: sys-fs/lvm2 always adds -O2 to compiler command line
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-07 23:52 UTC by Raymond Jennings
Modified: 2013-09-12 21:11 UTC (History)
3 users (show)

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


Attachments
build log proving censorship of -O0 (build.log,245.18 KB, text/x-log)
2013-08-08 00:01 UTC, Raymond Jennings
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Jennings 2013-08-07 23:52:04 UTC
In response to detection of a GCC regression, I was advised by #lvm in freenode to build lvm2 with -O0

However, observation of the build revealed that the -O0 flag supplied by package.env was being overridden with -O2

Reproducible: Always
Comment 1 Raymond Jennings 2013-08-08 00:01:38 UTC
Created attachment 355372 [details]
build log proving censorship of -O0
Comment 2 Mike Gilbert gentoo-dev 2013-08-08 01:06:38 UTC
I think we may want to pass --with-optimisation= to econf to disable the automatic -O2 here.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-09-12 21:11:21 UTC
Fixed in 2.02.100's ebuild