From owner-cvs-all Sun Jan 26 17: 6:49 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 056C237B401; Sun, 26 Jan 2003 17:06:48 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96FF243E4A; Sun, 26 Jan 2003 17:06:47 -0800 (PST) (envelope-from baka@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1921) id 411E7AE1C6; Sun, 26 Jan 2003 17:06:42 -0800 (PST) Date: Sun, 26 Jan 2003 17:06:42 -0800 From: Jon Mini To: David O'Brien , John Baldwin , Max Khon , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, joseph Subject: Re: Compiling libc and libc_r broken with new compiler code gene Message-ID: <20030127010642.GI27470@elvis.mu.org> Mail-Followup-To: David O'Brien , John Baldwin , Max Khon , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, joseph References: <20030124020731.B4730@FreeBSD.org> <20030126223020.GF23132@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030126223020.GF23132@dragon.nuxi.com> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David O'Brien [obrien@FreeBSD.org] wrote : > On Fri, Jan 24, 2003 at 12:54:41PM -0500, John Baldwin wrote: > > > you should use -lc_r in 5.x to link pthreads in > > > (or -lpthread when it will be ready, notice an 'l' after '-') > > > -pthread (which should be used in 4.x and earlier to link pthreads in) > > > is a no-op in 5.x afaik > > > > -pthread still works in 5.x. It basically means -lc_r on 5.x. > > If anyone has alternate views on how -pthread works in 5.x, please say. > I just follow the direction of the wind on this particular topic. "-pthread" should be specified until be deprecate it. That way we can switch over relatively easily by changing the resolution of the -pthread alias. Later, when libc_r is just a glimmer in the minds of old dodders, we can deprecate -pthread in favor of -lpthread. -- Jonathan Mini http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message