public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix ld testsuite on ia64
@ 2005-05-19 20:40 Andreas Schwab
  2005-05-26  0:39 ` James E Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2005-05-19 20:40 UTC (permalink / raw)
  To: binutils

When gcc is configured to use libunwind that needs to be linked in like
libgcc, otherwise the test "bootstrap with --static" fails.  Tested on
ia64-suse-linux.

Andreas.

2005-02-03  Andreas Schwab  <schwab@suse.de>

	* configure.host (HOSTING_LIBS): Add libunwind.a if it exists.

--- ld/configure.host	12 Jan 2005 11:10:11 +0100	1.39
+++ ld/configure.host	03 Feb 2005 18:17:01 +0100	
@@ -10,7 +10,7 @@
 
 HDEFINES=
 HOSTING_CRT0=/lib/crt0.o
-HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ]; then libgcc=../gcc/libgcc.a; else libgcc=\`${CC} -print-libgcc-file-name\`; fi; if [ -f ../gcc/libgcc_eh.a ]; then libgcc="$libgcc ../gcc/libgcc_eh.a"; else libgcc_eh=\`${CC} -print-file-name=libgcc_eh.a\`; if [ x"$libgcc_eh" != xlibgcc_eh.a ]; then libgcc="$libgcc $libgcc_eh"; fi; fi; echo --start-group $libgcc -lc --end-group`'
+HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ]; then libgcc=../gcc/libgcc.a; else libgcc=\`${CC} -print-libgcc-file-name\`; fi; if [ -f ../gcc/libgcc_eh.a ]; then libgcc="$libgcc ../gcc/libgcc_eh.a"; else libgcc_eh=\`${CC} -print-file-name=libgcc_eh.a\`; if [ x"$libgcc_eh" != xlibgcc_eh.a ]; then libgcc="$libgcc $libgcc_eh"; fi; fi; if [ -f ../gcc/libunwind.a ]; then libgcc="$libgcc ../gcc/libunwind.a"; else libunwind=\`${CC} -print-file-name=libunwind.a\`; if [ x"$libunwind" != xlibunwind.a ]; then libgcc="$libgcc $libunwind"; fi; fi; echo --start-group $libgcc -lc --end-group`'
 
 #
 #	Generic configurations:

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

* Re: [PATCH] Fix ld testsuite on ia64
  2005-05-19 20:40 [PATCH] Fix ld testsuite on ia64 Andreas Schwab
@ 2005-05-26  0:39 ` James E Wilson
  2005-05-27  6:52   ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: James E Wilson @ 2005-05-26  0:39 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: binutils

On Thu, 2005-02-03 at 09:41, Andreas Schwab wrote:
> 	* configure.host (HOSTING_LIBS): Add libunwind.a if it exists.

This is OK, assuming you still need this.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


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

* Re: [PATCH] Fix ld testsuite on ia64
  2005-05-26  0:39 ` James E Wilson
@ 2005-05-27  6:52   ` Andreas Schwab
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2005-05-27  6:52 UTC (permalink / raw)
  To: James E Wilson; +Cc: binutils

James E Wilson <wilson@specifixinc.com> writes:

> On Thu, 2005-02-03 at 09:41, Andreas Schwab wrote:
>> 	* configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
>
> This is OK, assuming you still need this.

It is needed for glibc HEAD which indirectly links in the backtrace
function, and that function depends on libunwind on ia64.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

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

end of thread, other threads:[~2005-05-26 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-19 20:40 [PATCH] Fix ld testsuite on ia64 Andreas Schwab
2005-05-26  0:39 ` James E Wilson
2005-05-27  6:52   ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).