关于交叉工具链的工作已经完成

0 views
Skip to first unread message

echo jonsk

unread,
Jun 27, 2010, 10:23:25 PM6/27/10
to archlinux移植邮件列表
目前我已经完成了交叉编译的工具链,是基于Gentoo编译的,需要运行在glibc2.11的版本之上,除了我所做的这个版本的之外,我还找到了龙芯提供的交叉编译用工具链:

这四个是龙芯提供的
cross-loongson-gcc-4.4.1-binutils-2.20.tar.gz
gcc-3.4.6-newbin.tar.gz
mips-elf.tar.gz (gcc 2.95)
gcc-4.3-cross-loongson.tar.gz

这一个是我制作的
cross-tools.tar.bz2

如无意外,今天晚上会上传到athurg提供的FTP上,到时大家可以下载。

Hamo

unread,
Jun 27, 2010, 10:54:57 PM6/27/10
to go...@googlegroups.com
希望可以提供文档和工作记录让我这个小菜鸟学习一下
:-)

--
Sent from my mobile device

"""
Keep It Simple,Stupid.
"""

Chinese Name: 白杨
Nick Name: Hamo
Homepage: http://hamobai.com/
GPG KEY ID: 0xA4691A33
Key fingerprint = 09D5 2D78 8E2B 0995 CF8E 4331 33C4 3D24 A469 1A33

Athurg Gooth

unread,
Jul 2, 2010, 7:12:28 PM7/2/10
to go...@googlegroups.com
check cross-tools.tar.bz2 is bad
-----------------------
yeap, I am AT
Welcome to http://www.gooth.cn

Hamo

unread,
Jul 2, 2010, 7:42:27 PM7/2/10
to go...@googlegroups.com
我在编一套amd64的工具链,到时候有需要的同学可以找我要...

2010/7/3 Athurg Gooth <ath...@gooth.cn>:

--

Hamo

unread,
Jul 4, 2010, 11:28:06 PM7/4/10
to go...@googlegroups.com
编译工具链最后的gcc的时候出错了...大家看看有什么问题

......
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld: failed
to merge target specific data of file
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(setitimer.o)
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld:
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(dl-deps.o):
ABI is incompatible with that of the selected emulation
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld: failed
to merge target specific data of file
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(dl-deps.o)
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld:
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(dl-init.o):
ABI is incompatible with that of the selected emulation
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld: failed
to merge target specific data of file
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(dl-init.o)
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld:
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(dl-fini.o):
ABI is incompatible with that of the selected emulation
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld: failed
to merge target specific data of file
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(dl-fini.o)
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld:
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(dl-version.o):
ABI is incompatible with that of the selected emulation
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld: failed
to merge target specific data of file
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(dl-version.o)
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld:
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(dl-sym.o):
ABI is incompatible with that of the selected emulation
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld: failed
to merge target specific data of file
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(dl-sym.o)
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld:
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/crtn.o: ABI is
incompatible with that of the selected emulation
/home/guest/CLFS/cross-tools/bin/mips64el-unknown-linux-gnu-ld: failed
to merge target specific data of file
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/crtn.o
/home/guest/CLFS/home/guest/CLFS/tools/lib/../lib/libc.a(abort.o): In
function `abort':
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:59: relocation
truncated to fit: R_MIPS_GOT_PAGE against `.bss'+8
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:59: relocation
truncated to fit: R_MIPS_GOT_OFST against `.bss'+8
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:59: relocation
truncated to fit: R_MIPS_GOT_OFST against `.bss'+8
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:59: relocation
truncated to fit: R_MIPS_GOT_OFST against `.bss'+8
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:59: relocation
truncated to fit: R_MIPS_CALL16 against `__lll_lock_wait_private'
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:64: relocation
truncated to fit: R_MIPS_GOT_PAGE against `.bss'+18
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:64: relocation
truncated to fit: R_MIPS_GOT_OFST against `.bss'+18
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:74: relocation
truncated to fit: R_MIPS_GOT_OFST against `.bss'+18
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:74: relocation
truncated to fit: R_MIPS_GOT_PAGE against `.bss'+18
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:81: relocation
truncated to fit: R_MIPS_GOT_OFST against `.bss'+18
/home/guest/CLFS/sources/glibc-2.11.2/stdlib/abort.c:99: additional
relocation overflows omitted from the output
make[4]: *** [libgcc_s.so] Error 1
make[4]: Leaving directory
`/home/guest/CLFS/sources/gcc-build/mips64el-unknown-linux-gnu/32/libgcc'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory
`/home/guest/CLFS/sources/gcc-build/mips64el-unknown-linux-gnu/libgcc'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory
`/home/guest/CLFS/sources/gcc-build/mips64el-unknown-linux-gnu/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/guest/CLFS/sources/gcc-build'
make: *** [all] Error 2


2010/7/3 Hamo <ham...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages