This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: installation problem
- To: tromey at cygnus dot com
- Subject: Re: installation problem
- From: Andrew Haley <aph at pasanda dot cygnus dot co dot uk>
- Date: 13 Apr 2000 09:29:52 -0000
- CC: bryce at albatross dot co dot nz, cdornan at arm dot com, java-discuss at sourceware dot cygnus dot com
> 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.