红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > 龙芯

总结:得到龙芯2F盒子之后我遇到过的解决过的或者正在解决的问题

发布时间:2009-02-06 19:37:31来源:红联作者:stesen
总结的依据来自:
1. 各个邮件列表发的邮件
2. 各个项目的bugzilla的报告
2. lemote.com论坛的发帖
3. Gentoo龙芯Overlay的记录

以下记录依照时间顺序(由早到晚)排列:

1. 首次用-march=loongson2f参数重新编译整个系统
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg

2. 2.6.18.8内核gcc 4.4补丁
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg

3. Gentoo上交叉编译原生龙芯编译器时遇到的有关limits.h的问题
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.nabble.com/cpp-found-limi...d19496152.html
http://www.nabble.com/Re%3A-cpp-foun...p19870991.html

4. gcc 4.4 编译2.6.26内核时的一个undefined reference错误
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.nabble.com/-Bug-c-36359--...d17523355.html
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg

5. gcc中libgcc的安装路径问题
http://www.nabble.com/install-path-i...d19928924.html
http://www.nabble.com/-PATCH--fix-in...d19960493.html

6. 龙芯2e盒子pci controller之io_map_base补丁(即"libata"补丁)
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.nabble.com/-PATCH--define...d20115413.html
http://www.nabble.com/-PATCH-1-2--de...d20133268.html
http://www.nabble.com/-PATCH--lemote...d20190522.html

7. 研究mips plt的实现
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg

8. 测试并修正阮贝鸿的龙芯特有整数乘除法指令补丁
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.nabble.com/A-happy-proble...d20409050.html

9. gcc 4.4 -O2优化级别的一个bug(与-foptimize-sibling-calls有关)
这个问题也与前面第3个问题有关,如果没有这个问题,我就不会尝试交叉编译原生编译器
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38052

10. xorg-server-1.5.2引入libpciaccess,因为mips内核的功能缺失导致此版本xorg-server不能运行(尚未解决)
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.nabble.com/xorg-server-1....d20856691.html

11. binutils曾导致的死机问题
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg

12. 尝试n32 ABI
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg

13. n32 ABI环境下-mplt参数实际不能利用
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://www.nabble.com/MIPS--mplt-opt...d20777579.html

14. n32 ABI环境下ldconfig不能产生ld.so.1所需要的ld.so.cache
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg
http://sourceware.org/bugzilla/show_bug.cgi?id=7074

15. n32系统调用setresuid引发的kernel oops
http://www.lemote.com/bbs/viewthread...light=%2Bzhllg

16. 以上所有问题相关的ebuild(如果有的话)均可以在我的龙芯overlay里找到
http://www.gentoo-cn.org/gitweb/?p=loongson;a=summary
包括:
gcc 4.4所需要的新library的ebuild
很多library的gcc 4.4补丁(asm constraint "h"相关)
gcc 4.4和binutils的live ebuild
glibc 2.9的ebuild
xorg-server和mesa的ebuild等等

(e:e2s cp自http://www.linuxsir.org/bbs/thread340419.html

[ 本帖最后由 stesen 于 2009-2-6 19:38 编辑 ]
文章评论

共有 1 条评论

  1. 疯牛 于 2009-03-28 16:50:43发表:

    hehe