Jeff Sturm
Wed Apr 4 18:33:00 GMT 2001

On 4 Apr 2001, Tom Tromey wrote:
> Jeff> Having just updated my tree, I'm finding that libtool is
> Jeff> miscompiling gij by linking -lc before -lpthread.  Removing -lc
> Jeff> from dependency_libs in fixes it so the testsuite runs
> Jeff> once again.
> I've found similar problems.  I looked at the test suite logs and got
> the libtool command that linked a program which crashed.

My symptom was that every program timed out in dejagnu.  They all wait 
in GC_create_thread for a thread that never starts.

Building programs by hand works fine.  Only the libtool-compiled programs

> I'm not yet sure what the fix is for Java.  I haven't yet looked for
> where the `-lc' in the link is coming from.

I think it's the `need_lc=yes' setting in libtool.


More information about the Java mailing list