3.2.3-pre tarball 2: libjava build still fails on sparc-sun-solaris2.8

Alexandre Oliva aoliva@redhat.com
Wed Apr 23 18:52:00 GMT 2003


On Apr 21, 2003, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:

> Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:

> | Interestingly, my problem is libtool-related as well.

I find this reasoning interesting...  It is as libtool-related as
make-related and shell-related, if you ask me.  I mean, you're
starting from a shell, right?  And it is make that starts libtool,
right?  And libtool starts the linker, right?  And the linker fails
because it's buggy.  So...  It's pretty obvious that it's libtool's
fault, right? :-D

> | I first reported a variant of this problem in
> |   http://gcc.gnu.org/ml/gcc/2002-06/threads.html#00284
> | but didn't notice it on the 3.2 branch until now, because I had Java
> | disabled on the slow Solaris boxes. :-(

> Well, it seems that that issue had been debated in-depth; I would really
> appreciate  if Alexandre Oliva or Tom Tromey or any libtool-guru could
> jump in and enlighten me.

The one thing that is getting me confused is the long list of object
files in the link command.  libtool could use -z allextract instead of
extracting the object files itself.  Currently, for some reason,
libtool would use it when using Sun CC, or gcc as a C or Java linker,
but not when using gcc as a C++ linker (I haven't investigated why it
thinks we're doing C++ instead of Java).

Gerald, could you please test whether this patch fixes the problem?
If so, will you please check it into the release branch?
Thanks,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libtool-sun-ld-gcc-allextract.patch
Type: text/x-patch
Size: 1456 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20030423/4a1dc2da/attachment.bin>
-------------- next part --------------


-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the Java mailing list