Hi,<br><br>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:<br>$ gcc -v <br>Using built-in specs.<br>
Target: x86_64-unknown-linux-gnu<br>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<br>
Thread model: posix<br>gcc version 4.3.0 (GCC) <br><br>Here is the error trail:<br><br>[...]<br>=== Entering application hipe<br>make[3]: Entering directory `/var/abs/local/erlang/src/otp_src_R12B-2/lib/hipe/rtl'<br>/var/abs/local/erlang/src/otp_src_R12B-2/bin/x86_64-unknown-linux-gnu/hipe_mkliterals -e > hipe_literals.hrl<br>
erlc -W +debug_info +warn_obsolete_guard +inline -o../ebin hipe_rtl_arch.erl<br>{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}],[]]}<br>
debug2: channel 0: window 998700 sent adjust 49876<br>{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}]}]}<br>
{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}],[]]}<br>
{error_logger,{{2008,4,27},{18,34,12}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}<br>{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}<br>
<br>Crash dump was written to: erl_crash.dump<br>Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})<br>make[3]: *** [../ebin/hipe_rtl_arch.beam] Error 1<br>
make[3]: Leaving directory `/var/abs/local/erlang/src/otp_src_R12B-2/lib/hipe/rtl'<br>make[2]: *** [opt] Error 2<br>make[2]: Leaving directory `/var/abs/local/erlang/src/otp_src_R12B-2/lib/hipe'<br>make[1]: *** [opt] Error 2<br>
make[1]: Leaving directory `/var/abs/local/erlang/src/otp_src_R12B-2/lib'<br>make: *** [secondary_bootstrap_build] Error 2<br><br>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.<br>
<br>FYI, R12B-1 compiles fine on the same system. Any ideas?<br><br>Thanks!<br><br>Sébastien<br>