Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2006 04:06:29 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Threading libraries
Message-ID:  <20060403080629.GA33153@xor.obsecurity.org>
In-Reply-To: <20060403075235.GB19483@vision.anyware>
References:  <20060331155131.GA78328@qlovarnika.bg.datamax> <20060402143328.GA27433@watt.intra.caraldi.com> <20060403064902.GA77780@qlovarnika.bg.datamax> <20060403075235.GB19483@vision.anyware>

next in thread | previous in thread | raw e-mail | index | archive | help

--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 03, 2006 at 09:52:36AM +0200, Jean-Baptiste Quenot wrote:
> * Vasil Dimov:
>=20
> > 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).
>=20
> I'm not  objecting to your patch,  which is valuable ATM  until we
> improve FreeBSD handling of pthread libraries.
>=20
> What I don't like is:
>=20
> 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

--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFEMNeFWry0BWjoQKURAlgsAJ9vcZCQkZP+bk1hONV9NXzOEFj+ngCghTkG
QOoCHxbtHe+OWWF1jLn6FJo=
=o3tG
-----END PGP SIGNATURE-----

--nFreZHaLTZJo0R7j--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060403080629.GA33153>