[erlang-questions] Compile errors with hipe with R12B-2

Sébastien Arnaud <>
Mon Apr 28 03:48:06 CEST 2008


Hi,

I am trying to compile R12B-2 on my home linux server but I am running into
a weird compile error/crash dump. I am running ArchLinux the following gcc
version:
$ gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared
--enable-languages=c,c++,fortran,objc,obj-c++,treelang
--enable-threads=posix --mandir=/usr/share/man --enable-__cxa_atexit
--disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib
--enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.3.0 (GCC)

Here is the error trail:

[...]
=== Entering application hipe
make[3]: Entering directory
`/var/abs/local/erlang/src/otp_src_R12B-2/lib/hipe/rtl'
/var/abs/local/erlang/src/otp_src_R12B-2/bin/x86_64-unknown-linux-gnu/hipe_mkliterals
-e > hipe_literals.hrl
erlc -W  +debug_info +warn_obsolete_guard +inline -o../ebin
hipe_rtl_arch.erl
{error_logger,{{2008,4,27},{18,34,11}},crash_report,[[{pid,<0.14.0>},{registered_name,[]},{error_info,{exit,{{case_clause,{'EXIT',{badarg,[{ets,match,[ac_tab,{{application_master,'$1'},<0.7.0>}]},{application_controller,get_pid_env,2},{kernel_config,get_sync_timeout,0},{kernel_config,get_sync_data,0},{kernel_config,sync_nodes,0},{kernel_config,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}}},[{kernel_config,sync_nodes,0},{kernel_config,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]},[{gen_server,init_it,6},{proc_lib,init_p,5}]}},{initial_call,{gen,init_it,[gen_server,<0.9.0>,<0.9.0>,kernel_config,[],[]]}},{ancestors,[kernel_sup,<0.8.0>]},{messages,[]},{links,[<0.9.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,377},{stack_size,23},{reductions,115}],[]]}
debug2: channel 0: window 998700 sent adjust 49876
{error_logger,{{2008,4,27},{18,34,11}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{{case_clause,{'EXIT',{badarg,[{ets,match,[ac_tab,{{application_master,'$1'},<0.7.0>}]},{application_controller,get_pid_env,2},{kernel_config,get_sync_timeout,0},{kernel_config,get_sync_data,0},{kernel_config,sync_nodes,0},{kernel_config,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}}},[{kernel_config,sync_nodes,0},{kernel_config,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}},{offender,[{pid,undefined},{name,kernel_config},{mfa,{kernel_config,start_link,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2008,4,27},{18,34,12}},crash_report,[[{pid,<0.7.0>},{registered_name,[]},{error_info,{exit,{shutdown,{kernel,start,[normal,[]]}},[{application_master,init,4},{proc_lib,init_p,5}]}},{initial_call,{application_master,init,[<0.5.0>,<0.6.0>,{appl_data,kernel,[application_controller,erl_reply,auth,boot_server,code_server,disk_log_server,disk_log_sup,erl_prim_loader,error_logger,file_server_2,fixtable_server,global_group,global_name_server,heart,init,kernel_config,kernel_sup,net_kernel,net_sup,rex,user,os_server,ddll_server,erl_epmd,inet_db,pg2],undefined,{kernel,[]},[application,application_controller,application_master,application_starter,auth,code,code_aux,packages,code_server,dist_util,erl_boot_server,erl_distribution,erl_prim_loader,erl_reply,erlang,error_handler,error_logger,file,file_server,file_io_server,prim_file,global,global_group,global_search,group,heart,hipe_unified_loader,inet6_tcp,inet6_tcp_dist,inet6_udp,inet_config,inet_hosts,inet_gethost_native,inet_tcp_dist,init,kernel,kernel_config,net,net_adm,net_kernel,os,ram_file,rpc,user,user_drv,user_sup,disk_log,disk_log_1,disk_log_server,disk_log_sup,dist_ac,erl_ddll,erl_epmd,erts_debug,gen_tcp,gen_udp,gen_sctp,prim_inet,inet,inet_db,inet_dns,inet_parse,inet_res,inet_tcp,inet_udp,inet_sctp,pg2,seq_trace,wrap_log_reader,zlib,otp_ring0],[],infinity,infinity},normal]}},{ancestors,[<0.6.0>]},{messages,[{'EXIT',<0.8.0>,normal}]},{links,[<0.6.0>,<0.5.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,23},{reductions,127}],[]]}
{error_logger,{{2008,4,27},{18,34,12}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid
terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
make[3]: *** [../ebin/hipe_rtl_arch.beam] Error 1
make[3]: Leaving directory
`/var/abs/local/erlang/src/otp_src_R12B-2/lib/hipe/rtl'
make[2]: *** [opt] Error 2
make[2]: Leaving directory
`/var/abs/local/erlang/src/otp_src_R12B-2/lib/hipe'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/var/abs/local/erlang/src/otp_src_R12B-2/lib'
make: *** [secondary_bootstrap_build] Error 2

BTW I tried compiling without hipe support, but I then get undefined errors
leading me to believe that some part of the code still need HIPE header
libraries to compile.

FYI, R12B-1 compiles fine on the same system. Any ideas?

Thanks!

Sébastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080427/e12b12b7/attachment.html>


More information about the erlang-questions mailing list