Currently the clang build on Linux is broken.
$ clang --version
clang version 4.0.1-10 (tags/RELEASE_401/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
With "bash configure --with-toolchain-type=clang" we get the following errors:
jdk/jdk/src/hotspot/os/linux/osContainer_linux.cpp:470:22: error: conversion from string literal to 'char *' is deprecated [-Werror,-Wc++11-compat-deprecated-writable-strings]
char* format = "%s " JULONG_FORMAT;
jdk/jdk/build/hotspot/variant-server/libjvm/gtest/libjvm.so: undefined reference to `objArrayOopDesc::obj_at(int) const'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
$ clang --version
clang version 4.0.1-10 (tags/RELEASE_401/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
With "bash configure --with-toolchain-type=clang" we get the following errors:
jdk/jdk/src/hotspot/os/linux/osContainer_linux.cpp:470:22: error: conversion from string literal to 'char *' is deprecated [-Werror,-Wc++11-compat-deprecated-writable-strings]
char* format = "%s " JULONG_FORMAT;
jdk/jdk/build/hotspot/variant-server/libjvm/gtest/libjvm.so: undefined reference to `objArrayOopDesc::obj_at(int) const'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
- duplicates
-
JDK-8223186 HotSpot compile warnings from GCC 9
-
- Resolved
-
-
JDK-8223639 [JVMCI] jvmciCompiler.cpp needs to include "oops/objArrayOop.inline.hpp""
-
- Resolved
-
- relates to
-
JDK-8223186 HotSpot compile warnings from GCC 9
-
- Resolved
-
-
JDK-8223639 [JVMCI] jvmciCompiler.cpp needs to include "oops/objArrayOop.inline.hpp""
-
- Resolved
-