|
机器比较慢,编译了快一个小时,发现出错了。
以下是部分编译的输出:
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,可是版本号也不对,我也不肯定是否应该打这个补丁了。
请高手解答,不胜感谢。 |
|