[possible bug] erlc +native crash

Happi happi@REDACTED
Sat Oct 26 20:21:21 CEST 2002


It looks like you don't have a HiPE enabled system.
When you start the system it should say something like:

>erl
Erlang (BEAM) emulator version 2002.10.12 [source] [hipe]

Eshell V2002.10.12  (abort with ^G)
1>


--
The important thing beeing "[hipe]".
If it doesn't say that then you don't have HiPE support enabled,
but you really should get a better error message than the one you describe.

In any case it looks like the Hipe compiler is missing from your system,
at least the top level module hipe.beam is missing.

/Erik



----- Original Message -----
From: "Thierry Mallard" <thierry.mallard@REDACTED>
To: <erlang-questions@REDACTED>
Sent: Saturday, October 26, 2002 2:56 PM
Subject: [possible bug] erlc +native crash


> Hi there,
>
> On R9B (compiled and run under mandrake 9 system), erlc crashes when
> trying to compile a simple example (see below) with the +native option :
>
> -=-=-=-
> [shaman@REDACTED shaman]$ erlc +native foofact.erl
> ./foofact.erl:none: internal error in native_compile;
> crash reason: {undef,[{hipe,compile,
>                             [foofact,
>
<<70,79,82,49,0,0,1,160,66,69,65,77,65,116,111,109,0,0,0,30,0,0,0,3,7,102,11
1,111,102,97,99,116,5,102,97,99,116,111,11,109,111,100,117,108,101,95,105,11
0,102,111,0,0,67,111,100,101,0,0,0,85,0,0,0,16,0,0,0,0,0,0,0,64,0,0,0,8,0,0,
0,3,1,16,2,18,34,16,1,32,43,53,3,1,64,17,3,19,1,48,12,16,16,64,3,4,28,5,4,17
,3,4,16,37,29,5,4,3,3,18,16,19,1,64,2,18,50,0,1,80,64,2,3,19,1,96,2,18,50,16
,1,112,64,2,3,19,3,0,0,0,83,116,114,84,0,0,0,0,73,109,112,84,0,0,0,4,0,0,0,0
,69,120,112,84,0,0,0,40,0,0,0,3,0,0,0,3,0,0,0,1,0,0,0,7,0,0,0,3,0,0,0,0,0,0,
0,5,0,0,0,2,0,0,0,1,0,0,0,2,76,111,99,84,0,0,0,4,0,0,0,0,65,116,116,114,0,0,
0,40,131,108,0,0,0,1,104,2,100,0,3,118,115,110,108,0,0,0,1,110,16,0,170,5,13
,33,151,195,124,140,96,249,69,206,232,34,92,69,106,106,67,73,110,102,0,0,0,1
32,131,108,0,0,0,3,104,2,100,0,7,111,112,116,105,111,110,115,108,0,0,0,4,100
,0,2,118,51,100,0,6,110,97,116,105,118,101,104,2,100,0,6,111,117,116,100,105
,114,107,0,12,47,104,111,109,101,47,115,104,97,1!
>
09,97,110,104,2,100,0,3,99,119,100,107,0,12,47,104,111,109,101,47,115,104,97
,109,97,110,106,104,2,100,0,7,118,101,114,115,105,111,110,107,0,3,52,46,49,1
04,2,100,0,4,116,105,109,101,104,6,98,0,0,7,210,97,10,97,26,97,12,97,52,97,1
7,106,65,98,115,116,0,0,0,0>>,
>                              []]},
>                       {compile,native_compile_1,1},
>                       {compile,'-internal_comp/4-anonymous-1-',2},
>                       {compile,fold_comp,3},
>                       {compile,internal_comp,4},
>                       {compile,internal,3}]}
> -=-=-
>
> Mickael Remond confirmed this behaviour on his system, and noticed that
> within the erl shell, the c(foofact, [native]). command works ok.
>
>
> --
> Thierry Mallard
> http://vawis.net
>
>




More information about the erlang-questions mailing list