cvs commit: src/lib/libc/locale utf8.c

LI Xin delphij at delphij.net
Thu Oct 25 12:06:13 PDT 2007


Scott Long wrote:
> Andrey Chernov wrote:
>> On Thu, Oct 25, 2007 at 09:15:27AM -0600, Scott Long wrote:
>>> Andrey A. Chernov wrote:
>>>> ache        2007-10-15 09:51:30 UTC
>>>>   FreeBSD src repository
>>>>   Modified files:
>>>>     lib/libc/locale      utf8.c   Log:
>>>>   Add comment explaining __mb_sb_limit trick here.
>>>>     Revision  Changes    Path
>>>>   1.16      +5 -0      src/lib/libc/locale/utf8.c
>>> When is the ABI damage from this going to be fixed?
>>
>> There is no ABI damage in -current.
>>
> 
> Exposing the __mb_sb_limit symbol has instantly created a need
> to have a compat7x package, and is causing many users problems
> during upgrades and normal operations.  It may not be a problem
> for you, Andre, but it's a problem for everyone else.  Please
> respect this and fix it.

Well, I think the problem is not exposing a new symbol by itself, but
__mb_sb_limit is being used in _ctype.h, in a form of __inline
functions.  Therefore, the change will break new binaries running on
older systems.  Personally I think this is acceptable, but maybe we
could have a better way to avoid this, because the binaries are no
longer backward compatible (i.e. you may have trouble running a program
compiled for 6.3-RELEASE on 6.2-RELEASE, if it uses locale bits).

As a workaround as discussed with rafan@ we have installed a workaround
for now, which installs libc.so.6 before all other shared objects, which
will make the problem invisible.

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20071025/eeabc8d4/signature.pgp


More information about the cvs-src mailing list