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

Kirill Ponomarew krion at FreeBSD.org
Wed Sep 3 10:33:31 PDT 2003


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.

-Kirill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030903/e0a70fc0/attachment.bin


More information about the freebsd-ports mailing list