近期使用pkg安装的软件运行出错的原因

weixin_38068381 2007-11-30 07:48:03

这几天用pkg_add -r 安装的6-stable的软件运行时可能会出错,原因如下:

http://lists.freebsd.org/pipermail/cvs-src/2007-November/084046.html

rafan       2007-11-21 01:31:49 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    include              _ctype.h ctype.h
    lib/libc/locale      big5.c euc.c gb18030.c gb2312.c gbk.c
                         isctype.c mskanji.c none.c
                         setrunelocale.c utf8.c
    sys/sys              param.h
  Log:
  - Back out previous ctype(3) fix for UTF-8 locale due to forward ABI
    compatibility is still broken as we add new symbols to libc. Those
    symboles are __sbmaskrune, __sbistype, __sbtoupper and __sbtolower.
    The latter three are directly referred by binaries use ctype(3) family
    functions (see include/ctype.h for details). This means if a binary
    built on 6.3, it uses these symbols that are not available on older
    system.
  - As this has been in 6 for a month, I intentionally leave these symbols
    in libc but map them to original version. So binary built after 602113
    will not be broken after this commit.
  - Bump __FreeBSD_version for this back-out
  
  PR:             116363
  Discussed with: kris, kensmith
  Approved by:    re (kensmith)
  
  Revision    Changes    Path
  1.30.2.3    +5 -29     src/include/_ctype.h
  1.28.8.2    +21 -21    src/include/ctype.h
  1.17.2.2    +0 -3      src/lib/libc/locale/big5.c
  1.21.2.2    +0 -3      src/lib/libc/locale/euc.c
  1.7.2.2     +0 -3      src/lib/libc/locale/gb18030.c
  1.9.2.2     +0 -3      src/lib/libc/locale/gb2312.c
  1.12.2.2    +0 -3      src/lib/libc/locale/gbk.c
  1.9.14.2    +19 -19    src/lib/libc/locale/isctype.c
  1.17.2.2    +0 -3      src/lib/libc/locale/mskanji.c
  1.13.2.2    +1 -6      src/lib/libc/locale/none.c
  1.45.2.2    +0 -5      src/lib/libc/locale/setrunelocale.c
  1.13.2.3    +0 -8      src/lib/libc/locale/utf8.c
  1.244.2.32  +1 -1      src/sys/sys/param.h

要升级的朋友最好把内核升级到6.3,或6-stable;用ports安装也可以。
...全文
199 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧