nixbot

builds

succeeded aarch64-linux.test-sanitizers build #9 · raw · ·

1this derivation will be built:2  /nix/store/9mdr4hs3772smb1arzly6xvxlfa967ck-wrap-buddy-1.0.1.drv3these 2 paths will be fetched (16.1 KiB download, 76.5 KiB unpacked):4  /nix/store/0gj10gh0gd867zfwjqidncjhmq8h1vs0-tinyxxd-1.3.155  /nix/store/gw9jvq9zb0y0pg490a7d15iax1ssz3j6-xxd-tinyxxd-1.3.156building '/nix/store/9mdr4hs3772smb1arzly6xvxlfa967ck-wrap-buddy-1.0.1.drv' on 'ssh-ng://nix@eliza'7building '/nix/store/9mdr4hs3772smb1arzly6xvxlfa967ck-wrap-buddy-1.0.1.drv'8wrap-buddy-1.0.1> Running phase: unpackPhase9wrap-buddy-1.0.1> unpacking source archive /nix/store/jsx71pwk7vjpmbjhwmvwdc3qlqw1053p-source10wrap-buddy-1.0.1> source root is source11wrap-buddy-1.0.1> Running phase: patchPhase12wrap-buddy-1.0.1> Running phase: updateAutotoolsGnuConfigScriptsPhase13wrap-buddy-1.0.1> Running phase: configurePhase14wrap-buddy-1.0.1> no configure script, doing nothing15wrap-buddy-1.0.1> Running phase: buildPhase16wrap-buddy-1.0.1> build flags: -j192 SHELL=/nix/store/vdi1l5bd0cl7x0aj10j1wvw53yy3jy2d-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/lx4f4lvm5hrbxbils30ssjal1jz9yxgh-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib17wrap-buddy-1.0.1> gcc -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Os -Iinclude -mcmodel=tiny -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -o loader.elf src/loader/loader.c18wrap-buddy-1.0.1> gcc -DRELOCATABLE_MODE=0 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Os -Iinclude -mcmodel=tiny -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"/nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.1/lib/wrap-buddy/loader.bin"' -o stub.elf src/stub/stub.c19wrap-buddy-1.0.1> gcc -DRELOCATABLE_MODE=1 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Os -Iinclude -mcmodel=tiny -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -o stub_reloc.elf src/stub/stub.c20wrap-buddy-1.0.1> /nix/store/xy2zvwkq0rsm0gqlzjbd14vzf8vqv3ic-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions21wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub.elf stub.bin22wrap-buddy-1.0.1> xxd -i stub.bin > src/patcher/stub_64.h23wrap-buddy-1.0.1> /nix/store/xy2zvwkq0rsm0gqlzjbd14vzf8vqv3ic-binutils-2.46/bin/ld.bfd: warning: stub_reloc.elf has a LOAD segment with RWX permissions24wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub_reloc.elf stub_reloc.bin25wrap-buddy-1.0.1> xxd -i stub_reloc.bin > src/patcher/stub_64_reloc.h26wrap-buddy-1.0.1> /nix/store/lx4f4lvm5hrbxbils30ssjal1jz9yxgh-gcc-wrapper-15.2.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DRELOCATABLE_LOADER_PATH_PLACEHOLDER='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -DLIBDIR='"/nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.1/lib/wrap-buddy"' -fsanitize=address,undefined -fno-omit-frame-pointer -fno-sanitize-recover=all  -DDEFAULT_INTERP='"/nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.1"' -DDEFAULT_LIBC_LIB='"/nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc27wrap-buddy-1.0.1> /nix/store/xy2zvwkq0rsm0gqlzjbd14vzf8vqv3ic-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions28wrap-buddy-1.0.1> objcopy -O binary --only-section=.all loader.elf loader.bin29wrap-buddy-1.0.1> Running phase: installPhase30wrap-buddy-1.0.1> install flags: -j192 SHELL=/nix/store/vdi1l5bd0cl7x0aj10j1wvw53yy3jy2d-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/lx4f4lvm5hrbxbils30ssjal1jz9yxgh-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib install31wrap-buddy-1.0.1> install -d /nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.1/bin32wrap-buddy-1.0.1> install -m 755 wrap-buddy /nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.1/bin/33wrap-buddy-1.0.1> install -d /nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.1/lib/wrap-buddy34wrap-buddy-1.0.1> install -m 644 loader.bin stub.bin stub_reloc.bin /nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.1/lib/wrap-buddy/35wrap-buddy-1.0.1> Running phase: fixupPhase36wrap-buddy-1.0.1> shrinking RPATHs of ELF executables and libraries in /nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.137wrap-buddy-1.0.1> shrinking /nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.1/bin/wrap-buddy38wrap-buddy-1.0.1> checking for references to /build/ in /nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.1...39wrap-buddy-1.0.1> patching script interpreter paths in /nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.140wrap-buddy-1.0.1> stripping (with command strip and flags -S -p) in  /nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.1/lib /nix/store/x745fl8ldw7px6h9jln21qa53pz6sgf5-wrap-buddy-1.0.1/bin41wrap-buddy-1.0.1> Running phase: installCheckPhase42wrap-buddy-1.0.1> installcheck flags: -j192 SHELL=/nix/store/vdi1l5bd0cl7x0aj10j1wvw53yy3jy2d-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/lx4f4lvm5hrbxbils30ssjal1jz9yxgh-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib INTERP=/nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib check43wrap-buddy-1.0.1> bash tests/test.sh --interp /nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.1 --libs /nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib44wrap-buddy-1.0.1> === Test: basic patching ===45wrap-buddy-1.0.1> Using interpreter: /nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.146wrap-buddy-1.0.1> 64-bit stub: 422 bytes47wrap-buddy-1.0.1> 32-bit stub: not available48wrap-buddy-1.0.1> Patching: /build/tmp.oe3Y5E6Jt7/basic49wrap-buddy-1.0.1>   ELF class: 64-bit50wrap-buddy-1.0.1>   Original entry: 0xa00 (file offset: 0xa00)51wrap-buddy-1.0.1>   Available space at entry: 4820 bytes52wrap-buddy-1.0.1>   Stub size: 422 bytes (padded to 432)53wrap-buddy-1.0.1>   Wrote config to /build/tmp.oe3Y5E6Jt7/.basic.wrapbuddy54wrap-buddy-1.0.1>   Overwrote 432 bytes at entry point55wrap-buddy-1.0.1>   Converted PT_INTERP to PT_NULL56wrap-buddy-1.0.1> Patched: /build/tmp.oe3Y5E6Jt7/basic57wrap-buddy-1.0.1> PASS: basic patching58wrap-buddy-1.0.1> === Test: --needed injection ===59wrap-buddy-1.0.1> Using interpreter: /nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.160wrap-buddy-1.0.1> 64-bit stub: 422 bytes61wrap-buddy-1.0.1> 32-bit stub: not available62wrap-buddy-1.0.1> Patching: /build/tmp.oe3Y5E6Jt7/check63wrap-buddy-1.0.1>   ELF class: 64-bit64wrap-buddy-1.0.1>   Original entry: 0x840 (file offset: 0x840)65wrap-buddy-1.0.1>   Available space at entry: 4748 bytes66wrap-buddy-1.0.1>   Stub size: 422 bytes (padded to 432)67wrap-buddy-1.0.1>   Wrote config to /build/tmp.oe3Y5E6Jt7/.check.wrapbuddy68wrap-buddy-1.0.1>   Overwrote 432 bytes at entry point69wrap-buddy-1.0.1>   Converted PT_INTERP to PT_NULL70wrap-buddy-1.0.1> Patched: /build/tmp.oe3Y5E6Jt7/check71wrap-buddy-1.0.1> PASS: --needed injection72wrap-buddy-1.0.1> === Test: --relocatable ===73wrap-buddy-1.0.1> Using interpreter: /nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.174wrap-buddy-1.0.1> 64-bit stub: 608 bytes75wrap-buddy-1.0.1> 32-bit stub: not available76wrap-buddy-1.0.1> Patching: /build/tmp.oe3Y5E6Jt7/relocatable77wrap-buddy-1.0.1>   ELF class: 64-bit78wrap-buddy-1.0.1>   Original entry: 0xa00 (file offset: 0xa00)79wrap-buddy-1.0.1>   Available space at entry: 4820 bytes80wrap-buddy-1.0.1>   Stub size: 608 bytes (padded to 608)81wrap-buddy-1.0.1>   Wrote config to /build/tmp.oe3Y5E6Jt7/.relocatable.wrapbuddy82wrap-buddy-1.0.1>   Overwrote 608 bytes at entry point83wrap-buddy-1.0.1>   Converted PT_INTERP to PT_NULL84wrap-buddy-1.0.1> Patched: /build/tmp.oe3Y5E6Jt7/relocatable85wrap-buddy-1.0.1> PASS: --relocatable patching86wrap-buddy-1.0.1> === Test: --relocatable binary movement ===87wrap-buddy-1.0.1> Using interpreter: /nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.188wrap-buddy-1.0.1> 64-bit stub: 608 bytes89wrap-buddy-1.0.1> 32-bit stub: not available90wrap-buddy-1.0.1> Patching: /build/tmp.oe3Y5E6Jt7/staging/bin/movable91wrap-buddy-1.0.1>   ELF class: 64-bit92wrap-buddy-1.0.1>   Original entry: 0xa00 (file offset: 0xa00)93wrap-buddy-1.0.1>   Available space at entry: 4820 bytes94wrap-buddy-1.0.1>   Stub size: 608 bytes (padded to 608)95wrap-buddy-1.0.1>   Wrote config to /build/tmp.oe3Y5E6Jt7/staging/bin/.movable.wrapbuddy96wrap-buddy-1.0.1>   Overwrote 608 bytes at entry point97wrap-buddy-1.0.1>   Converted PT_INTERP to PT_NULL98wrap-buddy-1.0.1> Patched: /build/tmp.oe3Y5E6Jt7/staging/bin/movable99wrap-buddy-1.0.1> PASS: --relocatable binary movement100wrap-buddy-1.0.1> === All tests passed ===101102post-build step Upload coverage to codecov: ok103Skipping codecov: project=Mic92/wrap-buddy attr=aarch64-linux.test-sanitizers