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: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: [head] Java bootstrap failure: natClip.cc:26: syntax error before`;'
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Thu, 8 Mar 2001 16:21:03 -0800
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <3AA81F1F.29FE999@albatross.co.nz>
On Fri, Mar 09, 2001 at 01:09:03PM +1300, Bryce McKinlay wrote:
> > I can't speak for anyone else, but I personally have *never* been able
> > to build libjava. The "size of " error is just the most
> > recent issue. For instance, I still have the problem with the
> > libstdc++ -I switches disappearing, that was being discussed last week.
>
> As far as I know, libjava no longer requires anything from libstdc++
> in its default configuration, so this should not occur (the bug is
> still there of course, but its been worked around). Are you saying
> that you still see it even with the current CVS?
I didn't know that this had been changed. As it happens, if I back
out the patch causing the duplicate EH labels, I can now build
libjava. I do get some 500 unexpected failures from its testsuite,
all with an odd error message in libjava.log:
Executing on host:
/home/zack/b/gcc/i686-pc-linux-gnu/libjava/testsuite/../libtool
--silent --tag=GCJ --mode=compile
/home/zack/b/gcc/gcc/gcj -B/home/zack/b/gcc/gcc/
-B/home/zack/b/gcc/i686-pc-linux-gnu/libjava/testsuite/../
-c -g
-o /home/zack/b/gcc/i686-pc-linux-gnu/libjava/testsuite/G19990217_02.o
/home/zack/gcc/libjava/testsuite/libjava.compile/G19990217_02.java
(timeout = 300)
mv: `G19990217_02.o' and
`/home/zack/b/gcc/i686-pc-linux-gnu/libjava/testsuite/G19990217_02.o'
are the same file
compiler exited with status 1
Here's some sh -x libtool logs:
+ /home/zack/b/gcc/gcc/gcj -B/home/zack/b/gcc/gcc/
-B/home/zack/b/gcc/i686-pc-linux-gnu/libjava/testsuite/../
-c -g /home/zack/s/gcc/libjava/testsuite/libjava.compile/G19990217_02.java
+ :
+ test yes = warn
+ test -n G19990217_02.o
+ test xG19990217_02.o !=
x/home/zack/b/gcc/i686-pc-linux-gnu/libjava/testsuite/G19990217_02.o
+ : mv -f G19990217_02.o
/home/zack/b/gcc/i686-pc-linux-gnu/libjava/testsuite/G19990217_02.o
+ mv -f G19990217_02.o
/home/zack/b/gcc/i686-pc-linux-gnu/libjava/testsuite/G19990217_02.o
mv: `G19990217_02.o' and
`/home/zack/b/gcc/i686-pc-linux-gnu/libjava/testsuite/G19990217_02.o'
are the same file
$ mv --version
mv (fileutils) 4.0.37
Written by Mike Parker, David MacKenzie, and Jim Meyering.
(Why isn't libtool just giving gcj an -o switch?!)
zw