installation problem

Andrew Haley aph@pasanda.cygnus.co.uk
Thu Apr 13 02:30:00 GMT 2000


> Date: Wed, 12 Apr 2000 13:59:38 -0700 (PDT)
> From: Tom Tromey <tromey@cygnus.com>
> 
> Bryce> This is a common problem on Solaris. It is caused by libtool,
> Bryce> which doesn't support C++ static initializers on Solaris unless
> Bryce> a) you are using the GNU linker, and b) you manage to convince
> Bryce> libtool that you are in fact using the GNU linker (this is the
> Bryce> hard part!).
> 
> Oops.  I thought (and I think Andrew thought) that this was the
> "stupid" (referring to a phase of gcc -- not any of us :-) problem,
> not the Solaris linker problem.

Well, I couldn't be sure, but it was necessary to eliminate that
possible cause.  The symptoms are very similar.

Thanks a lot Bryce.

> Short term, could we detect that gcc isn't using GNU ld and die in
> configure?

That's not a bad idea.  Also, it wouldn't be so hard to detect the
fact that initializers hadn't been run at startup time and print a
diagnostic.

Andrew.



More information about the Java mailing list