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
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 12 Oct 2017 21:52:38 +0000
- Subject: Re: [PATCH 1/5] Avoid build multiarch if compiler warns about mismatched alias
- Authentication-results: sourceware.org; auth=none
- References: <1507842584-28674-1-git-send-email-adhemerval.zanella@linaro.org>
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.
--
Joseph S. Myers
joseph@codesourcery.com