Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15448 - mjpegtools 1.6.0-r7 fails to compile with -march=pentium4
Summary: mjpegtools 1.6.0-r7 fails to compile with -march=pentium4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 14:37 UTC by Jeremy Warren
Modified: 2003-03-22 06:48 UTC (History)
1 user (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 Jeremy Warren 2003-02-10 14:37:47 UTC
This package will fail to compile with the following CFLAGS: 
-march=pentium4 -O2 -pipe -fPIC 
 
It appears to be directly related to the -march=pentium4 flag.		 

Reproducible: Always
Steps to Reproduce:
1.  Change CFLAGS to -march=pentium4 
2.  Compile and watch it bomb. 
3.  Lather, rinse, repeat as necessary. 
Actual Results:  
After a couple of searches on the Gentoo forums, there was some mention about 
"aggressive" CFLAGS.  I changed to -mcpu=i686, and it works just fine. 

Expected Results:  
Should filter out "pentium4" cflags and replace them with i686. 

I have no idea if this is similar for Athlons.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-03-21 13:04:26 UTC
emerge is now running
if i can confirm this, this will be fixed asap
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-03-22 06:48:23 UTC
	replace-flags "-march=pentium4" "-march=i686"
	replace-flags "-march=athlon*" "-march=i686"