From owner-freebsd-threads@FreeBSD.ORG Fri Jun 27 04:21: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 25AD437B401; Fri, 27 Jun 2003 04:21:40 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78B5F44005; Fri, 27 Jun 2003 04:21:39 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h5RBLcXh022434; Fri, 27 Jun 2003 07:21:38 -0400 (EDT) Date: Fri, 27 Jun 2003 07:21:38 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Marcel Moolenaar In-Reply-To: <20030627085158.GA42350@dhcp01.pn.xcllnt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@freebsd.org cc: Ruslan Ermilov Subject: Re: Obsoleting libc_r: How to create compat links X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 11:21:40 -0000 On Fri, 27 Jun 2003, Marcel Moolenaar wrote: > On Fri, Jun 27, 2003 at 11:05:50AM +0300, Ruslan Ermilov wrote: > > Funny thing: reading your commit mail, and right after that > > receiving this message. :-) > > > > On Fri, Jun 27, 2003 at 12:56:07AM -0700, Marcel Moolenaar wrote: > > > [Ruslan added for his insights] > > > > > > Ok, > > > > > > I decided to obsolete libc_r on ia64 so that I can de-pessimize the > > > setjmp/longjmp code some time before 5.2 and have sufficient time to > > > deal with problems due to not having libc_r. > > > > > > One thing we probably want to do is create compatibility links from > > > libc_r* to libthr* or libkse*. At this time I libthr is tested on > > > ia64, so I opt to have libc_r linked to libthr. What's the best way > > > to do that, so that it can be used for other platforms in due time? > > > > > First off, symlinking won't help old binaries that were linked > > dynamically with libc_r.so.X, but you're supposed to well know > > that already. :-) > > Correct. I'm not worried about compatibility with previous releases > and the likes, because ia64 is still tier 2. I want "cc -pthread" > to work. -pthread is obsoleted in -current. I'm surprised that it hasn't been nuked yet. There hasn't been a need for it in well over 2 years. Just use -lpthread (-lkse) or -lthr. -- Dan Eischen