-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
None
-
x86_64
-
linux
[Reported on build-dev list.]
Platform is Ubuntu 14.04, error message below:
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:
/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
collect2: ld returned 1 exit status
=== End of repeated output ===
Solved by building with gcc4.8.
Platform is Ubuntu 14.04, error message below:
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:
/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
collect2: ld returned 1 exit status
=== End of repeated output ===
Solved by building with gcc4.8.
- duplicates
-
JDK-8184338 switch minimum supported gcc version to 4.7
-
- Resolved
-