[erlang-questions] Cross-compiling on ARM: PAIN!
Mikael Pettersson
mikpe@REDACTED
Sat Sep 27 13:51:06 CEST 2008
Corrado Santoro writes:
> 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.
Looks like you have leftovers from a previous HiPE-enabled build
in the same OTP source tree.
Either don't do that (always build in a clean tree), or enable HiPE.
More information about the erlang-questions
mailing list