From owner-freebsd-current@FreeBSD.ORG Sun Feb 3 16:27:30 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C909016A417; Sun, 3 Feb 2008 16:27:29 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 8E74B13C44B; Sun, 3 Feb 2008 16:27:29 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id D702B2084; Sun, 3 Feb 2008 17:27:20 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id C76112082; Sun, 3 Feb 2008 17:27:20 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id B1B38844B7; Sun, 3 Feb 2008 17:27:20 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Peter Wemm" References: <861w7um5o5.fsf@ds4.des.no> Date: Sun, 03 Feb 2008 17:27:20 +0100 In-Reply-To: (Peter Wemm's message of "Sun\, 3 Feb 2008 08\:59\:45 -0700") Message-ID: <86wspm0zvb.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: threads@freebsd.org, current@freebsd.org Subject: Re: Symbol versioning errors in libthr 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: Sun, 03 Feb 2008 16:27:30 -0000 "Peter Wemm" writes: > I'm not sure I see the point in that. Consider the not-moving-to-1.1 > case. If somebody takes an 8.0 binary and runs it on 7.x, then > they'll get a 'symbol not found' error. On the other hand, if they're > moved and somebody tries the same thing, then they still get the same > kind of 'symbol not found' error but with just one character > different. As you point out, it doesn't make much practical difference, so why not do it right? Why leave a bad example around for people who are trying to understand symbol versioning by looking at how it's done in existing libraries? DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no