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

Bug 419407

Summary: flag-o-matic.eclass (cvs version 1.173) append-cflags looses "--param l1-cache-size=32"
Product: Gentoo Linux Reporter: Michael Weber (RETIRED) <xmw>
Component: EclassesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Weber (RETIRED) gentoo-dev 2012-06-02 21:46:45 UTC
I've noticed $subject while working on some random package.

I've created the an test case [1] which does 
append-cflags -m32 on CFLAGS like ` --param l1-cache-size=32`,
and demonstrates these flags beeing lost.

x cflags-test 1 # emerge --info | grep CFLAGS
CFLAGS="-march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -mfpmath=sse -O2 -pipe"
x cflags-test # ebuild cflags-test-0.ebuild manifest clean install
>>> Creating Manifest for /var/lib/xmw-overlay/app-misc/cflags-test
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CFLAGS before -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -mfpmath=sse -O2 -pipe
 * CFLAGS after -march=core2 -mcx16 -msahf -mtune=core2 -mfpmath=sse -O2 -pipe -m32
>>> Unpacking source...

[1] http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=blob;f=app-misc/cflags-test/cflags-test-0.ebuild;hb=HEAD
Comment 1 SpanKY gentoo-dev 2012-06-02 23:32:00 UTC

*** This bug has been marked as a duplicate of bug 417047 ***