LinuxSir.cn,穿越时空的Linuxsir!

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

还是LFS6.6下第一遍编译glibc时的错误,求助

[复制链接]
发表于 2010-5-6 17:52:05 | 显示全部楼层 |阅读模式
机器比较慢,编译了快一个小时,发现出错了。
以下是部分编译的输出:
gcc -nostdlib -nostartfiles -o /bckup/sources/glibc-build/iconv/iconvconfig  -Wl,-dynamic-linker=/tools/lib/ld-linux.so.2   -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both /bckup/sources/glibc-build/csu/crt1.o /bckup/sources/glibc-build/csu/crti.o `gcc --print-file-name=crtbegin.o` /bckup/sources/glibc-build/iconv/iconvconfig.o /bckup/sources/glibc-build/iconv/strtab.o /bckup/sources/glibc-build/iconv/xmalloc.o /bckup/sources/glibc-build/iconv/hash-string.o  -Wl,-rpath-link=/bckup/sources/glibc-build:/bckup/sources/glibc-build/math:/bckup/sources/glibc-build/elf:/bckup/sources/glibc-build/dlfcn:/bckup/sources/glibc-build/nss:/bckup/sources/glibc-build/nis:/bckup/sources/glibc-build/rt:/bckup/sources/glibc-build/resolv:/bckup/sources/glibc-build/crypt:/bckup/sources/glibc-build/nptl /bckup/sources/glibc-build/libc.so.6 /bckup/sources/glibc-build/libc_nonshared.a -lgcc -lgcc_eh  `gcc --print-file-name=crtend.o` /bckup/sources/glibc-build/csu/crtn.o
/bckup/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc_eh
collect2: ld returned 1 exit status
make[2]: *** [/bckup/sources/glibc-build/iconv/iconvconfig] Error 1
make[2]: Leaving directory `/bckup/sources/glibc-2.11.1/iconv'
make[1]: *** [iconv/others] Error 2
make[1]: Leaving directory `/bckup/sources/glibc-2.11.1'
make: *** [all] Error 2

好像是说没有找到库gcc_eh
google了一下,好像是说要打补丁glibc-2.3.6-libgcc_eh-1.patch,可是版本号也不对,我也不肯定是否应该打这个补丁了。
请高手解答,不胜感谢。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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