This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: native compiles
- From: Per Bothner <per at bothner dot com>
- To: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>
- Cc: kawa at sources dot redhat dot com
- Date: Mon, 22 Apr 2002 10:52:18 -0700
- Subject: Re: native compiles
- References: <87662k3al5.fsf@pooh-sticks-bridge.tapsellferrier.co.uk>
Nic Ferrier wrote:
> I'm trying to compile Kawa natively.
>
> I presume I'm supposed to just do:
>
> $ ./configure --with-gcj
> $ make
>
> But I'm getting this (after make has done a few package compiles):
>
>
> gcj -g -O -I../.. -I./../.. -c Numeric.java Quantity.java DQuantity.java CQuantity.java Complex.java CComplex.java DComplex.java NamedUnit.java BaseUnit.java Unit.java MulUnit.java Dimensions.java RealNum.java DFloNum.java RatNum.java IntFraction.java MPN.java IntNum.java BitOps.java FixedRealFormat.java ExponentialFormat.java -fPIC -o ../../bin/.libs/gnu-math.o
> ./RealNum.java: In class `gnu.math.FixedRealFormat':
> ./RealNum.java: In method `gnu.math.FixedRealFormat.format(gnu.math.RatNum,boolean,java.lang.StringBuffer,java.text.FieldPosition)':
> ./RealNum.java:0: reading class gnu.math.RealNum for the second time from ./RealNum.class
> compilation terminated.
> make[2]: *** [../../bin/gnu-math.lo] Error 1
> make[2]: Leaving directory `/home/nferrier/projects/gnu/kawa/gnu/math'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/nferrier/projects/gnu/kawa/gnu'
> make: *** [all-recursive] Error 1
>
>
> This is the latest CVS because I didn't think Per was doing a whole
> lot of changes (so it would be safe to use).
>
> Is there a problem with current native build or is it me? (I am using
> PowerPC which isn't the most stable GCJ platform).
It just happened to me too, on x86-linux, using an updated gcc3 tree.
This is a gcc regression that I consider release-critical. I will make
sure it is fixed.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/