This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] disable libmpx x32 multilib builds


On Wed, Mar 11, 2015 at 7:37 AM, Matthias Klose <doko@ubuntu.com> wrote:
> current trunk fails to build on x86*-linux, when configured for x32 multilibs
> because libmpx doesn't support these. Disable them.
>
> ok for the trunk?
>
>         * Disable libmpx x32 multilib builds.
>
> --- a/config-ml.in
> +++ b/config-ml.in
> @@ -102,6 +102,7 @@
>  Makefile=${ac_file-Makefile}
>  ml_config_shell=${CONFIG_SHELL-/bin/sh}
>  ml_realsrcdir=${srcdir}
> +ml_srcbase=`basename $ml_realsrcdir`
>
>  # Scan all the arguments and set all the ones we need.
>
> @@ -220,6 +221,10 @@
>    if [ "${dir}" = "." ]; then
>      true
>    else
> +    # libmpx is not supported on x32
> +    if [ "${ml_srcbase}-${dir}" = libmpx-x32 ]; then
> +      continue
> +    fi
>      if [ -z "${multidirs}" ]; then
>        multidirs="${dir}"
>      else

This is incorrect.  Ilya and I are working on a proper fix.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]