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: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: [head] Java bootstrap failure: natClip.cc:26: syntax error before`;'
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Fri, 2 Mar 2001 09:28:30 -0800
- 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>
- 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>
On Fri, Mar 02, 2001 at 12:32:11AM -0300, Alexandre Oliva wrote:
> On Mar 1, 2001, "Zack Weinberg" <zackw@Stanford.EDU> wrote:
>
> > On Wed, Feb 28, 2001 at 07:29:20PM -0300, Alexandre Oliva wrote:
> >> On Feb 24, 2001, "Zack Weinberg" <zackw@Stanford.EDU> wrote:
> >> >>
> >> >> > Um, for me, CONFIGURE_TARGET_MODULES *doesn't* work.
> >> >>
> >> >> Ugh!
> >>
> >> What exactly does it mean that it doesn't work?
>
> > 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:
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
echo "$CXX" >&2 # debug
this is what I get:
Configuring in i686-pc-linux-gnu/libjava
/work/build/vanilla.gcc/gcc/g++ -B/work/build/vanilla.gcc/gcc/ -nostdinc++ -L/work/build/vanilla.gcc/i686-pc-linux-gnu/libstdc++-v3/src -L/work/build/vanilla.gcc/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/work/inst/i686-pc-linux-gnu/bin/ -B/work/inst/i686-pc-linux-gnu/lib/ -isystem /work/inst/i686-pc-linux-gnu/include
loading cache ../config.cache
zw