This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] PR bootstrap/65176: config.guess failed to guess machine with 64-bit kernel and 32-bit user space
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>, GNU C Library <libc-alpha at sourceware dot org>, <binutils at sourceware dot org>, <config-patches at gnu dot org>
- Date: Mon, 23 Feb 2015 17:44:55 +0000
- Subject: Re: [PATCH] PR bootstrap/65176: config.guess failed to guess machine with 64-bit kernel and 32-bit user space
- Authentication-results: sourceware.org; auth=none
- References: <20150223171743 dot GA32755 at intel dot com>
On Mon, 23 Feb 2015, H.J. Lu wrote:
> Tested with 64-bit, 32-bit and x32 user-space environments under
> Linux/x86-64 kernel. I am not sure if this will ever be accepted in
> upstream since the config.guess maintainer doesn't want to add a new
> use of set_cc_for_build to config.guess. set_cc_for_build is used for
> Linux:
Well, we don't want any local changes to config.* in GCC / binutils-gdb /
glibc - those files should remain as files that only get updated by
verbatim copying from config.git.
In glibc, sysdeps/x86_64/preconfigure.ac already checks for x32. I think
it would be fine to combine sysdeps/i386/preconfigure and
sysdeps/x86_64/preconfigure.ac into a single sysdeps/x86/preconfigure.ac
that allows both i?86 and x86_64 triplets to be used for all three ABIs,
determining the correct machine and base_machine settings based on how the
compiler behaves.
--
Joseph S. Myers
joseph@codesourcery.com