[erlang-questions] Cross-compiling on ARM: PAIN!

Corrado Santoro csanto@REDACTED
Sat Sep 27 10:17:25 CEST 2008


Hello again,

I've applied the Matthias' patch and the compilation goes on, but it 
still stops when compiling beam_emu.c; this is the error:

beam/beam_emu.c: In function 'process_main':
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_throw' used but not defined
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_return' used but not 
defined
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_resume' used but not 
defined
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_reschedule' used but 
not defined
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_call_closure' used but 
not defined
beam/beam_emu.c:1323: error: label 'lb_hipe_trap_call' used but not defined
beam/beam_emu.c:1323: error: label 'lb_hipe_call_count' used but not defined


It seems that those labels, which are defined in the code parts enabled 
by #define HIPE, are in any case referenced in other sources (maybe 
beam_opcodes.h) without protecting them by #ifdef HIPE/#endif.

So... before starting to make myself lost in the million lines of C 
source which will drive me mad :-) ... plaase, has someone some 
suggestions? :-)

I'm using R11B-5 without HIPE.

Thanks again,
--Corrado

-- 
==================================================================
Eng. Corrado Santoro, Ph.D.
University of Catania - ITALY
Dept. of Mathematics and Informatics

VoIP: sip:7035@REDACTED

==================================================================




More information about the erlang-questions mailing list