[Bug 3783] New: Issue building OpenJDK 14 on RHEL6
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Wed Mar 18 16:23:54 UTC 2020
https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3783
Bug ID: 3783
Summary: Issue building OpenJDK 14 on RHEL6
Product: IcedTea
Version: unspecified
Hardware: x86
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: IcedTea
Assignee: gnu.andrew at redhat.com
Reporter: mike at fireburn.co.uk
CC: unassigned at icedtea.classpath.org
I'm seeing the following failure:
I'm seeing the following failure:
In file included from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/oop.hpp:31,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/oopHandle.hpp:28,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/classfile/classLoaderData.hpp:31,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/classfile/systemDictionary.hpp:28,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/classfile/javaClasses.hpp:28,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/classfile/javaClasses.inline.hpp:28,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/build/linux-x86_64-server-release/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnter.cpp:27:
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp: In
member function 'bool markWord::has_bias_pattern() const':
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp:181:
warning: comparison between signed and unsigned integer expressions
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp: In
member function 'bool markWord::is_locked() const':
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp:214:
warning: comparison between signed and unsigned integer expressions
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp: In
member function 'bool markWord::is_unlocked() const':
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp:217:
warning: comparison between signed and unsigned integer expressions
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp: In
member function 'bool markWord::is_marked() const':
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp:220:
warning: comparison between signed and unsigned integer expressions
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp: In
member function 'bool markWord::is_neutral() const':
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp:222:
warning: comparison between signed and unsigned integer expressions
In file included from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/oop.hpp:31,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/oopHandle.hpp:28,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/classfile/classLoaderData.hpp:31,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/classfile/systemDictionary.hpp:28,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/classfile/javaClasses.hpp:28,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/classfile/javaClasses.inline.hpp:28,
from
/Compile_OpenJDK/jdk14u-jdk-14+36/build/linux-x86_64-server-release/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnter.cpp:27:
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp: In
member function 'bool markWord::has_no_hash() const':
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/oops/markWord.hpp:341:
warning: comparison between signed and unsigned integer expressions
In file included from
/Compile_OpenJDK/jdk14u-jdk-14+36/build/linux-x86_64-server-release/hotspot/variant-server/gensrc/jvmtifiles/jvmtiEnter.cpp:34:
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/prims/jvmtiRawMonitor.hpp:
In static member function 'static void* JvmtiRawMonitor::operator new(size_t)':
/Compile_OpenJDK/jdk14u-jdk-14+36/src/hotspot/share/prims/jvmtiRawMonitor.hpp:89:
error: 'template<MemoryType F> class CHeapObj' used without template parameters
At global scope:
I worked around the build issue with:
--- a/src/hotspot/share/prims/jvmtiRawMonitor.hpp
+++ b/src/hotspot/share/prims/jvmtiRawMonitor.hpp
@@ -84,11 +84,6 @@ class JvmtiRawMonitor : public CHeapObj<mtSynchronizer> {
M_INTERRUPTED // Thread.interrupt()
};
- // Non-aborting operator new
- void* operator new(size_t size) throw() {
- return CHeapObj::operator new(size, std::nothrow);
- }
-
JvmtiRawMonitor(const char* name);
~JvmtiRawMonitor();
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20200318/dbe82ae8/attachment-0001.htm>
More information about the distro-pkg-dev
mailing list