From: Carlos O'Donell <carlos@baldric.uwo.ca>
To: libc-alpha@sources.redhat.com
Cc: debian-glibc@lists.debian.org, parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] [PATCH] top-level configure changes for HPPA
Date: Tue, 19 Nov 2002 01:36:20 -0500 [thread overview]
Message-ID: <20021119063620.GK12451@systemhalted> (raw)
[-- Attachment #1: Type: text/plain, Size: 359 bytes --]
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 <carlos@baldric.uwo.ca>
* configure.in: Change "-lgcc -lgcc_eh" to "-lgcc_eh -lgcc" to
accomodate required hppa linking order.
* configure: Regenerate.
[-- Attachment #2: 12-glibc23-hppa-configure --]
[-- Type: text/plain, Size: 1666 bytes --]
--- 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
next reply other threads:[~2002-11-19 6:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-19 6:36 Carlos O'Donell [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-19 6:36 [parisc-linux] [PATCH] top-level configure changes for HPPA Carlos O'Donell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021119063620.GK12451@systemhalted \
--to=carlos@baldric.uwo.ca \
--cc=debian-glibc@lists.debian.org \
--cc=libc-alpha@sources.redhat.com \
--cc=parisc-linux@lists.parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.