Does gcj pass -dy and -dn to linker?

Bryce McKinlay bryce@waitaki.otago.ac.nz
Tue Oct 30 01:58:00 GMT 2001


Bill Bland wrote

>
>Yes.  Even stranger:  If I compile with all libs static except libgcj, the
>program doesn't crash... most of the time.  There have been times where I
>have run it and it instantly crashed (just says "Aborted", no more
>information given).  Bizarely on these occasions I just did "up-arrow"
>(so the command line was *exactly* the same) to run the program again and
>it ran perfectly!
>My program *should* do exactly the same thing if it gets run twice with
>the same arguments, so I really don't know what's going on here.
>

Strange - that sounds like some sort of race condition. What version of 
glibc do you have?

>Unfortunately (boo!) the program is closed-source and my boss would freak
>if I even sent you the compiled executable, let alone some of the source
>code.  Is there any way you can suggest that I can find the cause of this?
>Let me know if there's any way that I can send you more information
>(without actually sending you the program - sorry about this!)
>

I understand. Can you run your program in GDB and send a backtrace?

regards

Bryce.




More information about the Java mailing list