cvs commit: src/lib/msun Symbol.map
kabaev at gmail.com
Fri Dec 14 07:15:23 PST 2007
On Fri, 14 Dec 2007 01:22:32 -0500
David Schultz <das at FreeBSD.ORG> wrote:
> On Thu, Dec 13, 2007, Alexander Kabaev wrote:
> > > http://cvsweb.FreeBSD.org/src/lib/msun/Symbol.map.diff?r1=1.5&r2=1.6
> > 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.
> > Daniel, Yar - what is your take on this?
> Well, I don't particularly care, but I'll explain why I didn't
> think it was important.
> 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.
> 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.
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20071214/6c65f866/signature.pgp
More information about the cvs-all