|
|

测试报错,好像比常见的错误多了一个 [elf/tests] Error 2
NT -include include/libc-symbols.h > /sources/glibc-build/c++-types-check
out
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.3.6'
make: *** [check] Error 2
root:/sources/glibc-build#
root:/sources/glibc-build# grep Error glibc-check-log
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/nptl/tst-cond20.out] Error 1
make[2]: *** [/sources/glibc-build/nptl/tst-cond21.out] Error 1
make[1]: *** [nptl/tests] Error 2
make[2]: *** [/sources/glibc-build/elf/tst-tls13.out] Error 1
make[1]: *** [elf/tests] Error 2
make: *** [check] Error 2
然后安装的时候直接就报失败了
//make install Error!
Reducing stack by rule 2 (line 345), extdefs -> program
Stack now 0
Entering state 1
Now at end of input.
/tools/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld: :
o such file: No such file or directory
collect2: ld returned 1 exit status
Execution of gcc failed!
The script has found some problems with your installation!
Please read the FAQ and the README file and check the following:
- Did you change the gcc specs file (necessary after upgrading from
Linux libc5)?
- Are there any symbolic links of the form libXXX.so to old libraries?
Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong
libm.so should point to the newly installed glibc file - and there should be
only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU libc not as your
primary library!
make[1]: *** [install] Error 1
make[1]: Leaving directory `/sources/glibc-2.3.6'
make: *** [install] Error 2
root:/sources/glibc-build# |
|