[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] PR bootstrap/65176: config.guess failed to guess machine wit
From: |
Joseph Myers |
Subject: |
Re: [PATCH] PR bootstrap/65176: config.guess failed to guess machine with 64-bit kernel and 32-bit user space |
Date: |
Mon, 23 Feb 2015 17:44:55 +0000 |
User-agent: |
Alpine 2.10 (DEB 1266 2009-07-14) |
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
address@hidden