Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20400 - Lame-3.93.1-r1 ebuild stripping too much
Summary: Lame-3.93.1-r1 ebuild stripping too much
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: J. Ellis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-03 17:17 UTC by Jan Jitse Venselaar
Modified: 2003-05-08 06:08 UTC (History)
0 users

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 Jan Jitse Venselaar 2003-05-03 17:17:01 UTC
In the Lame 3.93.1-r1 ebuild, there are 3 lines which are supposed to strip -fomit-frame-pointer for 
a specific arch. What they in fact do is strip for every arch all compiler flags, which results in strange 
behaviour, as for some reason -O2 is not stripped, but -O3 not, making -O3 twice as slow as -O2. 
 
Commenting the last 3 lines from here: 
	# take out -fomit-frame-pointer from CFLAGS if k6-2 
	is-flag "-march=k6-3" && strip-flags "-fomit-frame-pointer" 
	is-flag "-march=k6-2" && strip-flags "-fomit-frame-pointer" 
	is-flag "-march=k6" && strip-flags "-fomit-frame-pointer" 
Fixes this, but probably causes trouble for -march=k6. 
Probably should be something like filter-flags, and another way of checking wether it's a K6. 

Reproducible: Always
Steps to Reproduce:
1.emerge lame 
2.Notice no flags (except for -O2) 
 
Actual Results:  
unoptimized build 

Expected Results:  
optimized build
Comment 1 J. Ellis (RETIRED) gentoo-dev 2003-05-08 06:08:15 UTC
That should be filter-flags not strip-flags. emerge sync and emerge lame.

Thanks.