[Buildroot] [PATCH 1/1] erlang: bump to version 20.0

Bernd Kuhls bernd.kuhls at t-online.de
Tue Dec 5 19:34:59 UTC 2017


Am Mon, 04 Dec 2017 17:32:31 +0100 schrieb Johan Oudinet:

> What bother me is that I can't find which changes from OTP 19.3 to OTP
> 20.0 could lead to this error.

Hi,

I think I found the commit, added with version 20.0, which causes the 
error: https://github.com/erlang/otp/
commit/640c988fd41f9709b494554b2e5ef1f06f06957e

The autoconf function AC_SEARCH_LIBS adds "-llibrary to LIBS for the 
first library found to contain function" according to the autoconf manual:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/
Libraries.html

And this is exactly what happens:

host-erlang-20.0/erts/config.status contains

S["LIBS"]="-lz -lutil -ldl -lm   "

while host-erlang-19.3/erts/config.status lacks -lz:

S["LIBS"]="-lutil -ldl -lm   "

The content of this variable is used to build dyntrace.o with this 
Makefile: lib/runtime_tools/c_src/Makefile.in, line 98.

Unfortunately I do not have more time to look for a fix today.

Regards, Bernd



More information about the buildroot mailing list