LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: pinkme005

打算直接升级GLIBC,兄弟们帮忙进行一下风险评估

[复制链接]
发表于 2005-11-6 00:34:44 | 显示全部楼层
PS:还好,要是出海了在炸沉,估计他们要游泳回来了!
不知道这个像不像A计划
回复 支持 反对

使用道具 举报

发表于 2005-11-6 03:16:24 | 显示全部楼层
Post by d00m3d
Did anyone really try the method described here?

http://www.linuxsir.cn/bbs/showthread.php?t=164968



Do you mean the static build for the whole Chapter 5?
回复 支持 反对

使用道具 举报

发表于 2005-11-6 05:40:34 | 显示全部楼层
No, I mean the method described by 小丑奇兵, http://www.chinalinuxpub.com/doc/howto/Glibc2-HOWTO-4.html

Actually, this is the method described in the official glibc-howto. I know binary distros like RH, Debian etc can simply upgrade the glibc package without any needs to wipe out your existing system and rebuild it from scratch. But I don't have any experiences on this method.
回复 支持 反对

使用道具 举报

发表于 2005-11-6 08:22:27 | 显示全部楼层
oh, you mean to install a newer version in another directory and change the gcc specfile to point to the new glibc.

Am I right?
回复 支持 反对

使用道具 举报

发表于 2005-11-6 08:42:21 | 显示全部楼层
Yes.  Have you tried this method before?
回复 支持 反对

使用道具 举报

发表于 2005-11-6 08:57:20 | 显示全部楼层
not really, but I will try it next week. I don't have time for this now and I am still doing some research on toolchain compiliation (binutils/gcc/gilbc combination).

But I believe this method is straight forward and should be easy.


A new glibc is not much work.. glibc-2.3.6 is out and I will take it as a test then.
回复 支持 反对

使用道具 举报

发表于 2005-11-6 09:02:15 | 显示全部楼层
Look forward to seeing your success.  Please tell us good news.;)

Good luck!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-6 11:26:45 | 显示全部楼层
挂掉了。。。ld错误 ,居然找不到fprintf调用 ,,彻底昏迷 ,这可是众所皆知的stdlib啊。。。
这个新版本的2.16的ld是不是水货啊
/tmp/glibc-2.3.6/elf/sln.c:151: undefined reference to __errno_location'
/tmp/glibc-2.3.6/elf/sln.c:153: undefined reference to fprintf'
/tmp/glibc-2.3.6/elf/sln.c:166: undefined reference to access'
/tmp/glibc-2.3.6/elf/sln.c:174: undefined reference to strerror'
/tmp/glibc-2.3.6/elf/sln.c:175: undefined reference to stderr'
/tmp/glibc-2.3.6/elf/sln.c:185: undefined reference to __errno_location'
/tmp/glibc-2.3.6/elf/sln.c:184: undefined reference to __errno_location'
/tmp/glibc-2.3.6/elf/sln.c:160: undefined reference to stderr'
/tmp/glibc-2.3.6/elf/sln.c:161: undefined reference to /tmp/glibc-2.3.6/elf'
make[1]: *** [elf/others] Error 2
make[1]: Leaving directory


这是LD错误。。等会儿放狗去。。。兄弟们看看有没有什么好的补丁征对这个的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-6 16:12:25 | 显示全部楼层
升级成功,,相关GLIB的全部挂掉。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-6 16:14:42 | 显示全部楼层
升级成功,,相关GLIBC的全部挂掉。。XMAME/MPLAYER/XMMS启动为段错误。。。。。FCITX为LOCALE无法设置,调整中。。
剩下的观望中。。GTK2相关能够正常使用
几个在本机编译安装的游戏挂掉,TORCS/WESNOTH段错误
剩余测试观望中。。。。
回复 支持 反对

使用道具 举报

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

本版积分规则

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