Libiberty parallel build broken
DJ Delorie
dj@redhat.com
Fri Nov 9 12:10:00 GMT 2001
I think serialization is the way to go. Please try this patch.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/Makefile.in,v
retrieving revision 1.70
diff -p -3 -r1.70 Makefile.in
*** Makefile.in 2001/10/16 02:50:13 1.70
--- Makefile.in 2001/11/21 00:19:09
*************** stamp-h: config.in config.status
*** 300,309 ****
config.status: $(srcdir)/configure $(srcdir)/config.table
$(SHELL) ./config.status --recheck
all-subdir check-subdir installcheck-subdir info-subdir \
install-info-subdir clean-info-subdir dvi-subdir install-subdir \
etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
! maintainer-clean-subdir:
@subdirs='$(SUBDIRS)'; \
target=`echo $@ | sed -e 's/-subdir//'`; \
for dir in $$subdirs ; do \
--- 300,312 ----
config.status: $(srcdir)/configure $(srcdir)/config.table
$(SHELL) ./config.status --recheck
+ # Depending on config.h makes sure that config.status has been re-run
+ # if needed. This prevents problems with parallel builds, in case
+ # subdirectories need to run config.status also.
all-subdir check-subdir installcheck-subdir info-subdir \
install-info-subdir clean-info-subdir dvi-subdir install-subdir \
etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
! maintainer-clean-subdir: config.h
@subdirs='$(SUBDIRS)'; \
target=`echo $@ | sed -e 's/-subdir//'`; \
for dir in $$subdirs ; do \
More information about the Gcc-bugs
mailing list