QNX + Erlang R18

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

QNX + Erlang R18

Денис Кононенко
Hello!
I'm try build Erlang R18 for QNX

My steps:
1 ./configure enable-bootstrap-only
2 make
success

erl_xcomp_sysroot=/opt/qnx650/target/qnx6 ./configure without-javac without-termcap disable-hipe host=XXXX build=YYY
make
make releas RELEASE_ROOT=....
success
copy result to the host system

./Install -minimal ....
success

/opt/otp18.3/bin/erl

Failed to create main carrier for temp_alloc

Abort (core dumped)


dump file not found


PS

uname -a

QNX localhost 6.5.0 2014/05/29-14:45:50EDT x86pc x86


 

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: QNX + Erlang R18

Lukas Larsson-8

On Thu, May 2, 2019 at 11:11 AM Денис Кононенко <[hidden email]> wrote:
Hello!
I'm try build Erlang R18 for QNX

My steps:
1 ./configure enable-bootstrap-only
2 make
success

erl_xcomp_sysroot=/opt/qnx650/target/qnx6 ./configure without-javac without-termcap disable-hipe host=XXXX build=YYY
make
make releas RELEASE_ROOT=....
success
copy result to the host system

./Install -minimal ....
success

/opt/otp18.3/bin/erl

Failed to create main carrier for temp_alloc

Abort (core dumped)


I would guess that this is because mmap does not work as Erlang wants it to work. I would suggest using strace (or similar tool) to see what syscalls are made and see what the calls to mmap returns. You could also try to disable the Erlang memory manager and fallback to malloc by using "erl +Meamin".
 


dump file not found


PS

uname -a

QNX localhost 6.5.0 2014/05/29-14:45:50EDT x86pc x86


 
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions