This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
PING: [PATCH] Correct _{POSIX_V7|_POSIX_V6|XBS5}_ILP32_OFFBIG for x32
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 14 Dec 2012 09:25:14 -0800
- Subject: PING: [PATCH] Correct _{POSIX_V7|_POSIX_V6|XBS5}_ILP32_OFFBIG for x32
On Sat, Dec 1, 2012 at 8:37 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
>
> Hi,
>
> This is a resubmission of
>
> http://sourceware.org/ml/libc-alpha/2012-06/msg00168.html
>
> There is no difference in i686 build and x32 build gets -mx32 for
> _{POSIX_V7|_POSIX_V6|XBS5}_ILP32_OFFBIG. The results are
>
> 1. x32 build provides POSIX_V6_ILP32_OFFBIG,
> POSIX_V7_ILP32_OFFBIG and XBS5_ILP32_OFFBIG.
> 2. i686 build provides POSIX_V6_ILP32_OFF32,
> POSIX_V7_ILP32_OFF32, XBS5_ILP32_OFF32,
> POSIX_V6_ILP32_OFFBIG, POSIX_V7_ILP32_OFFBIG
> and XBS5_ILP32_OFFBIG.
>
> If both x32 glibc and i686 glibc are installed, the installer should
> arrange that the i686 version of POSIX_V6_ILP32_OFFBIG,
> POSIX_V7_ILP32_OFFBIG and XBS5_ILP32_OFFBIG aren't install so that x32
> version is used. OK to install?
>
> Thanks.
>
>
> H.J.
> ----
> [BZ #14200]
> * sysdeps/unix/sysv/linux/x86/bits/environments.h
> (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
> defined.
> (_POSIX_V6_ILP32_OFF32): Likewise.
> (_XBS5_ILP32_OFF32): Likewise.
> (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
> (__ILP32_OFFBIG_LDFLAGS): Likewise.
>
Hi Roland,
Is this OK for 2.18?
Thanks.
--
H.J.