Threading libraries

Kris Kennaway kris at obsecurity.org
Mon Apr 3 08:06:31 UTC 2006


On Mon, Apr 03, 2006 at 09:52:36AM +0200, Jean-Baptiste Quenot wrote:
> * Vasil Dimov:
> 
> > On Sun, Apr  02, 2006 at 04:33:28PM  +0200, Jean-Baptiste Quenot
> > wrote:
> >
> > > Instead of  linking with "cc" instead  of "ld", why not  add a
> > > ??FreeBSD SPECIFIC  OPTION?? called  "-pthread" to  "ld", like
> > > what has been done to "cc"?
> >
> > Because linking with  cc is a fix  that we have a  patch for and
> > therefore can be committed right on the moment.
> >
> > As I  see it you object  against linking with cc  instead of ld,
> > but  you do  not have  any other  solution (except  from linking
> > *everything* with pthread).
> 
> I'm not  objecting to your patch,  which is valuable ATM  until we
> improve FreeBSD handling of pthread libraries.
> 
> What I don't like is:
> 
> 1) we are explicitly linking with cc, that is not a Resin-specific
>    issue at all, please tell me if I'm wrong.  The problem we have
>    with Resin will arise for other ports too.  Right or wrong?

Wrong, apparently..yours are the only ports that I've encountered that
do this.

> I can provide a patch for the documentation if you wish...

Thanks.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060403/db51f90a/attachment.pgp


More information about the freebsd-ports mailing list