This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/toplevel] configure-target-boehm-gc depends on configure-target-libstdc++-v3


The libtool part of the boehm-gc configure script may need to do link
tests with the C++ compiler, which will fail spuriously if the libstdc++
library wasn't built yet.  One example is the test to determine
shlibpath_overrides_runpath for linux*, when this fails the boehm-gc
testsuite does not work correctly because the gctest program does not
find libgcjgc.so.1.

Tested on ia64-suse-linux.

Andreas.

2008-12-02  Andreas Schwab  <schwab@suse.de>

	* Makefile.def: configure-target-boehm-gc depends on
	all-target-libstdc++-v3.

Index: Makefile.def
===================================================================
--- Makefile.def	(revision 142347)
+++ Makefile.def	(working copy)
@@ -496,6 +496,7 @@ lang_env_dependencies = { module=libgcc;
 lang_env_dependencies = { module=libiberty; no_c=true; };
 
 dependencies = { module=configure-target-boehm-gc; on=configure-target-qthreads; };
+dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; };
 dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
 dependencies = { module=all-target-fastjar; on=all-target-zlib; };
 dependencies = { module=all-target-fastjar; on=all-target-libiberty; };
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 142347)
+++ Makefile.in	(working copy)
@@ -55703,6 +55703,7 @@ all-send-pr: maybe-all-prms
 all-tar: maybe-all-build-texinfo
 all-uudecode: maybe-all-build-texinfo
 configure-target-boehm-gc: maybe-configure-target-qthreads
+configure-target-boehm-gc: maybe-all-target-libstdc++-v3
 configure-target-fastjar: maybe-configure-target-zlib
 all-target-fastjar: maybe-all-target-zlib
 all-target-fastjar: maybe-all-target-libiberty

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]