Pre-compiled Erlang/OTP 20 Binary for Solaris x86

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Pre-compiled Erlang/OTP 20 Binary for Solaris x86

austin aigbe-2
Hello,

Please any precompiled Erlang OTP binary for Solaris 10 x86.

Especially Erlang OTP 19 to OTP 20. 

OpenCSW has version R16B which is always crashing. I tested this on my Solaris 10 x86 vagrant box 

austin@srap01:~/solaris-10-x86-box$ vagrant ssh
Last login: Thu Jul  6 15:47:38 2017 from 10.0.2.2
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
-bash-3.2$ su
Password:
# pkgutil -i erlang
Solving needed dependencies ...
Solving dependency order ...
4 CURRENT packages:
        CSWcommon-1.5,REV=2010.12.11
        CSWlibncurses5-5.9,REV=2011.11.21
        CSWlibssl1-0-0-1.0.1u,REV=2016.10.04
        CSWterminfo-6.0,REV=2016.04.01
Install 1 NEW packages:
        CSWerlang-R16B,REV=2013.06.06 (OpenCSW/stable)
Total size: 72.1 MB
=> Fetching CSWerlang-R16B,REV=2013.06.06 (1/1) ...

...
 CSWerlang  erlang - A functional programming language from Ericsson
              (i386) R16B,REV=2013.06.06
...

/opt/csw/share/doc/erlang/license
[ verifying class <none> ]

Installation of <CSWerlang> was successful.
#


# erl
{error_logger,{{2017,7,6},{17,40,32}},"~s~n",["beam/beam_load.c(1051): Error loading module hipe_unified_loader:\n  form size 29016 greater than size 28759 of binary\n"]}
{error_logger,{{2017,7,6},{17,40,32}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{'EXIT',{undef,[{hipe_unified_loader,module_info,[module],[]},{code,'-load_code_server_prerequisites/0-lc$^0/1-0-',1,[{file,"code.erl"},{line,367}]},{code,load_code_server_prerequisites,0,[{file,"code.erl"},{line,367}]},{code,do_start,1,[{file,"code.erl"},{line,324}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,308}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,291}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,257}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]}]}}},{offender,[{pid,undefined},{name,code_server},{mfargs,{code,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2017,7,6},{17,40,32}},crash_report,[[{initial_call,{application_master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{pid,<0.9.0>},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,code_server,{'EXIT',{undef,[{hipe_unified_loader,module_info,[module],[]},{code,'-load_code_server_prerequisites/0-lc$^0/1-0-',1,[{file,"code.erl"},{line,367}]},{code,load_code_server_prerequisites,0,[{file,"code.erl"},{line,367}]},{code,do_start,1,[{file,"code.erl"},{line,324}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,308}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,291}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,257}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]}]}}}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"application_master.erl"},{line,138}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}},{ancestors,[<0.8.0>]},{messages,[{'EXIT',<0.10.0>,normal}]},{links,[<0.8.0>,<0.7.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,987},{stack_size,27},{reductions,201}],[]]}
{error_logger,{{2017,7,6},{17,40,32}},std_info,[{application,kernel},{exited,{{shutdown,{failed_to_start_child,code_server,{'EXIT',{undef,[{hipe_unified_loader,module_info,[module],[]},{code,'-load_code_server_prerequisites/0-lc$^0/1-0-',1,[{file,"code.erl"},{line,367}]},{code,load_code_server_prerequisites,0,[{file,"code.erl"},{line,367}]},{code,do_start,1,[{file,"code.erl"},{line,324}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,308}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,291}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,257}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]}]}}}},{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,code_server,{'EXIT',{undef,[{hipe_unified_loader,module_info,[module],[]},{code,'-load_code_server_prerequisites/0-lc$^0/1-0-',1,[{file,\"code.erl\"},{line,367}]},{code,load_code_server_prerequisites,0,[{file,\"code.erl\"},{line,367}]},{code,do_start,1,[{file,\"code.erl\"},{line,324}]},{supervisor,do_start_child,2,[{file,\"supervisor.erl\"},{line,308}]},{supervisor,start_children,3,[{file,\"supervisor.erl\"},{line,291}]},{supervisor,init_children,2,[{file,\"supervisor.erl\"},{line,257}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,304}]}]}}}},{kernel,start,[normal,[]]}}}"}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,code_server,{'EXIT',{undef,[{hipe_unified_loader,module_info,[module],[]},{code,'-
#

Thanks.

BR,
Austin


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

Re: Pre-compiled Erlang/OTP 20 Binary for Solaris x86

Dmytro Lytovchenko
Please use kerl
it will download the version you want and build it for you

Note that when building under Solaris HiPE feature should be disabled with the "--disable-hipe" option (as per this guide https://gist.github.com/drewkerrigan/7795322 )

2017-07-07 13:42 GMT+02:00 austin aigbe <[hidden email]>:
Hello,

Please any precompiled Erlang OTP binary for Solaris 10 x86.

Especially Erlang OTP 19 to OTP 20. 

OpenCSW has version R16B which is always crashing. I tested this on my Solaris 10 x86 vagrant box 

austin@srap01:~/solaris-10-x86-box$ vagrant ssh
Last login: Thu Jul  6 15:47:38 2017 from 10.0.2.2
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
-bash-3.2$ su
Password:
# pkgutil -i erlang
Solving needed dependencies ...
Solving dependency order ...
4 CURRENT packages:
        CSWcommon-1.5,REV=2010.12.11
        CSWlibncurses5-5.9,REV=2011.11.21
        CSWlibssl1-0-0-1.0.1u,REV=2016.10.04
        CSWterminfo-6.0,REV=2016.04.01
Install 1 NEW packages:
        CSWerlang-R16B,REV=2013.06.06 (OpenCSW/stable)
Total size: 72.1 MB
=> Fetching CSWerlang-R16B,REV=2013.06.06 (1/1) ...

...
 CSWerlang  erlang - A functional programming language from Ericsson
              (i386) R16B,REV=2013.06.06
...

/opt/csw/share/doc/erlang/license
[ verifying class <none> ]

Installation of <CSWerlang> was successful.
#


# erl
{error_logger,{{2017,7,6},{17,40,32}},"~s~n",["beam/beam_load.c(1051): Error loading module hipe_unified_loader:\n  form size 29016 greater than size 28759 of binary\n"]}
{error_logger,{{2017,7,6},{17,40,32}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{'EXIT',{undef,[{hipe_unified_loader,module_info,[module],[]},{code,'-load_code_server_prerequisites/0-lc$^0/1-0-',1,[{file,"code.erl"},{line,367}]},{code,load_code_server_prerequisites,0,[{file,"code.erl"},{line,367}]},{code,do_start,1,[{file,"code.erl"},{line,324}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,308}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,291}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,257}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]}]}}},{offender,[{pid,undefined},{name,code_server},{mfargs,{code,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2017,7,6},{17,40,32}},crash_report,[[{initial_call,{application_master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{pid,<0.9.0>},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,code_server,{'EXIT',{undef,[{hipe_unified_loader,module_info,[module],[]},{code,'-load_code_server_prerequisites/0-lc$^0/1-0-',1,[{file,"code.erl"},{line,367}]},{code,load_code_server_prerequisites,0,[{file,"code.erl"},{line,367}]},{code,do_start,1,[{file,"code.erl"},{line,324}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,308}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,291}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,257}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]}]}}}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"application_master.erl"},{line,138}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}},{ancestors,[<0.8.0>]},{messages,[{'EXIT',<0.10.0>,normal}]},{links,[<0.8.0>,<0.7.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,987},{stack_size,27},{reductions,201}],[]]}
{error_logger,{{2017,7,6},{17,40,32}},std_info,[{application,kernel},{exited,{{shutdown,{failed_to_start_child,code_server,{'EXIT',{undef,[{hipe_unified_loader,module_info,[module],[]},{code,'-load_code_server_prerequisites/0-lc$^0/1-0-',1,[{file,"code.erl"},{line,367}]},{code,load_code_server_prerequisites,0,[{file,"code.erl"},{line,367}]},{code,do_start,1,[{file,"code.erl"},{line,324}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,308}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,291}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,257}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]}]}}}},{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,code_server,{'EXIT',{undef,[{hipe_unified_loader,module_info,[module],[]},{code,'-load_code_server_prerequisites/0-lc$^0/1-0-',1,[{file,\"code.erl\"},{line,367}]},{code,load_code_server_prerequisites,0,[{file,\"code.erl\"},{line,367}]},{code,do_start,1,[{file,\"code.erl\"},{line,324}]},{supervisor,do_start_child,2,[{file,\"supervisor.erl\"},{line,308}]},{supervisor,start_children,3,[{file,\"supervisor.erl\"},{line,291}]},{supervisor,init_children,2,[{file,\"supervisor.erl\"},{line,257}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,304}]}]}}}},{kernel,start,[normal,[]]}}}"}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,code_server,{'EXIT',{undef,[{hipe_unified_loader,module_info,[module],[]},{code,'-
#

Thanks.

BR,
Austin


_______________________________________________
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
Loading...