[erlang-bugs] Crash running R12B-0 code in R12B-2

Bjorn Gustavsson bjorn@REDACTED
Tue Apr 22 12:07:56 CEST 2008


"Robert Virding" <rvirding@REDACTED> writes:

> I compile my LFE compiler written in straight Erlang on R12B-0 where it runs
> as expected. However when I then run it on R12B-2 without recompiling it I
> get the following error:
> 
> =ERROR REPORT==== 21-Apr-2008::22:41:23 ===
> beam/beam_load.c(1897): Error loading function
> sys_core_fold:bsm_could_match_binary/1: op bif1_body: bsd:
>   not a BIF: import table index 56

Sorry for my previous answer in Swedish. I only noticed that erlang-bugs was
CC:ed the same moment I hit the send button. :-(

This file is in compiler application. It seems that you are loading the compiler
from R12B-0 in R12B-2. That will not work, because I have removed experimental
instructions and BIFs.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-bugs mailing list