This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [head] Java bootstrap failure: natClip.cc:26: syntax error before`;'
- To: "Zack Weinberg" <zackw at Stanford dot EDU>
- Subject: Re: [head] Java bootstrap failure: natClip.cc:26: syntax error before`;'
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 08 Mar 2001 02:59:06 -0300
- Cc: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>, Bryce McKinlay <bryce at albatross dot co dot nz>, java at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, Manfred Hollstein <manfredh at redhat dot com>
- Organization: GCC Team, Red Hat
- References: <3A8DD4D5.27E717B3@albatross.co.nz><Pine.BSF.4.33.0102171038520.9194-100000@deneb.dbai.tuwien.ac.at><20010217120053.Y9664@wolery.stanford.edu><or66i0vf82.fsf@guarana.lsd.ic.unicamp.br><20010223211644.E26236@wolery.stanford.edu><orwvagtzbz.fsf@guarana.lsd.ic.unicamp.br><20010223223158.G26236@wolery.stanford.edu><or3dcye91b.fsf@guarana.lsd.ic.unicamp.br><20010301164815.C577@wolery.stanford.edu><orpug0als4.fsf@guarana.lsd.ic.unicamp.br><20010302092830.J577@wolery.stanford.edu>
On Mar 2, 2001, "Zack Weinberg" <zackw@Stanford.EDU> wrote:
> On Fri, Mar 02, 2001 at 12:32:11AM -0300, Alexandre Oliva wrote:
>> On Mar 1, 2001, "Zack Weinberg" <zackw@Stanford.EDU> wrote:
>> > The subdirectory configure is run with the wrong value of CXX.
>> Are you 100% sure the wrong value of CXX wasn't being picked from
>> <target-sub-dir>/config.cache?
> Yes, I put "echo $CXX >&2" at the very top of libjava/configure:
Here's a shot in the dark. Does this help? If not, could you (or
anybody else that experiences the same problem) grant me temporary
login access to a machine on which the problem can be observed?
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/Makefile.in,v
retrieving revision 1.74
diff -u -p -r1.74 Makefile.in
--- Makefile.in 2001/03/08 05:40:30 1.74
+++ Makefile.in 2001/03/08 05:57:06
@@ -1051,7 +1051,7 @@ $(CLEAN_MODULES) $(CLEAN_X11_MODULES) cl
.PHONY: $(CLEAN_TARGET_MODULES)
$(CLEAN_TARGET_MODULES):
- @dir=`echo $@ | sed -e 's/clean-target-//'`; \
+ @dir=`echo $@ | sed -e 's/clean-target-//'`; export dir; \
rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
r=`pwd`; export r; \
@@ -1234,7 +1234,7 @@ $(INSTALL_MODULES): installdirs
# target tools.
.PHONY: $(CONFIGURE_TARGET_MODULES)
$(CONFIGURE_TARGET_MODULES):
- @dir=`echo $@ | sed -e 's/configure-target-//'`; \
+ @dir=`echo $@ | sed -e 's/configure-target-//'`; export dir; \
if [ -d $(TARGET_SUBDIR)/$${dir} ]; then \
r=`pwd`; export r; \
$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/$${dir}/tmpmulti.out 2> /dev/null; \
@@ -1252,7 +1252,7 @@ $(CONFIGURE_TARGET_MODULES):
fi; \
fi; \
fi; exit 0 # break command into two pieces
- @dir=`echo $@ | sed -e 's/configure-target-//'`; \
+ @dir=`echo $@ | sed -e 's/configure-target-//'`; export dir; \
if [ ! -d $(TARGET_SUBDIR) ]; then \
true; \
elif [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
@@ -1340,12 +1340,13 @@ $(CONFIGURE_TARGET_MODULES):
# To build a target all-X means to cd to X and make all.
.PHONY: $(ALL_TARGET_MODULES)
$(ALL_TARGET_MODULES):
- @dir=`echo $@ | sed -e 's/all-target-//'`; \
+ @dir=`echo $@ | sed -e 's/all-target-//'`; export dir; \
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
r=`pwd`; export r; \
s=`cd $(srcdir); pwd`; export s; \
$(SET_LIB_PATH) \
- (cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) all); \
+ (cd $(TARGET_SUBDIR)/$${dir}; \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) all); \
else \
true; \
fi
@@ -1354,12 +1355,13 @@ $(ALL_TARGET_MODULES):
# To build a target install-X means to cd to X and make install.
.PHONY: $(CHECK_TARGET_MODULES)
$(CHECK_TARGET_MODULES):
- @dir=`echo $@ | sed -e 's/check-target-//'`; \
+ @dir=`echo $@ | sed -e 's/check-target-//'`; export dir; \
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
r=`pwd`; export r; \
s=`cd $(srcdir); pwd`; export s; \
$(SET_LIB_PATH) \
- (cd $(TARGET_SUBDIR)/$${dir};$(MAKE) $(TARGET_FLAGS_TO_PASS) check);\
+ (cd $(TARGET_SUBDIR)/$${dir}; \
+ $(MAKE) $(TARGET_FLAGS_TO_PASS) check);\
else \
true; \
fi
@@ -1369,7 +1371,7 @@ $(CHECK_TARGET_MODULES):
# and make install.
.PHONY: $(INSTALL_TARGET_MODULES)
$(INSTALL_TARGET_MODULES): installdirs
- @dir=`echo $@ | sed -e 's/install-target-//'`; \
+ @dir=`echo $@ | sed -e 's/install-target-//'`; export dir; \
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
r=`pwd`; export r; \
s=`cd $(srcdir); pwd`; export s; \
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me