OK. That does make more sense. I've modified my local copy to use that #ifdef.
Thanks, Bryan On Mon, Apr 27, 2015 at 1:53 PM, Christos Zoulas <chris...@zoulas.com> wrote: > On Apr 27, 1:34pm, br...@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 >