Summary: | mjpegtools build always uses '-mcpu=i686 -march=i686' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Shane Simmons <regeya> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Shane Simmons
2003-10-04 13:22:20 UTC
I have also just seen this in the latest stable build (1.6.1.90-r1). As far as i can see configure never actually checks for the precence of the instruction but rather just checks if --disable-cmov was given and then disables it. mpcu/march comes from checking if cmov is enable and if enable do uname -m and then based on it set mpcu/march else set it to i586. It should maybe have something like what is described in this gcc-maillinglist message (http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00217.html) In that case, it should just be a matter of grep -q cmov /proc/cpuinfo || myconf="$myconf --disable-cmov" But maybe the whole flag generation part of the configuration should be removed and replaced with the user CFLAGS... Applied this and version bumped. Please test, and reopen if not working. |