From owner-freebsd-stable Tue Dec 28 2:27:20 1999 Delivered-To: freebsd-stable@freebsd.org Received: from emmi.physik.TU-Berlin.DE (emmi.physik.TU-Berlin.DE [130.149.160.103]) by hub.freebsd.org (Postfix) with ESMTP id C84441545A; Tue, 28 Dec 1999 02:27:16 -0800 (PST) (envelope-from ibex@emmi.physik.TU-Berlin.DE) Received: (from ibex@localhost) by emmi.physik.TU-Berlin.DE (8.9.3/8.9.3) id LAA10339; Tue, 28 Dec 1999 11:27:13 +0100 (CET) (envelope-from ibex) Date: Tue, 28 Dec 1999 11:27:12 +0100 From: Dirk Froemberg To: Mikhail Teterin Cc: stable@freebsd.org, ports@freebsd.org, nsayer@freebsd.org Subject: Re: -lc vs. -lc_r (building Apache-PHP) Message-ID: <19991228112712.A9934@physik.TU-Berlin.DE> References: <199912272030.PAA76727@rtfm.newton> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <199912272030.PAA76727@rtfm.newton>; from mi@kot.ne.mediaone.net on Mon, Dec 27, 1999 at 03:30:08PM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Mikhail! On Mon, Dec 27, 1999 at 03:30:08PM -0500, Mikhail Teterin wrote: > Tom once stated: > => => What's the magic and why doesn't the port know it? Why is -lc even > => => in play if some of the components (-lmysqlclient) require -lc_r? > => => Yours, > => = > => = libmysqlclient does not require -lc_r, because the library does > => =not use threads. Only mysqld is threaded. > => > => Thank you, Tom, for this correction. However, this does not change > => much. Some other extension wants threads then... > = > = Uhh.. highly unlikely. Almost none of PHP3 is thread-safe, and only a > =bit of Apache is thread-safe. I doubt that anything in the Apache-PHP > =port wants or needs threads. > > I did not put it in there myself :) At least one of the many extensions > selected (I included the Makefile.inc with my original report) dragged > the c_r with it... It's the mhash option causing the problem. I disabled it for now. Basically the mhash port doesn't seem to be able to deal with FreeBSD's -pthread. I'll look at it to see whether the problem can be easily be solved. Regards Dirk [Cc'ed to mhash's maintainer] -- Dirk Froemberg FreeBSD: The Power to Serve! http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message