exla

Build log

nerves_system_x86_64

exla 1.0.0 · fail · run rb-exla-1.0.0-1795070192787
123 of 123 lines
1Resolving Hex dependencies...2Resolution completed in 0.008s3* Getting exla (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_x86_64 (Hex package)10* Getting nerves_system_br (Hex package)11* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)12* Getting nerves_logging (Hex package)13* Getting nerves_uevent (Hex package)14* Getting uboot_env (Hex package)15* Getting elixir_make (Hex package)16* Getting property_table (Hex package)17* Getting circular_buffer (Hex package)18* Getting interactive_cmd (Hex package)19* Getting nerves_discovery (Hex package)20* Getting tablet (Hex package)21* Getting fine (Hex package)22* Getting nimble_pool (Hex package)23* Getting nx (Hex package)24* Getting telemetry (Hex package)25* Getting xla (Hex package)26* Getting complex (Hex package)27==> tablet28Compiling 2 files (.ex)29Generated tablet app30==> nerves_discovery31Compiling 5 files (.ex)32Generated nerves_discovery app33==> interactive_cmd34Compiling 1 file (.ex)35Generated interactive_cmd app36==> nerves37Compiling 65 files (.ex)38Generated nerves app39==> nerves_system_br40Generated nerves_system_br app41==> circular_buffer42Compiling 1 file (.ex)43Generated circular_buffer app44==> fine45Compiling 1 file (.ex)46Generated fine app47==> logger_backends48Compiling 7 files (.ex)49Generated logger_backends app50==> complex51Compiling 2 files (.ex)52Generated complex app53==> elixir_make54Compiling 8 files (.ex)55Generated elixir_make app56==> nerves_logging57 CC kmsg_tailer.o58 LD kmsg_tailer59Compiling 5 files (.ex)60Generated nerves_logging app61==> ring_logger62Compiling 7 files (.ex)63Generated ring_logger app64==> xla65Compiling 5 files (.ex)66Generated xla app67==> nerves_toolchain_x86_64_nerves_linux_musl68Compiling 1 file (.ex)69Generated nerves_toolchain_x86_64_nerves_linux_musl app70==> nerves_system_x86_6471Generated nerves_system_x86_64 app72==> nerves_compatibility_test73===> Analyzing applications...74===> Compiling telemetry75==> nx76Compiling 41 files (.ex)77Generated nx app78==> uboot_env79Compiling 5 files (.ex)80Generated uboot_env app81==> nimble_pool82Compiling 2 files (.ex)83Generated nimble_pool app84==> exla85Unpacking /home/nerves/.cache/xla/0.10.0/download/xla_extension-0.10.0-aarch64-linux-gnu-cpu.tar.gz into /work/proj/deps_x86_64/exla/cache86/work/nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-g++ -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging -fPIC -I/work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging/usr/lib/erlang/erts-17.1.1/include -I/work/proj/deps_x86_64/fine/c_include -Icache/xla_extension/include -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-comment -std=c++17 -w -DNDEBUG -O3 -DEXLA_PROD -c c_src/exla/exla.cc -o cache/1.0.0/objs/exla.o87/work/nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-g++ -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging -fPIC -I/work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging/usr/lib/erlang/erts-17.1.1/include -I/work/proj/deps_x86_64/fine/c_include -Icache/xla_extension/include -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-comment -std=c++17 -w -DNDEBUG -O3 -DEXLA_PROD -c c_src/exla/exla_mlir.cc -o cache/1.0.0/objs/exla_mlir.o88/work/nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-g++ -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging -fPIC -I/work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging/usr/lib/erlang/erts-17.1.1/include -I/work/proj/deps_x86_64/fine/c_include -Icache/xla_extension/include -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-comment -std=c++17 -w -DNDEBUG -O3 -DEXLA_PROD -c c_src/exla/exla_client.cc -o cache/1.0.0/objs/exla_client.o89/work/nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-g++ -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging -fPIC -I/work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging/usr/lib/erlang/erts-17.1.1/include -I/work/proj/deps_x86_64/fine/c_include -Icache/xla_extension/include -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-comment -std=c++17 -w -DNDEBUG -O3 -DEXLA_PROD -c c_src/exla/ipc.cc -o cache/1.0.0/objs/ipc.o90/work/nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-g++ -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging -fPIC -I/work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging/usr/lib/erlang/erts-17.1.1/include -I/work/proj/deps_x86_64/fine/c_include -Icache/xla_extension/include -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-comment -std=c++17 -w -DNDEBUG -O3 -DEXLA_PROD -c c_src/exla/custom_calls/runtime_callback.cc -o cache/1.0.0/objs/custom_calls/runtime_callback.o91/work/nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-g++ -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging -fPIC -I/work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging/usr/lib/erlang/erts-17.1.1/include -I/work/proj/deps_x86_64/fine/c_include -Icache/xla_extension/include -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-comment -std=c++17 -w -DNDEBUG -O3 -DEXLA_PROD -c c_src/exla/custom_calls/runtime_callback_bridge.cc -o cache/1.0.0/objs/custom_calls/runtime_callback_bridge.o92/work/nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-g++ -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging -fPIC -I/work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging/usr/lib/erlang/erts-17.1.1/include -I/work/proj/deps_x86_64/fine/c_include -Icache/xla_extension/include -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-comment -std=c++17 -w -DNDEBUG -O3 -DEXLA_PROD -c c_src/exla/custom_calls/runtime_callback_cuda.cc -o cache/1.0.0/objs/custom_calls/runtime_callback_cuda.o93/work/nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-g++ -m64 -fstack-protector-strong -march=x86-64 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging -fPIC -I/work/nerves/artifacts/nerves_system_x86_64-1.35.2/staging/usr/lib/erlang/erts-17.1.1/include -I/work/proj/deps_x86_64/fine/c_include -Icache/xla_extension/include -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-comment -std=c++17 -w -DNDEBUG -O3 -DEXLA_PROD -c c_src/exla/exla_cuda.cc -o cache/1.0.0/objs/exla_cuda.o94In file included from c_src/exla/exla.cc:4:95/work/proj/deps_x86_64/fine/c_include/fine.hpp: In instantiation of 'fine::DecodeResult<typename std::remove_cv< <template-parameter-1-1> >::type> fine::try_decode(ErlNifEnv*, const ERL_NIF_TERM&) [with T = xla::Shape; typename std::remove_cv< <template-parameter-1-1> >::type = xla::Shape; ErlNifEnv = enif_environment_t; ERL_NIF_TERM = long unsigned int]':96/work/proj/deps_x86_64/fine/c_include/fine.hpp:487:30:   required from 'T fine::decode(ErlNifEnv*, const ERL_NIF_TERM&) [with T = xla::Shape; ErlNifEnv = enif_environment_t; ERL_NIF_TERM = long unsigned int]'97  487 |   auto result = try_decode<T>(env, term);98      |                 ~~~~~~~~~~~~~^~~~~~~~~~~99/work/proj/deps_x86_64/fine/c_include/fine.hpp:1455:40:   required from 'ERL_NIF_TERM fine::__private__::nif_impl(ErlNifEnv*, const ERL_NIF_TERM*, Return (*)(ErlNifEnv*, Args ...), std::index_sequence<_Idx ...>) [with Return = fine::ResourcePtr<exla::ExlaBuffer>; Args = {fine::ResourcePtr<exla::ExlaClient>, fine::Atom, fine::Term, xla::Shape, long int}; long unsigned int ...Indices = {0, 1, 2, 3, 4}; ERL_NIF_TERM = long unsigned int; ErlNifEnv = enif_environment_t; std::index_sequence<_Idx ...> = std::integer_sequence<long unsigned int, 0, 1, 2, 3, 4>]'100 1455 |     auto result = fun(env, decode<Args>(env, argv[Indices])...);101      |                            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~102/work/proj/deps_x86_64/fine/c_include/fine.hpp:1482:31:   required from 'ERL_NIF_TERM fine::nif(ErlNifEnv*, int, const ERL_NIF_TERM*, Return (*)(ErlNifEnv*, Args ...)) [with Return = ResourcePtr<exla::ExlaBuffer>; Args = {ResourcePtr<exla::ExlaClient>, Atom, Term, xla::Shape, long int}; ERL_NIF_TERM = long unsigned int; ErlNifEnv = enif_environment_t]'103 1482 |   return __private__::nif_impl(env, argv, fun,104      |          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~105 1483 |                                std::make_index_sequence<sizeof...(Args)>());106      |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~107c_src/exla/exla.cc:438:1:   required from here108 1538 |     return fine::nif(env, argc, argv, name);                                   \109      |            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~110/work/proj/deps_x86_64/fine/c_include/fine.hpp:479:50: error: 'try_decode' is not a member of 'fine::Decoder<xla::Shape>'111  479 |   return Decoder<std::remove_cv_t<T>>::try_decode(env, term);112      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~113make: *** [Makefile:126: cache/1.0.0/objs/exla.o] Error 1114make: *** Waiting for unfinished jobs....115could not compile dependency :exla, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile exla --force", update it with "mix deps.update exla" or clean it with "mix deps.clean exla"116==> nerves_compatibility_test117** (Mix) Could not compile with "make" (exit status: 2).118You need to have gcc and make installed. If you are using119Ubuntu or any other Debian-based system, install the packages120"build-essential". Also install "erlang-dev" package if not121included in your Erlang/OTP version. If you're on Fedora, run122"dnf group install 'Development Tools'".123