This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use -mx32 for _{POSIX_V7|_POSIX_V6|XBS5}_ILP32_OFFBIG
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 4 Jun 2012 12:48:01 -0700 (PDT)
- Subject: Re: [PATCH] Use -mx32 for _{POSIX_V7|_POSIX_V6|XBS5}_ILP32_OFFBIG
- References: <20120603140841.GA5687@intel.com>
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.
Thanks,
Roland