[PATCH 1/5] Avoid build multiarch if compiler warns about mismatched alias

Adhemerval Zanella adhemerval.zanella@linaro.org
Tue Oct 17 13:49:00 GMT 2017



On 12/10/2017 18:52, Joseph Myers wrote:
> On Thu, 12 Oct 2017, Adhemerval Zanella wrote:
> 
>> +  if test x"$libc_cv_gcc_incompatible_alias" == xyes &&
>> +     test x"$enable_werror" == xyes; then
>> +    AC_MSG_WARN([gcc emits a warning for alias between functions of incompatible types
>> +and -Werror is enabled.  Multi-arch is disabled. ])
>> +    multi_arch=no
> 
> I don't think --disable-werror should ever affect how or whether glibc 
> builds as multi-arch.
> 

Right, I will remove the 'enable_werror' condition to disable multi-arch.
Are you ok with the rest of the patch?



More information about the Libc-alpha mailing list