From owner-freebsd-stable Wed Jun 17 15:21:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21248 for freebsd-stable-outgoing; Wed, 17 Jun 1998 15:21:38 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21221 for ; Wed, 17 Jun 1998 15:21:23 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id IAA12723; Thu, 18 Jun 1998 08:27:37 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199806172227.IAA12723@cimlogic.com.au> Subject: Re: is libc_r broken in 980520-SNAP (and stable?)? In-Reply-To: from Tom at "Jun 17, 98 03:14:32 pm" To: tom@uniserve.com (Tom) Date: Thu, 18 Jun 1998 08:27:37 +1000 (EST) Cc: jb@cimlogic.com.au, edmond@shaman.lycaeum.org, stable@FreeBSD.ORG, monty@tcx.se X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tom wrote: > Are you aware of the problems with MySQL? I have 2.2.6-stable of May > 21, and a signal/alarm test program (thr_alarm) hangs. No, I wasn't aware of that. > Also, how should -stable threaded applications be compiled and linked? > You mentioned before that "-pthread" should be used rather than linking > with libc_r? Does that apply to -stable too? I think -stable thread apps > need to be compiled with "-D_THREAD_SAFE" and linked with "-lc_r" but I'm > not sure anymore. -stable thread apps need to be compiled with -D_THREAD_SAFE to get a thread-safe errno. -current does not require that. Linking both -current and -stable uses -pthread to get the right libraries because people don't seem to be able to use -nostdlib. I'm going to try building MySQL on -current this morning. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message