[erlang-bugs] Bug in debug build?

Yiannis Tsiouris <>
Tue Jan 22 12:07:26 CET 2013

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
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?



Yiannis Tsiouris
Ph.D. student,
Software Engineering Laboratory,
National Technical University of Athens
WWW: http://www.softlab.ntua.gr/~gtsiour
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.log
Type: text/x-log
Size: 86262 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130122/cffb662a/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130122/cffb662a/attachment-0003.bin>

More information about the erlang-bugs mailing list