This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCJ and "new-bootstrap" (Was: Re: Mainline is Busted for Java)
- From: Ranjit Mathew <rmathew at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 08 Apr 2004 16:00:03 +0530
- Subject: GCJ and "new-bootstrap" (Was: Re: Mainline is Busted for Java)
- References: <20040407174733.GA1582@twcny.rr.com>
Nathanael Nerode wrote:
>>PS: "make new-bootstrap" has been producing a gcj that
>>fails spectacularly on i686-pc-linux-gnu. What *is* this
>>make target for?
>
>
> It's the experimental target intended to (eventually) replace the
> current "bootstrap" logic.
But what *does* it do? I mean, the Makefile comment
notes:
# This target exists so that everything can be made in one pass.
# 'all-gcc' has to avoid stomping on the bootstrap-generated gcc for
# this to work.
but that isn't terribly useful.
There is also the relatively new configure flag:
--enable-intermodule build the compiler in one step
which looks the same (is it?).
> I haven't seen problems with GCJ which don't occur with ordinary bootstrap.
> Could you please tell me what "spectacular" failures you're seeing, so I
> can fix them? :-)
The "spectacular failures" were coming because the test
scripts were executing just "gcj" instead of the just
build gcj - on my box, the vendor installed GCJ is 3.2.3,
which was indeed quite lacking and hence the results.
I have uninstalled that GCJ and now the testsuite fails
to execute:
===========================================================
[...]
Running /home/ranmath/src/gcc/gcc-20040408/libjava/testsuite/libjava.cni/cni.exp
...
couldn't execute "gcj": no such file or directory
while executing
"exec gcj -B/home/ranmath/src/gcc/build/i686-pc-linux-gnu/libjava/testsuite/../
-v 2>@ stdout"
[...]
===========================================================
I note that "GCJ" is being correctly set in
the generated Makefile for the testsuite, but for some
reason it is not picking it up. (It should, if I go by
"libjava/testsuite/lib/libjava.exp".)
But how does it work for "normal" bootstrap then?
:-/
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/