libstdc++ related bootstrap failure on Solaris
Benjamin Kosnik
bkoz@redhat.com
Tue Nov 28 18:03:00 GMT 2000
Ah ha! Thanks Gerald, I can now reproduce this:
I created a build directory called "bld-x86-gcc:today"
/mnt/hd/loha/bld-x86-gcc:today/i686-pc-linux-gnu/libstdc++-v3/src
Now fails with:
Making all in src
make[2]: Entering directory `/mnt/hd/loha/bld-x86-gcc:today/i686-pc-linux-gnu/libstdc++-v3/src'
Makefile:509: *** target pattern contains no `%'. Stop.
Looking the makefile, I see line 509 as:
myinstallheaders: $(headers:%=$(myincludep)/%) <--here
if test -z "$(MULTISUBDIR)"; then \
for i in $(std_headers); do \
echo "$(INSTALL_DATA) $(GLIBCPP_INCLUDE_DIR)/std/$$i $(myincludep)";\
$(INSTALL_DATA) $(GLIBCPP_INCLUDE_DIR)/std/$$i $(myincludep); \
done; \
for i in $(build_headers); do \
echo "$(INSTALL_DATA) $(top_builddir)/include/$$i $(myincludep)/bits/"; \
$(INSTALL_DATA) $(top_builddir)/include/$$i $(myincludep)/bits/; \
done; \
libio_headers_install='$(libio_headers)'; \
for i in $$libio_headers_install; do \
echo "$(INSTALL_DATA) $$i $(myincludep)"; \
$(INSTALL_DATA) $$i $(myincludep); \
done; \
fi;
Why am I not surprised that this part of the Makefile creates such
problems. I hate these hacky header install routines. Is there any
kind of shell-scripting magic that I can use to get around this at the
moment?
-benjamin
More information about the Gcc-bugs
mailing list