[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OpenJDK in core-updates
From: |
Andreas Enge |
Subject: |
OpenJDK in core-updates |
Date: |
Wed, 5 Apr 2023 12:19:44 +0200 |
Hello,
something we have done recently in core-updates breaks the build of OpenJDK,
already at version 9. If someone could have a look, that would be great!
Andreas
/tmp/guix-build-openjdk-9.181.drv-0/source/hotspot/src/share/vm/opto/lcm.cpp:
In function ‘bool accesses_heap_base_zone(Node*)’:
/tmp/guix-build-openjdk-9.181.drv-0/source/hotspot/src/share/vm/opto/lcm.cpp:42:35:
error: ordered comparison of pointer with integer zero (‘address’ {aka
‘unsigned char*’} and ‘int’)
42 | if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
make[3]: *** [lib/CompileJvm.gmk:209:
/tmp/guix-build-openjdk-9.181.drv-0/source/build/linux-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/lcm.o]
Error 1
Hm, it might be enough to replace "> 0" by "!= NULL" ?
- OpenJDK in core-updates,
Andreas Enge <=