All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] [PATCH] top-level configure changes for HPPA
@ 2002-11-19  6:36 Carlos O'Donell
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos O'Donell @ 2002-11-19  6:36 UTC (permalink / raw)
  To: libc-alpha; +Cc: debian-glibc, parisc-linux

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [parisc-linux] [PATCH] top-level configure changes for HPPA
@ 2002-11-19  6:36 Carlos O'Donell
  0 siblings, 0 replies; 2+ messages in thread
From: Carlos O'Donell @ 2002-11-19  6:36 UTC (permalink / raw)
  To: libc-alpha; +Cc: debian-glibc, parisc-linux

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-19  6:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-19  6:36 [parisc-linux] [PATCH] top-level configure changes for HPPA Carlos O'Donell
  -- strict thread matches above, loose matches on Subject: below --
2002-11-19  6:36 Carlos O'Donell

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.