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

Joseph Myers joseph@codesourcery.com
Thu Oct 19 16:49:00 GMT 2017


On Thu, 19 Oct 2017, Adhemerval Zanella wrote:

> For armv7-linux-gnueabihf with GCC8 without ifunc support on compiler:
> 
> checking for assembler and linker STT_GNU_IFUNC support... yes
> checking for gcc attribute ifunc support... no
> checking if compiler warns about alias for function with incompatible types... yes
> configure: WARNING: gcc emits a warning for alias between functions of incompatible types.
> Multi-arch is disabled.

Note that for this case, with explicit --enable-multi-arch, there should 
be an error, much like that for missing assembler / linker support in that 
case (while for the default case without the configure option, a warning 
plus disabling multi-arch is appropriate).  I don't think this patch 
achieves that.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list