apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: 1.0.0 RC4
Date Wed, 14 Jul 2004 15:15:48 GMT
On Wed, Jul 14, 2004 at 08:10:33AM -0700, Justin Erenkrantz wrote:
> --On Wednesday, July 14, 2004 9:11 AM +0100 Joe Orton <jorton@redhat.com> 
> wrote:
> 
> >Does an object created by gcc -pthread -shared have the correct
> >DT_NEEDED fields though?  I would expect that APR_PTHREADS_CHECK would
> >work this out correctly, if apr_hints.m4 didn't set
> >apr_cv_pthreads_cflags.  Paul, can you try:
> 
> We're passing libc_r (via -lc_r) to libtool, but libtool just ignores our 
> linking of libc_r.  The newer versions of libtool doesn't have that 
> particular brain damage.  -- justin

My point is that using "gcc -pthread" may implicitly add the dependency
on -lc_r, regardless of whether -lc_r is specified on the link line, so
that's an easy workaround for the libtool behaviour.

Mime
View raw message