configure - gcc >4.6 needed for JDK9 build

Mike Burton mikeb at mycosystems.co.uk
Thu Jan 26 19:16:46 UTC 2017


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 <aph at redhat.com> 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.
> 




More information about the build-dev mailing list