This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Use -mx32 for _{POSIX_V7|_POSIX_V6|XBS5}_ILP32_OFFBIG


On Mon, Jun 4, 2012 at 12:48 PM, Roland McGrath <roland@hack.frob.com> wrote:
> This is a regression for an -m32 build, where ILP32_OFFBIG will no
> longer be offered. ?That is unacceptable. ?This whole area is subtle
> and nonobvious, because it's a header in one build environment talking
> about what other build environments are available.
>
> If a user program is using confstr itself, and that program is built
> with -mx32, then it recommending -mx32 makes some sense. ?But having
> which environment the installed getconf binary was built for affect
> what it reports to scripts is much more questionable.
>
> I think we need to leave this alone for now, file a bug to track the
> issue, and consider it further after 2.16.
>

I opened:

http://sourceware.org/bugzilla/show_bug.cgi?id=14200

One possible solution:

1. -mx32 build provides POSIX_V6_ILP32_OFFBIG,
POSIX_V7_ILP32_OFFBIG and XBS5_ILP32_OFFBIG.
2. -m32 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 x32 glibc is installed, ia32 glibc won't install
the ia32 version of POSIX_V6_ILP32_OFFBIG,
POSIX_V7_ILP32_OFFBIG and XBS5_ILP32_OFFBIG.


-- 
H.J.


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