From owner-cvs-all@FreeBSD.ORG Fri Dec 14 15:15:23 2007 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A8EA16A46C for ; Fri, 14 Dec 2007 15:15:23 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id AE11213C45D for ; Fri, 14 Dec 2007 15:15:22 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so350528anc.13 for ; Fri, 14 Dec 2007 07:15:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; bh=i6uK6kFYJIcqMmb+OG+/ScaullW3/3h+8v1eqvIV+mI=; b=xHzaBk3EOxirMSnCKknOvk9OVpJuwMaZ5qIjJylOzsJiEGtmsxkI9kBt31Z8MDReK4CYyvpv4+Vc71vRQDmzvlz/GxsMKT6xJxAQDXLa4NevLzQ+SIiu9MlSD9jbyOEK3wOs3cHXbVSvAJVLJHgMy2e8E/pB3Coq4RFn1wo/m5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=r5/AF5+YsT6bFgx8NKZ7KqVOzuk4+1K1n9v2oAfJOuckeKqrklhM+y/sWG6VvT+feMJBz0HbQjmfV+maPoIYvAKH6pvY239o1wYYJaIYZblAKeq+oMQEyW9qWiKmes5ETug5edcNdkgDybASs95GPhNjpQ0epZs5BJBq7vruT30= Received: by 10.100.44.4 with SMTP id r4mr7081116anr.55.1197645321482; Fri, 14 Dec 2007 07:15:21 -0800 (PST) Received: from kan.dnsalias.net ( [24.218.183.247]) by mx.google.com with ESMTPS id q26sm7369665ele.2007.12.14.07.15.10 (version=SSLv3 cipher=OTHER); Fri, 14 Dec 2007 07:15:17 -0800 (PST) Date: Fri, 14 Dec 2007 10:15:07 -0500 From: Alexander Kabaev To: David Schultz Message-ID: <20071214101507.099655b6@kan.dnsalias.net> In-Reply-To: <20071214062232.GA32835@VARK.MIT.EDU> References: <200712140308.lBE38Ae7061160@repoman.freebsd.org> <20071213235617.2b554b60@kan.dnsalias.net> <20071214062232.GA32835@VARK.MIT.EDU> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/8kpUV9C.VzfTaOeeU8qn.Fs"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Daniel Eischen , Yar Tikhiy , cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/msun Symbol.map X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2007 15:15:23 -0000 --Sig_/8kpUV9C.VzfTaOeeU8qn.Fs Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 14 Dec 2007 01:22:32 -0500 David Schultz wrote: > On Thu, Dec 13, 2007, Alexander Kabaev wrote: > > > http://cvsweb.FreeBSD.org/src/lib/msun/Symbol.map.diff?r1=3D1.5&r2=3D= 1.6 > >=20 > > This is just wrong IMHO. New exported symbols should not be > > introduced carelessly and certainly not should be added to the same > > namespace that exists in 7.0. Either we add these to 7.0 before it > > releases, or they should go into their own section which will start > > collecting all new libc symbols to appear in 8.0. > >=20 > > Daniel, Yar - what is your take on this? >=20 > Well, I don't particularly care, but I'll explain why I didn't > think it was important. >=20 > The symbols I added are reserved for use in the C math library > according to C99. Hence, any valid C program compiled against > libm.so.5 will not be affected. >=20 > Furthermore, I've been adding C99 functions to libc/libm little by > little for years. Occasionally people request that I MFC some of > them, and I do. Some of them get MFC'd before X.1-RELEASE, some of > them get MFC'd before X.2-RELEASE, and so on. Of course, if these > symbols get new versions when they get MFC'd to -STABLE, they need > to be versioned in -CURRENT as well. >=20 > In other words, the payoff for being pedantic is low, and the cost > is moderately high. So while I don't feel strongly about this, it > seems easier to declare that programs that abuse reserved C99 symbols > are not guaranteed to work, neither now nor in the future. If symbols you exported are from the category above and user deserves to be punished for using them, then they should go into FBSDPrivate. We make no guarantees about symbols that end up there. --=20 Alexander Kabaev --Sig_/8kpUV9C.VzfTaOeeU8qn.Fs Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHYp37Q6z1jMm+XZYRAumJAKCAO0qIzwmymzFahu0PDCyzS7GMjQCgjwTB menOvMTWNGOUiXMzfVOiMkE= =v8P8 -----END PGP SIGNATURE----- --Sig_/8kpUV9C.VzfTaOeeU8qn.Fs--