Mac Intel

Joel Reymont joelr1@REDACTED
Sat Aug 12 12:37:06 CEST 2006


On Aug 12, 2006, at 11:16 AM, Mikael Pettersson wrote:

> Is this message from the /tmp/hipe_test_log.${USER} file?

Yes

> Sometimes you can get a better stack trace when compiling
> interactively. 'cd' into tests/trivial_tests/ and start Erlang.
> Then type 'c(trivial_13,[native]).' or 'hipe:c(trivial_13).'.

I get the same type of error. See below.

> Do things work better with 'no_inline_fp'?

Much better, yes.

4> c(trivial_13,[native, {hipe, no_inline_fp}]).
{ok,trivial_13}

The trace with inline_fp:

=ERROR REPORT==== 12-Aug-2006::11:33:53 ===
Error in process <0.36.0> with exit value: {{hipe,806, 
{function_clause,[{gb_trees,get_1,[{rtl_reg,21,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},{...

./trivial_13.erl:none: internal error in native_compile;
crash reason: {{hipe,806,
                      {function_clause,[{gb_trees,
                                            get_1,
                                            [{rtl_reg,21,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,2},
                 {hipe,'-finalize/5-lc$^1/1-0-',2},
                 {hipe,'-finalize/5-lc$^1/1-0-',2},
                 {hipe,finalize,5},
                 {hipe,compile_finish,3},
                 {hipe,'-run_compiler_1/3-fun-0-',4}]}
error

--
http://wagerlabs.com/








More information about the erlang-questions mailing list