[erlang-bugs] Bug in debug build?

Björn-Egil Dahlberg <>
Tue Jan 22 12:10:17 CET 2013


Yep, it is noticed and will be merged to master shortly. Apparently a 
definition am_init got lost for 64bit linux in debug.

On 2013-01-22 12:07, Yiannis Tsiouris wrote:
> Hi all,
>
> We 're trying to build a debug-enabled runtime system in a freshly
> cloned Erlang/OTP system using the 'master' branch by following the
> instructions from [1]. In a nutshell, we do:
>
>> cd $ERL_OTP/
>> make
>> cd erts/emulator
>> env ERL_TOP=$ERL_OTP make debug FLAVOR=plain
> (where ERL_OTP is the directory of the erlang/otp cloned repository)
>
> We use the 'master' branch for this and we get an error. The error
> message is:
>
> In file included from hipe/hipe_amd64_gc.h:28,
>                   from hipe/hipe_gc.h:31,
>                   from hipe/hipe_gc.c:30:
> hipe/hipe_x86_gc.h: In function 'nstack_walk_init_sdesc':
> hipe/hipe_x86_gc.h:74: error: 'am_init' undeclared (first use in this
> function)
> hipe/hipe_x86_gc.h:74: error: (Each undeclared identifier is reported
> only once
> hipe/hipe_x86_gc.h:74: error: for each function it appears in.)
>
> I also attach the complete log from the build for completeness.
>
> Can anyone reproduce this or we're doing something wrong?
>
>
> Thanks,
> yiannis
>
> [1]:
> http://www.erlang.org/doc/installation_guide/INSTALL.html#How-to-Build-a-Debug-Enabled-Erlang-RunTime-System
>
>
>
> _______________________________________________
> erlang-bugs mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-bugs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130122/c3b8eb61/attachment.html>


More information about the erlang-bugs mailing list