Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25870 - mjpegtools filters -march=pentium4 without filtering -mfpmath=sse, causing a warning, upgraded to an error by -Werror
Summary: mjpegtools filters -march=pentium4 without filtering -mfpmath=sse, causing a ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-04 07:04 UTC by Zhen Lin
Modified: 2003-09-15 12:45 UTC (History)
1 user (show)

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


Attachments
New mjpegtools-1.6.0 ebuild filtering -mfpmath=sse (mjpegtools-1.6.0-r7.ebuild,2.89 KB, text/plain)
2003-08-04 10:28 UTC, Bryan Østergaard (RETIRED)
Details
New mjpegtools-1.6.1 ebuild filtering -mfpmath=sse (mjpegtools-1.6.1.ebuild,2.39 KB, text/plain)
2003-08-04 10:30 UTC, Bryan Østergaard (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zhen Lin 2003-08-04 07:04:17 UTC
In mjpegtools, -march=pentium4 is filtered into -march=i686, without filtering
-mfpmath=sse, causing a warning, once per compile. The package-defined CFLAGS
include -Werror, upgrading this warning into an error, causing the compile to fail.

Reproducible: Always
Steps to Reproduce:
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2003-08-04 10:28:54 UTC
Created attachment 15487 [details]
New mjpegtools-1.6.0 ebuild filtering -mfpmath=sse

One line fix:
filter-flags="-mfpmath=sse"
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2003-08-04 10:30:30 UTC
Created attachment 15488 [details]
New mjpegtools-1.6.1 ebuild filtering -mfpmath=sse

Fixed mjpegtools 1.6.1 too.. Same one line fix:
filter-flags="-mfpmath=sse"
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-08-04 11:35:32 UTC
fixed in cvs
Comment 4 Haroon Rafique 2003-09-15 12:44:18 UTC
Having issues with another flag (-fprefetch-loop-arrays). The ebuild fails without filtering it out. If the original poster (or the admins) will kindly reopen this bug (or fix it in cvs), that would be great.

My fix is to use:

filter-flags "-mfpmath=sse -fprefetch-loop-arrays"
Comment 5 Haroon Rafique 2003-09-15 12:45:15 UTC
Forgot to say this was with media-video/mjpegtools-1.6.1.90