[Mesa-dev] [PATCH] clover: work around altivec build failure with GNU C++ and -std=c++

Chí-Thanh Christopher Nguyễn chithanh at gentoo.org
Mon Aug 26 15:55:09 PDT 2013


Chí-Thanh Christopher Nguyễn schrieb:
>> How about disabling AltiVec code generation by adding "-mno-altivec" to 
>> CXXFLAGS?  AFAICT what's going on is that the "-maltivec" option (which 
>> is implied by your "-mcpu=7450") enables a number of language
>> extensions as a side effect that collide with the C++ standard, which
>> is exacerbated by GCC's seemingly broken implementation.

Ah, and one potential issue I didn't think of yet is that -mno-altivec also
implies -mabi=no-altivec and I am unsure if this can lead to problems if
altivec ABI is enabled for the rest of the build.


Best regards,
Chí-Thanh Christopher Nguyễn



More information about the mesa-dev mailing list