[erlang-questions] HIPE Native compile error

Eranga Udesh casper2000a@REDACTED
Thu May 3 11:43:00 CEST 2007


Hi,

When I try to compile a module using +native and -smp options in command
line, I get the below error. I use Erlang 11B-4 in Solaris 10. When I
compile the module without +native, it compiles successfully. Also I tried
the same in Linux, and it compiles successfully too. It seems like a problem
in HiPE in Solaris.

Thanks,
- Eranga



<HiPE (v 3.6.2)> EXITED with reason
{function_clause,[{gb_trees,get_1,[{rtl_reg,123,false},nil]},{hipe_rtl_ssa,u
pdateStatementUses,3},{hipe_rtl_ssa,renameVars,3},{hipe_rtl_ssa,rename,4},{h
ipe_rtl_ssa,childrenRename,4},{hipe_rtl_ssa,convert,1},{hipe_main,rtl_ssa_co
nvert,2},{hipe_main,rtl_ssa,2}]} @hipe:835

=ERROR REPORT==== 3-May-2007::17:29:42 ===
<HiPE (v 3.6.2)> Error: [hipe:834]: ERROR: {function_clause,
                                            [{gb_trees,
                                              get_1,
                                              [{rtl_reg,123,false},nil]},
                                             {hipe_rtl_ssa,
                                              updateStatementUses,
                                              3},
                                             {hipe_rtl_ssa,renameVars,3},
                                             {hipe_rtl_ssa,rename,4},
 
{hipe_rtl_ssa,childrenRename,4},
                                             {hipe_rtl_ssa,convert,1},
                                             {hipe_main,rtl_ssa_convert,2},
                                             {hipe_main,rtl_ssa,2}]}
../src/test.erl:none: internal error in native_compile;
crash reason: {{hipe,
                   835,
                   {function_clause,
                       [{gb_trees,get_1,[{rtl_reg,123,false},nil]},
                        {hipe_rtl_ssa,updateStatementUses,3},
                        {hipe_rtl_ssa,renameVars,3},
                        {hipe_rtl_ssa,rename,4},
                        {hipe_rtl_ssa,childrenRename,4},
                        {hipe_rtl_ssa,convert,1},
                        {hipe_main,rtl_ssa_convert,2},
                        {hipe_main,rtl_ssa,2}]}},
               [{hipe,finalize_fun_sequential,2},
                {hipe,'-finalize_fun/2-lc$^0/1-0-',2},
                {hipe,'-finalize_fun/2-lc$^0/1-0-',2},
                {hipe,finalize,5},
                {hipe,compile_finish,3},
                {hipe,'-run_compiler_1/3-fun-0-',4}]}

=ERROR REPORT==== 3-May-2007::17:29:42 ===
Error in process <0.34.0> with exit value:
{{hipe,835,{function_clause,[{gb_trees,get_1,[{rtl_reg,123,false},nil]},{hip
e_rtl_ssa,updateStatementUses,3},{hipe_rtl_ssa,renameVars,3},{hipe_rtl_ssa,r
ename,4},{hipe_rtl_ssa,childrenRename,4},{hipe_rtl_ssa,convert,1},{...




More information about the erlang-questions mailing list