Hello world segfaults with -static

Bryce McKinlay bryce@waitaki.otago.ac.nz
Wed Oct 10 17:30:00 GMT 2001


Anthony Green wrote:

>Tom wrote:
>
>>I saw it today when I tried a statically-linked hello-world.
>>I haven't tried applying Andrew's no-static-initializer patch though.
>>
>
>Am I the only one who would trade the static initializer bug for the alleged
>thread safety bug?
>

Maybe there isn't a thread safety bug anyway. As long as all our dlopen 
calls are synchronized (maybe dlopen is thread safe anyway?) then I 
don't see a problem.

regards

Bryce.




More information about the Java mailing list