* Configure check for -zcombreloc
@ 2002-02-07 6:10 Andreas Schwab
2002-02-07 9:43 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2002-02-07 6:10 UTC (permalink / raw)
To: libc-hacker
The configure check for -zcombreloc fails on ia64 because no .rela.dyn is
needed with this tiny test. Adding a reference to a global variable fixes
this.
Andreas.
2002-02-07 Andreas Schwab <schwab@suse.de>
* configure.in: Fix check for -zcombreloc.
--- configure.in.~1.327.2.1.~ Fri Dec 14 11:23:42 2001
+++ configure.in Thu Feb 7 14:31:26 2002
@@ -1059,8 +1059,9 @@
AC_CACHE_CHECK(for -z combreloc,
libc_cv_z_combreloc, [dnl
cat > conftest.c <<EOF
-extern int bar (void);
-int foo (void) { return bar (); }
+extern int bar (int);
+extern int mumble;
+int foo (void) { return bar (mumble); }
EOF
if AC_TRY_COMMAND([${CC-cc} -shared -o conftest.so conftest.c
-nostdlib -nostartfiles
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Configure check for -zcombreloc
2002-02-07 6:10 Configure check for -zcombreloc Andreas Schwab
@ 2002-02-07 9:43 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2002-02-07 9:43 UTC (permalink / raw)
To: Andreas Schwab; +Cc: libc-hacker
Andreas Schwab <schwab@suse.de> writes:
> 2002-02-07 Andreas Schwab <schwab@suse.de>
>
> * configure.in: Fix check for -zcombreloc.
OK, I've applied it.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-07 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-07 6:10 Configure check for -zcombreloc Andreas Schwab
2002-02-07 9:43 ` Ulrich Drepper
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).