dependency_libs

Jeff Sturm jsturm@one-point.com
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 libgcj.la 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
fail.

> 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.

Jeff




More information about the Java mailing list