configure - gcc >4.6 needed for JDK9 build
Andrew Haley
aph at redhat.com
Thu Jan 26 17:36:15 UTC 2017
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.
More information about the build-dev
mailing list