From owner-freebsd-threads@FreeBSD.ORG Fri Sep 5 17:26:40 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8135616A4BF; Fri, 5 Sep 2003 17:26:40 -0700 (PDT) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D97743FEA; Fri, 5 Sep 2003 17:26:37 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: from freebsd1.cimlogic.com.au (localhost [127.0.0.1]) by cimlogic.com.au (8.12.9/8.12.9) with ESMTP id h860SabZ031938; Sat, 6 Sep 2003 10:28:36 +1000 (EST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.12.9/8.12.9/Submit) id h860Sapr031937; Sat, 6 Sep 2003 10:28:36 +1000 (EST) Date: Sat, 6 Sep 2003 10:28:36 +1000 From: John Birrell To: deischen@FreeBSD.org Message-ID: <20030906002836.GB25237@freebsd1.cimlogic.com.au> References: <20030906000902.GA25237@freebsd1.cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: Loren James Rittle cc: freebsd-threads@FreeBSD.org Subject: Re: Removing -pthread from gcc X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2003 00:26:40 -0000 On Fri, Sep 05, 2003 at 08:18:08PM -0400, Daniel Eischen wrote: > If you link an application, then it will. But if you are linking > a library (OpenGL, libgthread, etc), I don't think you will get > the error. Why do you need an error when you build the library? Presumably ports people actually run the libraries that they build with an application to test them. If the thread functions don't resolve, you'll get a runtime error stating which library contained an unresolved reference. I think these things have a way of working themselves out without having to be too clever. 8-) -- John Birrell