Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2007 10:15:07 -0500
From:      Alexander Kabaev <kabaev@gmail.com>
To:        David Schultz <das@FreeBSD.ORG>
Cc:        Daniel Eischen <deischen@FreeBSD.ORG>, Yar Tikhiy <yar@FreeBSD.ORG>, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/msun Symbol.map
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <das@FreeBSD.ORG> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071214101507.099655b6>