OK so I tried bash configure --with-stdc++lib=dynamic --disable-warnings-as-errors --disable-hotspot-gtest make clean images
And it worked OK. Mike > On 26 Jan 2017, at 17:36, Andrew Haley <[email protected]> wrote: > > On 26/01/17 17:33, Mike Burton wrote: >> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.a(ctype.o): >> relocation R_X86_64_32S against `vtable for std::ctype<wchar_t>' can not be >> used when making a shared object; recompile with -fPIC >> /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.a: could not read symbols: Bad >> value > > Your static libstdc++ has been compiled without -fPIC. Compiler without > static > libstdc++ and you'll be fine. > > Andrew. >
