This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/5] Avoid build multiarch if compiler warns about mismatched alias
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