PATCH: Building libgcj with --disable-interpreter fails

Rainer Orth ro@techfak.uni-bielefeld.de
Tue Jul 10 17:48:00 GMT 2007


Andrew Haley writes:

>  > The 4.2 branch bootstrap finished with just the configure.host part
>  > applied.  Unfortunately, testresults are terrible
>  > 
>  > 	http://gcc.gnu.org/ml/gcc-testresults/2007-07/msg00398.html
>  > 
>  > which is probably due to missing libffi support for the N32 and N64 ABIs.
> 
> Maybe, but I'm not sure that really explains alot of the compilation
> failures.

The compilation failures only affect the N64 ABI and have a common reason:
there's no libdl.so (unlike O32 and N32), so all test programs fail to
link.  -ldl is added via libgcj.spec from SYSTEMSPEC.  Unfortunately, this
file differs between the ABIs, but only the N32 one (i.e. for the default
multilib) is used for all ABIs.  I can fix this by overriding SYSTEMSPEC in
configure.ac.

>  > Anyway, with this patchlet, libjava at least compiles, so I suppose it's ok
>  > to commit to 4.2 branch and mainline?
> 
> Yes.

Thanks, committed.

	Rainer



More information about the Java-patches mailing list