This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: dependency_libs
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: dependency_libs
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Wed, 4 Apr 2001 22:27:32 -0400 (EDT)
- cc: java at gcc dot gnu dot org, GCC Hackers <gcc at gcc dot gnu dot org>
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