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] libstdc++-v3/Makefile is not SMP safe


During a make -j bootstrap I just got:

make[7]: Entering directory `/usr/src/packages/BUILD/gcc-3.3.1-hammer-20030703/obj-x86_64-suse-linux/x86_64-suse-linux/32/libstdc++-v3/include'
/bin/sh: line 1: cd: ./bits: No such file or directory

The following patch has been tested on x86_64-linux-gnu.  Ok to commit
to mainline and 3.3?

Andreas

2003-08-11  Andreas Jaeger  <aj@suse.de>

	* include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
	to make SMP-safe.
	* include/Makefile.in: Regenerated.

============================================================
Index: libstdc++-v3/include/Makefile.am
--- include/Makefile.am	5 Aug 2003 02:00:13 -0000	1.65
+++ include/Makefile.am	11 Aug 2003 12:38:29 -0000
@@ -395,7 +395,7 @@ stamp-bits: ${bits_headers}
 	  echo `date` > stamp-bits ;\
 	fi
 
-stamp-c_base: ${c_base_headers} ${c_base_headers_extra} 
+stamp-c_base: stamp-bits ${c_base_headers} ${c_base_headers_extra} 
 	@if [ ! -d "${c_base_builddir}" ]; then \
 	  mkdir -p ${c_base_builddir} ;\
 	fi ;\

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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