Heads Up: cvs commit: src/contrib/gcc/config freebsd-spec.h (fwd)

Joe Marcus Clarke marcus at marcuscom.com
Wed Sep 3 10:38:01 PDT 2003


On Wed, 2003-09-03 at 13:33, Kirill Ponomarew wrote:
> Hi,
> 
> On Wed, Sep 03, 2003 at 11:57:21AM -0400, Daniel Eischen wrote:
>  
> > In summary, using -pthread with gcc in -current will be an error.
> > Our ports should really be ${PTHREAD_LIBS} clean if we want to
> > support different thread libraries, even on port by port basis.
> > 
> > If we continue to allow -pthread, we'll end up with ports linked
> > to both libc_r and {libkse(M:N),libkse(1:1),libthr,linuxthreads,etc}
> > and this doesn't work; they ports will build fine, but they won't
> > run correctly.
> > 
> > I suggest that libtool, autoconf, etc., be taught about ${PTHREAD_LIBS}
> > and if defined, use that instead of -lc_r, -lpthread, etc.  If
> > ${PTHREAD_LIBS} is not defined, then order of detection should
> > be -lpthread, then -lc_r last.
> 
> I think, it would be great if portmgr do full run on bento and
> show build results.

This won't happen until after 4.9-RELEASE (at least not on i386 or
Alpha).

Joe

> 
> -Kirill
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030903/2db23aee/attachment.bin


More information about the freebsd-ports mailing list