[Mesa-dev] [PATCH] mesa: Fix _mesa_uint_array_min_max linker error.

Siavash Eliasi siavashserver at gmail.com
Sat Nov 15 01:25:10 PST 2014


On 11/15/2014 01:20 AM, Timothy Arceri wrote:
> On Fri, 2014-11-14 at 22:14 +0330, Siavash Eliasi wrote:
>> You are right. Any suggestions on how to fix this build failure?
>>
> Using this would fix it but the optimisation would be disabled on clang.
> Not sure how many people are concerned about this, I don't use clang
> myself.
>
> [1]
> http://lists.freedesktop.org/archives/mesa-dev/2014-November/070387.html
>

Unfortunately I'm not familiar with autoconf, but I think the magic 
should happen at configure.ac. I think USE_SSE41 macro should only 
defined when: 1. SSE4.1 is not permanently disabled (-mno-sse4.1) and 2. 
target compiler supports generating SSE4.1 code.


More information about the mesa-dev mailing list