Patch: MIPS support for libjava.

Anthony Green green@redhat.com
Tue Sep 9 21:56:00 GMT 2003


On Mon, 2003-09-08 at 17:34, David Daney wrote:
> Binutils seems to have broken multi-got support.  So if you get GOT
> overflow type messages from ld, configure with --with-libgcj-mips-xgot.

AFAIK multi-got support is actually working as well as it ever will for
mips-linux.  The problem here is that the libgcj build procedure
produces killer .o files.

libgcj has so many object files that they exceed the command line
length.  libtool resorts to piecewise linking which involves relinking
huge collections of object files into single object files.  It's these
large, single .o files that are blowing the 64k GOT limits for
mips-linux. 

powerpc64 has a similar problem:
http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01263.html

AG

-- 
Anthony Green <green@redhat.com>
Red Hat, Inc.



More information about the Java-patches mailing list