status of OpenJDK on Haiku

Humdinger humdingerb at googlemail.com
Fri Apr 27 05:55:01 UTC 2018


On Thursday, 26 April 2018 21:05:36 GMT+2, Hamish Morrison wrote:
> Well done getting this far!

I didn't really do anything, just uncomment some obvious lines and running 
the recipe. :)

> Attempting to malloc a contiguous 
> 200MB of memory might not work so well on a 32-bit operating 
> system. One thing to try is disabling ASLR:
>
> export DISABLE_ASLR=1

That's already done, see
https://github.com/haikuports/haikuports/blob/master/dev-lang/openjdk/openjdk-1.8.u40_b27.recipe

> The path length limit is strange - I wonder if this is some 
> restriction I accidentally introduced into the Haiku port...

On IRC the guys said:

[19:42] <Diver1> #define MAX_PATH B_FILE_NAME_LENGTH
[19:42] <Diver1> 
https://bitbucket.org/hamishm/haiku-jdk8u-hotspot/src/e5ab6f7ff24129d8ee25dd8a1d84c329a6e4bc18/src/os/haiku/vm/os_haiku.cpp?at=default&fileviewer=file-view-default#os_haiku.cpp-106
[19:43] <DeadYak> uh...that's problematic
[19:43] <DeadYak> should be B_PATH_NAME_LENGTH

I tried using B_PATH_NAME_LENGTH instead, no difference.


All that certification business is done in the recipe's INSTALL() section. 
I wonder why it should strain the available memory...
-- 

Regards,
Humdinger

--
Meet up at BeGeistert 031 in Hamburg
Details at https://discuss.haiku-os.org/t/begeistert-031/6750

Help translating 3rd party Haiku applications
Go to http://i18n.kacperkasper.pl


More information about the haiku-port-dev mailing list