[erlang-questions] HiPE code from i386 linux portable to amd64 linux?

Ulf Wiger <>
Sun Nov 2 08:45:48 CET 2008


2008/10/31 Colm Dougan <>:
>
> Is there any way to tell if a given beam contains
> native code that is incompatible.on a given erlang?

How about this:

Eshell V5.6.4  (abort with ^G)
1> beam_lib:chunks("test.beam",[hipe_unified_loader:chunk_name(erlang:system_info(hipe_architecture))]).
{ok,{test,[{"HX86",
            <<131,108,0,0,0,11,104,2,107,0,5,51,46,54,46,56,98,0,
              213,156,37,97,...>>}]}}

Wholly undocumented, of course. (:

BR,
Ulf W



More information about the erlang-questions mailing list