LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1176|回复: 9

GCC 4.1.1 and glibc 2.4 going stable 本周周报

[复制链接]
发表于 2006-8-24 11:28:32 | 显示全部楼层 |阅读模式
GCC 4.1.1 and glibc 2.4 going stable

As you can guess by the title, the Gentoo base project has announced that sys-devel/gcc-4.1.1 and sys-libs/glibc-2.4-r3 will be going stable on both amd64 and x86 this week because of their use in the upcoming 2006.1 release. The ppc architecture has already switched, when using the 2006.1 profile. Other architectures are working on support and will switch over at a later date. This is a major milestone for Gentoo as it marks a transition from the previously deprecated LinuxThreads to Native POSIX Thread Library (NPTL) for glibc. Support for the older versions of glibc with LinuxThreads will remain for x86 in a limited fashion. However, upstream glibc will no longer support LinuxThreads, so bug and security fixes are unlikely. The white paper (PDF) has more information on the design of NPTL. There is a well-written comparison of LinuxThreads and NPTL on IBM DeveloperWorks.

Users on x86 wishing to continue using LinuxThreads are asked to switch to using the "no-nptl" profile for default-linux, or to switch to using a hardened profile.

Warning: The hardened profiles are much more minimalistic than the default-linux profiles that you may be accustomed to using. Switching to a hardened profile will likely require enabling many more USE flags in make.conf to retain the same functionality.

Code Listing 1.1: Switching to the no-nptl profile

# cd /etc
# rm -f make.profile
# ln -sf ../usr/portage/profiles/default-linux/x86/no-nptl

Note: There is also a 2.4 sub-profile, which uses the 2.4 kernel and headers.

This also marks a major upgrade of the GNU Compiler Collection (GCC) to version 4.1.1 on Gentoo. This upgrade requires the user to perform certain tasks outlined in the GCC Upgrading Guide, which has recently been updated with information on GCC 4.1.1 for Gentoo users.

Users who do not wish to upgrade to GCC 4.1.1 will require a few more steps to ensure their systems are not upgraded.

Code Listing 1.2: Masking GCC 4.1.1

# mkdir -p /etc/portage
# echo ">=sys-devel/gcc-4.0" >> /etc/portage/package.mask
 楼主| 发表于 2006-8-24 11:29:36 | 显示全部楼层
2006.1也快来了。本月底应该就有了。爽啊。Gentoo向来很准时。不象debian和freebsd那么爱跳票。本周gcc 2.4-r3 gcc 4.1.1进stable
回复 支持 反对

使用道具 举报

发表于 2006-8-24 13:56:26 | 显示全部楼层
glibc 2.4变成stable的了?
我的unstable怎么都还没有……
回复 支持 反对

使用道具 举报

发表于 2006-8-24 13:59:25 | 显示全部楼层
# /lib64/libc.so.6
GNU C Library development release version 2.4, by Roland McGrath et al.
......
回复 支持 反对

使用道具 举报

发表于 2006-8-24 14:17:51 | 显示全部楼层
portage里已经有2006.1的profile了,但是好像被deprecate了。期待ing……
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-24 16:00:40 | 显示全部楼层
本周末---周日吧。gentoo一向准时
回复 支持 反对

使用道具 举报

发表于 2006-8-24 18:41:13 | 显示全部楼层
我emerge -puD world 的时候怎么没有gcc-4.1.1和gcc-2.4啊,难道要改make.profile 到2006.1才会升级gcc 和glib吗?
我当然是emerge --sync过了!
回复 支持 反对

使用道具 举报

发表于 2006-8-24 19:37:15 | 显示全部楼层
Post by wsw
我emerge -puD world 的时候怎么没有gcc-4.1.1和gcc-2.4啊,难道要改make.profile 到2006.1才会升级gcc 和glib吗?
我当然是emerge --sync过了!

你的sync服务器更新不及时。
回复 支持 反对

使用道具 举报

发表于 2006-8-24 20:15:34 | 显示全部楼层
我刚从fei的服务器sync了,4.1.1还是~arch
回复 支持 反对

使用道具 举报

发表于 2006-8-24 21:09:03 | 显示全部楼层
顺便问一问,STL属于glibc吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表