From patchwork Sat Nov 5 02:47:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: serious libgcc regression added recently Date: Fri, 04 Nov 2011 16:47:45 -0000 From: David Miller X-Patchwork-Id: 123812 Message-Id: <20111104.224745.2103083695384872614.davem@davemloft.net> To: jakub@redhat.com Cc: joseph@codesourcery.com, joel.sherrill@OARcorp.com, gcc@gcc.gnu.org, gcc-patches@gcc.gnu.org, ro@CeBiTec.Uni-Bielefeld.DE From: Jakub Jelinek Date: Thu, 3 Nov 2011 09:22:51 +0100 > I think much better would be to handle sparc*/s390*/powerpc* differently > here, just using #ifdef __LP64__ test. i?86/x86_64 is different because > of the third weirdo multilib option. I just tested and committed the following, it seemed to make no sense to keep the case statement there and now the host_address should be available to anyone who wants to make use of it in config.host -------------------- [PATCH] Tweak libgcc configure test for 64-bit. libgcc/ * configure.ac: Test for 64-bit addresses on !x86 using __LP64__. * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181000 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgcc/ChangeLog | 5 +++++ libgcc/configure | 15 +++++---------- libgcc/configure.ac | 15 +++++---------- 3 files changed, 15 insertions(+), 20 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index ec06a09..d3f091e 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2011-11-04 David S. Miller + + * configure.ac: Test for 64-bit addresses on !x86 using __LP64__. + * configure: Rebuild. + 2011-11-04 Andreas Krebbel * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S diff --git a/libgcc/configure b/libgcc/configure index 0f18037..1895a76 100644 --- a/libgcc/configure +++ b/libgcc/configure @@ -4609,21 +4609,16 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcc_cv_cfi" >&5 $as_echo "$libgcc_cv_cfi" >&6; } -# Check 32bit or 64bit for x86 and sparc. -case ${host} in -i?86*-*-* | x86_64*-*-* | sparc*-*-*) - cat > conftest.c < conftest.c < conftest.c < conftest.c <