Red Hat Bugzilla – Bug 150042
fbmmx.c doesn't compile with gcc4
Last modified: 2014-06-18 05:07:44 EDT
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 Epiphany/1.4.4 Description of problem: Probably need to backport the more standardized way of using mmx from HEAD. Alternatively, adding casts for the logical operations may work as well. Representative sample of the errors fbmmx.c: In function 'negate': fbmmx.c:107: error: incompatible type for argument 1 of '__builtin_ia32_pxor' fbmmx.c:107: error: incompatible type for argument 2 of '__builtin_ia32_pxor' fbmmx.c: In function 'expand_alpha': fbmmx.c:166: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:166: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:166: error: incompatible types in assignment fbmmx.c:168: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:168: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:168: error: incompatible types in assignment Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: compile with gcc4 Additional info:
For additional reference: http://bugs.gentoo.org/show_bug.cgi?id=80685
The fix you checked into CVS seems to bypass the problem now, but there are other gcc4 failures. I think we should probably leave this open until we get a working build and can test it for regression.
To further disambiguate my last comment, the "other" failures are in a different unrelated part of the build, and not additional failures in the same code.
Ok, things seem to compile with gcc 4 now. If there are any runtime problems, we'll treat them as a different bug. Fixed in 6.8.2-6, closing as "RAWHIDE".