https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28811
Alec Ari <neotheuser at ymail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |neotheuser at ymail dot com --- Comment #25 from Alec Ari <neotheuser at ymail dot com> --- Created attachment 40087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40087&action=edit relocation X against symbol `Y can not be used... I still have this problem, just ran git pull on master branch, this is my configure line: $ cd gcc && mkdir build && cd build $ ../configure --prefix=/home/<scrubbed>/git-toolchain-bin/usr --with-local-prefix=/home/<scrubbed>/git-toolchain-bin/usr --with-native-system-header-dir=/home/<scrubbed>/git-toolchain-bin/usr/include --disable-nls --disable-shared --disable-multilib --disable-libatomic --disable-libgomp --disable-libmpx --disable-libquadmath --disable-libssp --disable-libvtv --disable-libstdcxx-pch --enable-languages=c,c++ --disable-werror --without-isl --disable-libcilkrts --disable-libitm --disable-libsanitizer --disable-lto --disable-gold Replacing --disable-libstdcxx-pch with --disable-libstdcxx brings me this: xg++: error: unrecognized command line option '-funconfigured-libstdc++-v3' Adding/removing c++ from enabled languages seems to have no effect. Recompiling Binutils (2.27 branch) with CFLAGS="-O2 -fPIC" and CXXFLAGS="${CFLAGS}" added to configure line did not fix the issue (nor change it in any way) and compiling GCC with that same option causes it to die much earlier. This is as far as I've got so far trying to build a toolchain sysroot, very close!