From owner-freebsd-current Tue Jun 16 19:38:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA20104 for freebsd-current-outgoing; Tue, 16 Jun 1998 19:38:44 -0700 (PDT) (envelope-from owner-freebsd-current@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 TAA20090 for ; Tue, 16 Jun 1998 19:38:38 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id MAA10102; Wed, 17 Jun 1998 12:44:33 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199806170244.MAA10102@cimlogic.com.au> Subject: Re: is libc_r broken in 980520-SNAP? In-Reply-To: from "Andrew N. Edmond" at "Jun 16, 98 07:18:39 pm" To: edmond@shaman.lycaeum.org (Andrew N. Edmond) Date: Wed, 17 Jun 1998 12:44:33 +1000 (EST) Cc: jb@cimlogic.com.au, current@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-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrew N. Edmond wrote: > I've been working with Monty at www.tcx.se (makers of MySQL - the best > free SQL database, ever :), and we've been having a very difficult time > with the libc_r in 980520-SNAP (clean install). There are a few unwelcome features that should be fixed now in -current. > > Monty writes: > > > It looks like the current -lc_r library is broken ! > > > > You can mail some freebsd developer the following test program ? > > This works if not linked with -lc_r. When linked with -lc_r > > this hangs ! > > > > Doesn't work with: > > > > gcc -o conftest -g -O2 conftest.c -lm -lcompat -lcrypt -lc_r You should be using -pthread and not -lc_r. You are linking against libc too. [...] > Should I cvsup the new libc_r - or is there a known working version of > this library? cvsup again. -- 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-current" in the body of the message