From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from systemhalted (CPE0080c82c70ca.cpe.net.cable.rogers.com [24.112.224.149]) by dsl2.external.hp.com (Postfix) with ESMTP id 032104829 for ; Mon, 18 Nov 2002 23:36:27 -0700 (MST) Date: Tue, 19 Nov 2002 01:36:20 -0500 From: Carlos O'Donell To: libc-alpha@sources.redhat.com Cc: debian-glibc@lists.debian.org, parisc-linux@lists.parisc-linux.org Message-ID: <20021119063620.GK12451@systemhalted> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0VNbQffo0Gc48lc+" Subject: [parisc-linux] [PATCH] top-level configure changes for HPPA Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: --0VNbQffo0Gc48lc+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline libc-aplha, When checking for DWARF2 unwind info the link order for hppa requires -lgcc_eh to be placed before -lgcc. Change tested on i386 and nothing broke. c. --- 2002-11-16 Carlos O'Donell * configure.in: Change "-lgcc -lgcc_eh" to "-lgcc_eh -lgcc" to accomodate required hppa linking order. * configure: Regenerate. --0VNbQffo0Gc48lc+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=12-glibc23-hppa-configure --- glibc-2.3.1/configure 2002-11-16 22:55:16.000000000 +0000 +++ glibc-2.3.1/configure 2002-11-16 22:58:08.000000000 +0000 @@ -5221,14 +5221,14 @@ fi if { ac_try='${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles - -o conftest conftest.c -lgcc -lgcc_eh >&5' + -o conftest conftest.c -lgcc_eh -lgcc >&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then if ${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles \ - -o conftest conftest.c -lgcc -lgcc_eh -v 2>&1 >/dev/null \ + -o conftest conftest.c -lgcc_eh -lgcc -v 2>&1 >/dev/null \ | grep -q -- --eh-frame-hdr; then libc_cv_gcc_dwarf2_unwind_info=no_registry_needed else --- glibc-2.3.1/configure.in 2002-11-16 22:55:16.000000000 +0000 +++ glibc-2.3.1/configure.in 2002-11-16 22:58:28.000000000 +0000 @@ -1565,9 +1565,9 @@ fi if AC_TRY_COMMAND([${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles - -o conftest conftest.c -lgcc -lgcc_eh >&AS_MESSAGE_LOG_FD]); then + -o conftest conftest.c -lgcc_eh -lgcc >&AS_MESSAGE_LOG_FD]); then if ${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles \ - -o conftest conftest.c -lgcc -lgcc_eh -v 2>&1 >/dev/null \ + -o conftest conftest.c -lgcc_eh -lgcc -v 2>&1 >/dev/null \ | grep -q -- --eh-frame-hdr; then libc_cv_gcc_dwarf2_unwind_info=no_registry_needed else --0VNbQffo0Gc48lc+--