https://sourceware.org/bugzilla/show_bug.cgi?id=17219
Bug ID: 17219 Summary: ld/mips: can no longer build libstdc++ (gcc 4.8/4.9) Product: binutils Version: 2.25 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: manuel.lauss at gmail dot com For the last few days, current git-head of binutils is unable to build libstdc++ during cross-build of gcc: libtool: link: /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/./gcc/xgcc -shared-libgcc -B/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/./gcc -nostdinc++ -L/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/mipsel-softfloat-linux-gnu/libstdc++-v3/src -L/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/mipsel-softfloat-linux-gnu/libstdc++-v3/src/.libs -L/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/mipsel-softfloat-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/mipsel-softfloat-linux-gnu/bin/ -B/usr/mipsel-softfloat-linux-gnu/lib/ -isystem /usr/mipsel-softfloat-linux-gnu/include -isystem /usr/mipsel-softfloat-linux-gnu/sys-include -shared -nostdlib /usr/mipsel-softfloat-linux-gnu/usr/lib/crti.o /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/./gcc/crtbeginS.o .libs/compatibility.o .libs/compatibility-debug_list.o .libs/compatibility-debug_list-2.o .libs/compatibility-c++0x.o .libs/compatibility-atomic-c++0x.o .libs/compatibility-thread-c++0x.o .libs/compatibility-chrono.o .libs/compatibility-condvar.o -Wl,--whole-archive ../libsupc++/.libs/libsupc++convenience.a ../src/c++98/.libs/libc++98convenience.a ../src/c++11/.libs/libc++11convenience.a -Wl,--no-whole-archive -L/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/mipsel-softfloat-linux-gnu/libstdc++-v3/libsupc++/.libs -L/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/mipsel-softfloat-linux-gnu/libstdc++-v3/src -L/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/mipsel-softfloat-linux-gnu/libstdc++-v3/src/.libs -lm -L/tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/./gcc -L/usr/mipsel-softfloat-linux-gnu/lib -L/usr/mipsel-softfloat-linux-gnu/usr/lib -lc -lgcc_s /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/work/build/./gcc/crtendS.o /usr/mipsel-softfloat-linux-gnu/usr/lib/crtn.o -Wl,-O1 -Wl,-z -Wl,relro -Wl,--gc-sections -Wl,--version-script=libstdc++-symbols.ver -Wl,-soname -Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.20 /usr/libexec/gcc/mipsel-softfloat-linux-gnu/ld: .libs/compatibility.o: relocation R_MIPS_26 against `memmove' can not be used when making a shared object; recompile with -fPIC .libs/compatibility.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status Also, builds are full of these messages: /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/temp/ccGy6M7d.s: Assembler messages: /tmp-ram/portage/cross-mipsel-softfloat-linux-gnu/gcc-4.9.0/temp/ccGy6M7d.s: Warning: .gnu_attribute 4,3 requires `softfloat' -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils