ld 的问题哪位知道怎么回事?

make subdir=rt -C rt ..=../ others
make[2]: Entering directory '/home/jiangtao/old/core/glibc/src/glibc/rt'
gcc -mabi=64 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/usr/lib/ld.so.1 -B/home/jiangtao/old/core/glibc/src/glibc-build/csu/ -Wl,--version-script=/home/jiangtao/old/core/glibc/src/glibc-build/librt.map -Wl,-soname=librt.so.1 -Wl,-z,relro -Wl,-z,now -Wl,--enable-new-dtags,-z,nodelete -L/home/jiangtao/old/core/glibc/src/glibc-build -L/home/jiangtao/old/core/glibc/src/glibc-build/math -L/home/jiangtao/old/core/glibc/src/glibc-build/elf -L/home/jiangtao/old/core/glibc/src/glibc-build/dlfcn -L/home/jiangtao/old/core/glibc/src/glibc-build/nss -L/home/jiangtao/old/core/glibc/src/glibc-build/nis -L/home/jiangtao/old/core/glibc/src/glibc-build/rt -L/home/jiangtao/old/core/glibc/src/glibc-build/resolv -L/home/jiangtao/old/core/glibc/src/glibc-build/crypt -L/home/jiangtao/old/core/glibc/src/glibc-build/mathvec -L/home/jiangtao/old/core/glibc/src/glibc-build/support -L/home/jiangtao/old/core/glibc/src/glibc-build/nptl -Wl,-rpath-link=/home/jiangtao/old/core/glibc/src/glibc-build:/home/jiangtao/old/core/glibc/src/glibc-build/math:/home/jiangtao/old/core/glibc/src/glibc-build/elf:/home/jiangtao/old/core/glibc/src/glibc-build/dlfcn:/home/jiangtao/old/core/glibc/src/glibc-build/nss:/home/jiangtao/old/core/glibc/src/glibc-build/nis:/home/jiangtao/old/core/glibc/src/glibc-build/rt:/home/jiangtao/old/core/glibc/src/glibc-build/resolv:/home/jiangtao/old/core/glibc/src/glibc-build/crypt:/home/jiangtao/old/core/glibc/src/glibc-build/mathvec:/home/jiangtao/old/core/glibc/src/glibc-build/support:/home/jiangtao/old/core/glibc/src/glibc-build/nptl -o /home/jiangtao/old/core/glibc/src/glibc-build/rt/librt.so -T /home/jiangtao/old/core/glibc/src/glibc-build/shlib.lds /home/jiangtao/old/core/glibc/src/glibc-build/csu/abi-note.o -Wl,--whole-archive /home/jiangtao/old/core/glibc/src/glibc-build/rt/librt_pic.a -Wl,--no-whole-archive /home/jiangtao/old/core/glibc/src/glibc-build/nptl/libpthread_nonshared.a /home/jiangtao/old/core/glibc/src/glibc-build/nptl/libpthread.so -Wl,--start-group /home/jiangtao/old/core/glibc/src/glibc-build/libc.so /home/jiangtao/old/core/glibc/src/glibc-build/libc_nonshared.a -Wl,--as-needed /home/jiangtao/old/core/glibc/src/glibc-build/elf/ld.so -Wl,--no-as-needed -Wl,--end-group
/usr/bin/ld: BFD (GNU Binutils) 2.29 assertion fail /home/jiangtao/old/core/binutils/src/binutils-gdb/bfd/elfxx-mips.c:9007
/usr/bin/ld: BFD (GNU Binutils) 2.29 assertion fail /home/jiangtao/old/core/binutils/src/binutils-gdb/bfd/elfxx-mips.c:9007
/usr/bin/ld: BFD (GNU Binutils) 2.29 assertion fail /home/jiangtao/old/core/binutils/src/binutils-gdb/bfd/elfxx-mips.c:9007
/usr/bin/ld: BFD (GNU Binutils) 2.29 assertion fail /home/jiangtao/old/core/binutils/src/binutils-gdb/bfd/elfxx-mips.c:9007
/usr/bin/ld: BFD (GNU Binutils) 2.29 assertion fail /home/jiangtao/old/core/binutils/src/binutils-gdb/bfd/elfxx-mips.c:9007
collect2: error: ld returned 1 exit status
make[2]: *** [../Makerules:599: /home/jiangtao/old/core/glibc/src/glibc-build/rt/librt.so] Error 1
make[2]: Leaving directory '/home/jiangtao/old/core/glibc/src/glibc/rt'
make[1]: *** [Makefile:215: rt/others] Error 2
make[1]: Leaving directory '/home/jiangtao/old/core/glibc/src/glibc'
make: *** [Makefile:9: all] Error 2

注意,debian 上面有类似的这个 bug ,我已经打了对应的补丁但不管用。
而且 2.29 应该已经包含了这个补丁修复,我在源代码上也看到了。我多余打上的 patch 也没起作用。

我估计我这个问题可能不是这个 bug 导致的,后面的行号不一样。但是找不到其他的解决方案了。
已邀请:

要回复问题请先登录注册