Hi - is there a group of people working on OpenJDK 8 for OpenBSD?
Christos Zoulas
christos at zoulas.com
Mon Apr 27 17:53:15 UTC 2015
On Apr 27, 1:34pm, bryan at bceassociates.com ("Bryan C. Everly") wrote:
-- Subject: Re: Hi - is there a group of people working on OpenJDK 8 for Open
| OK. It compiled for quite some time and then hit a warning that caused the
| build to stop. Apparently there is a "treat warnings as errors" flag set
| in the build scripts.
|
| I found it in hotspot/bsd/makefiles/gcc.make and commented it out just to
| keep moving.
|
| Next error I hit was in os_posix.cpp on line 175 and 195. RLIMIT_AS was
| not declared in this scope. From looking at the man page for getrlimit()
| it looks like that is one that isn't available on OpenBSD. While I should
| have spent more time looking for an analog (maybe RLIMIT_RSS or
| RLIMIT_DATA?) I just put an #ifndef __OpenBSD__ around the two code
| segments and pressed on.
It is different than those two. You could just
#ifdef RLIMIT_AS
around it, so it is not OpenBSD-specific. OpenBSD does not seem to have
RLIMIT_AS (or as it is otherwise known RLIMIT_VMEM).
christos
More information about the bsd-port-dev
mailing list