From owner-freebsd-current@FreeBSD.ORG Sat Feb 11 00:34:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63FC716A420 for ; Sat, 11 Feb 2006 00:34:58 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1444A43D46 for ; Sat, 11 Feb 2006 00:34:58 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.13.4/8.13.4) with ESMTP id k1B0Yslw096775; Fri, 10 Feb 2006 16:34:54 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.4/8.13.1/Submit) id k1B0Ysvj096774; Fri, 10 Feb 2006 16:34:54 -0800 (PST) (envelope-from sgk) Date: Fri, 10 Feb 2006 16:34:54 -0800 From: Steve Kargl To: Alexander Kabaev Message-ID: <20060211003454.GA96721@troutmask.apl.washington.edu> References: <20060210181715.GA21782@troutmask.apl.washington.edu> <20060210193907.GE2090@dan.emsphone.com> <20060210194503.GA10370@troutmask.apl.washington.edu> <20060210195204.GF2090@dan.emsphone.com> <20060210191637.374daa37@kan.dnsalias.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060210191637.374daa37@kan.dnsalias.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Dan Nelson Subject: Re: [jakub@redhat.com:Linking against libpthread via -pthread? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2006 00:34:58 -0000 On Fri, Feb 10, 2006 at 07:16:37PM -0500, Alexander Kabaev wrote: > > > > In the last episode (Feb 10), Steve Kargl said: > > > > > Some background information: I routinely build GCC mainline on > > > > > i386-*-freebsd and amd64-*-freebsd. GCC mainline is introducing > > > > > OpenMP support. When libgomp.so.1 is built, the compiler is > > > > > given the -pthread option throughout the construction of > > > > > libgomp.so.1. However, a "ldd libgomp.so.1" shows no dependence > > > > > on libpthread.so.2 (context snipped) > No. The change to link in libc by default and libpthread with -pthread > are inthe works and will be committed shortly. There is not way around > this if we want working versioned libc and libpthread in our system. Thanks for the info. I'll relay this to the GCC developers working on libgomp. -- Steve