Build 21.4.7

Dan Gudmundsson dangud@REDACTED
Fri Dec 10 10:39:26 CET 2021


In WSL1

git checkout OTP-24.1.7
git clean -dfX
./otp_build setup -a

Builds cleanly for me, I don't have kerl though.


On Fri, Dec 10, 2021 at 9:54 AM Frank Muller <frank.muller.erl@REDACTED>
wrote:

> Hi guys,
>
> While trying to build 24.1.7 with kerl on an Ubuntu 20.04 LTS (running
> inside WSL/Windows Subsystem for Linux), i got the following error:
>
> $ kerl build 24.1.7
> [...]
> make[4]: Entering directory
> ‘/home/frank/.kerl/builds/24.1.7/otp_src_24.1.7/lib/crypto/c_src’
>  CC     ../priv/obj/x86_64-pc-linux-gnu/crypto.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/aead.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/aes.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/algorithms.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/api_ng.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/atoms.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/bn.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/cipher.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/cmac.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/common.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/dh.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/digest.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/dss.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/ec.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/ecdh.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/eddsa.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/engine.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/evp.o
>  CC     ../priv/obj/x86_64-pc
>  CC     ../priv/obj/x86_64-pc-linux-gnu/hmac.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/info.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/mac.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/math.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/pkey.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/rand.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/rsa.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/srp.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/hash_equals.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/pbkdf2_hmac.o
>  LD     ../priv/lib/x86_64-pc-linux-gnu/crypto.so
>  CC     ../priv/obj/x86_64-pc-linux-gnu/crypto_callback.o
> /usr/bin/install -c -d ../priv/lib/x86_64-pc-linux-gnu
> gcc -L/usr/local/lib -Wl,--build-id -shared -Wl,-Bsymbolic -o
> ../priv/lib/x86_64-pc-linux-gnu/crypto_callback.so
> ../priv/obj/x86_64-pc-linux-gnu/crypto_callback.o
>  CC     ../priv/obj/x86_64-pc-linux-gnu/otp_test_engine.o
>  LD     ../priv/lib/x86_64-pc-linux-gnu/otp_test_engine.so
> make[4]: Leaving directory ‘/home/frank/.kerl/builds/24.1.7
> === Entering application os_mon
> make[3]: Entering directory
> ‘/home/frank/.kerl/builds/24.1.7/otp_src_24.1.7/lib/os_mon/src’
>  ERLC   ../ebin/disksup.beam
>  ERLC   ../ebin/memsup.beam
>  ERLC   ../ebin/cpu_sup.beam
> Function: cpu_util_rel/3
> Sub pass ssa_opt_type_start
> cpu_sup.erl: internal error in pass beam_ssa_opt:
> exception error: no function clause matching beam_types:make_float(NaN,NaN)
>   in function  beam_ssa_type:‘-simplify/2-lc$^0/1-0-‘/2
>   in call from beam_ssa_type:simplify/2
>   in call from beam_ssa_type:simplify/5
>   in call from beam_ssa_type:sig_is/7
>   in call from beam_ssa_type:sig_bs/8
>   in call from beam_ssa_type:sig_function_1/4
>   in call from beam_ssa_type:do_sig_function/4
> make[3]: ***
> [/home/frank/.kerl/builds/24.1.7/otp_src_24.1.7/make/x86_64-pc-linux-gnu/
> otp.mk:133: ../ebin/cpu_sup.beam] Error 1
> make[3]: Leaving directory
> ‘/home/frank/.kerl/builds/24.1.7/otp_src_24.1.7/lib/os_mon/src’
> make[2]: *** [/home/frank/.kerl/builds/24.1.7/otp_src_24.1.7/make
> make[3]: Leaving directory
> ‘/home/frank/.kerl/builds/24.1.7/otp_src_24.1.7/lib/os_mon/src’
> make[2]: *** [/home/frank/.kerl/builds/24.1.7/otp_src_24.1.7/make/
> otp_subdir.mk:29: opt] Error 2
> make[2]: Leaving directory
> ‘/home/frank/.kerl/builds/24.1.7/otp_src_24.1.7/lib/os_mon’
> make[1]: *** [/home/frank/.kerl/builds/24.1.7/otp_src_24.1.7/make/
> otp_subdir.mk:29: opt] Error 2
> make[1]: Leaving directory
> ‘/home/frank/.kerl/builds/24.1.7/otp_src_24.1.7/lib’
> make: *** [Makefile:504: libs] Error 2
>
>
> Help appreciated.
> Thanks
> F.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20211210/3d893b5f/attachment.htm>


More information about the erlang-questions mailing list