>>> erlang-jiffy 1.0.6 Extracting gzip -d -c /tmp/instance-0/dl/erlang-jiffy/erlang-jiffy-1.0.6.tar.gz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6 -xf - >>> erlang-jiffy 1.0.6 Patching /usr/bin/sed -i -e '/^{deps.*}\.$/d' -e '/^{deps/,/}\.$/d' /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6/rebar.config >>> erlang-jiffy 1.0.6 Configuring >>> erlang-jiffy 1.0.6 Building (cd /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6; CC="/tmp/instance-0/output-1/host/bin/aarch64-none-linux-gnu-gcc" CXX="/tmp/instance-0/output-1/host/bin/aarch64-none-linux-gnu-g++" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" ERL_COMPILER_OPTIONS='{i, "/tmp/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/share/rebar/deps"}' ERL_EI_LIBDIR=/tmp/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/erlang/lib/erl_interface-3.13.1/lib PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" rebar deps_dir=/tmp/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/share/rebar/deps compile ) ==> erlang-jiffy-1.0.6 (compile) Compiling c_src/decoder.c Compiling c_src/encoder.c Compiling c_src/jiffy.c Compiling c_src/termstack.c Compiling c_src/utf8.c Compiling c_src/util.c Compiling c_src/doubles.cc Compiling c_src/objects.cc Compiling c_src/double-conversion/bignum-dtoa.cc Compiling c_src/double-conversion/bignum.cc Compiling c_src/double-conversion/cached-powers.cc Compiling c_src/double-conversion/diy-fp.cc Compiling c_src/double-conversion/double-conversion.cc Compiling c_src/double-conversion/fast-dtoa.cc Compiling c_src/double-conversion/fixed-dtoa.cc Compiling c_src/double-conversion/strtod.cc /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `dec_destroy' which may bind externally can not be used when making a shared object; recompile with -fPIC /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: in function `load': /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6/c_src/jiffy.c:43:(.text+0x8a0): dangerous relocation: unsupported relocation /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `enc_destroy' which may bind externally can not be used when making a shared object; recompile with -fPIC /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6/c_src/jiffy.c:52:(.text+0x8cc): dangerous relocation: unsupported relocation /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `decode_iter' which may bind externally can not be used when making a shared object; recompile with -fPIC /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: in function `decode_iter': /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6/c_src/decoder.c:756:(.text+0x46b4): dangerous relocation: unsupported relocation /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `encode_iter' which may bind externally can not be used when making a shared object; recompile with -fPIC /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: in function `encode_iter': /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6/c_src/encoder.c:749:(.text+0xa9ac): dangerous relocation: unsupported relocation collect2: error: ld returned 1 exit status sh(/tmp/instance-0/output-1/host/bin/aarch64-none-linux-gnu-g++ c_src/decoder.o c_src/encoder.o c_src/jiffy.o c_src/termstack.o c_src/utf8.o c_src/util.o c_src/doubles.o c_src/objects.o c_src/double-conversion/bignum-dtoa.o c_src/double-conversion/bignum.o c_src/double-conversion/cached-powers.o c_src/double-conversion/diy-fp.o c_src/double-conversion/double-conversion.o c_src/double-conversion/fast-dtoa.o c_src/double-conversion/fixed-dtoa.o c_src/double-conversion/strtod.o -flto -lstdc++ -flto -lstdc++ -shared -L/tmp/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/erlang/lib/erl_interface-3.13.1/lib -lei -o priv/jiffy.so) failed with return code 1 and the following output: /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `dec_destroy' which may bind externally can not be used when making a shared object; recompile with -fPIC /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: in function `load': /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6/c_src/jiffy.c:43:(.text+0x8a0): dangerous relocation: unsupported relocation /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `enc_destroy' which may bind externally can not be used when making a shared object; recompile with -fPIC /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6/c_src/jiffy.c:52:(.text+0x8cc): dangerous relocation: unsupported relocation /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `decode_iter' which may bind externally can not be used when making a shared object; recompile with -fPIC /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: in function `decode_iter': /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6/c_src/decoder.c:756:(.text+0x46b4): dangerous relocation: unsupported relocation /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `encode_iter' which may bind externally can not be used when making a shared object; recompile with -fPIC /tmp/jiffy.so.6bE1yx.ltrans0.ltrans.o: in function `encode_iter': /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6/c_src/encoder.c:749:(.text+0xa9ac): dangerous relocation: unsupported relocation collect2: error: ld returned 1 exit status ERROR: Command [compile] failed! make: *** [package/pkg-generic.mk:294: /tmp/instance-0/output-1/build/erlang-jiffy-1.0.6/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-0/buildroot'