This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Java programs segfault on exit
>>>>> "AH" == Andrew Haley <aph@cambridge.redhat.com> writes:
MD> On sparc-sun-solaris2.7, I get a Bus Error on startup, not on exit.
MD> (The workaround doesn't help..)
AH> Ah. A fix for that may be a little longer coming, but it's
AH> probably got something to so with shared library initialization.
AH> Or does it work with -static?
Yes, well, once I made symlinks from the libsocket.so, libnsl.so, and
libdl.so to libsocket.a, libnsl.a, and libdl.a in the
gcc-lib/sparc-sun-solars2.7/3.1 directory I could get a link that
worked. Without those static-looking libraries I couldn't get a link.