[erlang-bugs] Implicit declaration of function erl_malloc in legacy erl_timeout, R14B02

Alessandro Sivieri <>
Fri Apr 8 12:26:59 CEST 2011

Hi all,

I was trying to create Ubuntu packages for Erlang R14B02 in my private PPA,
but the system failed to build them on 64bit architecture because of the

x86_64-linux-gnu-gcc -g -O2 -fno-strict-aliasing -DEI_64BIT -fPIC -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -fno-strict-aliasing -I. -I../include -Iconnect
-Iencode -Idecode -Imisc -Iepmd -Iregistry -Ix86_64-pc-linux-gnu   -c
legacy/erl_timeout.c -o /build/buildd/erlang-14.b.2-dfsg/lib/erl_interface/
legacy/erl_timeout.c: In function 'timeout_setup':
legacy/erl_timeout.c:77: warning: implicit declaration of function
legacy/erl_timeout.c:77: warning: nested extern declaration of 'erl_malloc'
legacy/erl_timeout.c:77: warning: assignment makes pointer from integer
without a cast
Function `erl_malloc' implicitly converted to pointer at
(and other three identical instances)

The PPA system considers this kind of errors as possibly fatal for 64bit
architectures ("always on ia64", using their words). I thought that this was
the right place to report it.

Sivieri Alessandro

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

More information about the erlang-bugs mailing list