nixbot

builds

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

1this derivation will be built:2  /nix/store/1gkc9926181ahp1z2x98yzyp8b27yg33-wrap-buddy-1.0.1.drv3building '/nix/store/1gkc9926181ahp1z2x98yzyp8b27yg33-wrap-buddy-1.0.1.drv' on 'ssh-ng://nix@eliza'4building '/nix/store/1gkc9926181ahp1z2x98yzyp8b27yg33-wrap-buddy-1.0.1.drv'5wrap-buddy-1.0.1> Running phase: unpackPhase6wrap-buddy-1.0.1> unpacking source archive /nix/store/s18x2kl9v46z8d0l48z95hz8j4c61rfj-source7wrap-buddy-1.0.1> source root is source8wrap-buddy-1.0.1> Running phase: patchPhase9wrap-buddy-1.0.1> Running phase: updateAutotoolsGnuConfigScriptsPhase10wrap-buddy-1.0.1> Running phase: configurePhase11wrap-buddy-1.0.1> no configure script, doing nothing12wrap-buddy-1.0.1> Running phase: buildPhase13wrap-buddy-1.0.1> build flags: -j192 SHELL=/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/vsj0kl98ggilv1nq2gvxwrk12w2lgvjy-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib14wrap-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.c15wrap-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/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.1/lib/wrap-buddy/loader.bin"' -o stub.elf src/stub/stub.c16wrap-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.c17wrap-buddy-1.0.1> /nix/store/dj8h6m1k6mmd0ysnk874qzi17g9y8pcd-binutils-2.46/bin/ld.bfd: warning: stub_reloc.elf has a LOAD segment with RWX permissions18wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub_reloc.elf stub_reloc.bin19wrap-buddy-1.0.1> xxd -i stub_reloc.bin > src/patcher/stub_64_reloc.h20wrap-buddy-1.0.1> /nix/store/dj8h6m1k6mmd0ysnk874qzi17g9y8pcd-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/vsj0kl98ggilv1nq2gvxwrk12w2lgvjy-gcc-wrapper-15.2.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DRELOCATABLE_LOADER_PATH_PLACEHOLDER='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -DLIBDIR='"/nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.1/lib/wrap-buddy"' -fsanitize=address,undefined -fno-omit-frame-pointer -fno-sanitize-recover=all  -DDEFAULT_INTERP='"/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1"' -DDEFAULT_LIBC_LIB='"/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc24wrap-buddy-1.0.1> /nix/store/dj8h6m1k6mmd0ysnk874qzi17g9y8pcd-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions25wrap-buddy-1.0.1> objcopy -O binary --only-section=.all loader.elf loader.bin26wrap-buddy-1.0.1> Running phase: installPhase27wrap-buddy-1.0.1> install flags: -j192 SHELL=/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/vsj0kl98ggilv1nq2gvxwrk12w2lgvjy-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib install28wrap-buddy-1.0.1> install -d /nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.1/bin29wrap-buddy-1.0.1> install -m 755 wrap-buddy /nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.1/bin/30wrap-buddy-1.0.1> install -d /nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.1/lib/wrap-buddy31wrap-buddy-1.0.1> install -m 644 loader.bin stub.bin stub_reloc.bin /nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.1/lib/wrap-buddy/32wrap-buddy-1.0.1> Running phase: fixupPhase33wrap-buddy-1.0.1> shrinking RPATHs of ELF executables and libraries in /nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.134wrap-buddy-1.0.1> shrinking /nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.1/bin/wrap-buddy35wrap-buddy-1.0.1> checking for references to /build/ in /nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.1...36wrap-buddy-1.0.1> patching script interpreter paths in /nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.137wrap-buddy-1.0.1> stripping (with command strip and flags -S -p) in  /nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.1/lib /nix/store/8jvrsqfbjw0h9gp040k7y2fxxfjb1bw1-wrap-buddy-1.0.1/bin38wrap-buddy-1.0.1> Running phase: installCheckPhase39wrap-buddy-1.0.1> installcheck flags: -j192 SHELL=/nix/store/zm75q602pac1pp3yv2za4zf9wj36dd76-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/vsj0kl98ggilv1nq2gvxwrk12w2lgvjy-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib INTERP=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib check40wrap-buddy-1.0.1> bash tests/test.sh --interp /nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.1 --libs /nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib41wrap-buddy-1.0.1> === Test: basic patching ===42wrap-buddy-1.0.1> Using interpreter: /nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.143wrap-buddy-1.0.1> 64-bit stub: 422 bytes44wrap-buddy-1.0.1> 32-bit stub: not available45wrap-buddy-1.0.1> Patching: /build/tmp.HmBv1W9hxn/basic46wrap-buddy-1.0.1>   ELF class: 64-bit47wrap-buddy-1.0.1>   Original entry: 0xa00 (file offset: 0xa00)48wrap-buddy-1.0.1>   Available space at entry: 4820 bytes49wrap-buddy-1.0.1>   Stub size: 422 bytes (padded to 432)50wrap-buddy-1.0.1>   Wrote config to /build/tmp.HmBv1W9hxn/.basic.wrapbuddy51wrap-buddy-1.0.1>   Overwrote 432 bytes at entry point52wrap-buddy-1.0.1>   Converted PT_INTERP to PT_NULL53wrap-buddy-1.0.1> Patched: /build/tmp.HmBv1W9hxn/basic54wrap-buddy-1.0.1> PASS: basic patching55wrap-buddy-1.0.1> === Test: --needed injection ===56wrap-buddy-1.0.1> Using interpreter: /nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.157wrap-buddy-1.0.1> 64-bit stub: 422 bytes58wrap-buddy-1.0.1> 32-bit stub: not available59wrap-buddy-1.0.1> Patching: /build/tmp.HmBv1W9hxn/check60wrap-buddy-1.0.1>   ELF class: 64-bit61wrap-buddy-1.0.1>   Original entry: 0x840 (file offset: 0x840)62wrap-buddy-1.0.1>   Available space at entry: 4748 bytes63wrap-buddy-1.0.1>   Stub size: 422 bytes (padded to 432)64wrap-buddy-1.0.1>   Wrote config to /build/tmp.HmBv1W9hxn/.check.wrapbuddy65wrap-buddy-1.0.1>   Overwrote 432 bytes at entry point66wrap-buddy-1.0.1>   Converted PT_INTERP to PT_NULL67wrap-buddy-1.0.1> Patched: /build/tmp.HmBv1W9hxn/check68wrap-buddy-1.0.1> PASS: --needed injection69wrap-buddy-1.0.1> === Test: --relocatable ===70wrap-buddy-1.0.1> Using interpreter: /nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.171wrap-buddy-1.0.1> 64-bit stub: 608 bytes72wrap-buddy-1.0.1> 32-bit stub: not available73wrap-buddy-1.0.1> Patching: /build/tmp.HmBv1W9hxn/relocatable74wrap-buddy-1.0.1>   ELF class: 64-bit75wrap-buddy-1.0.1>   Original entry: 0xa00 (file offset: 0xa00)76wrap-buddy-1.0.1>   Available space at entry: 4820 bytes77wrap-buddy-1.0.1>   Stub size: 608 bytes (padded to 608)78wrap-buddy-1.0.1>   Wrote config to /build/tmp.HmBv1W9hxn/.relocatable.wrapbuddy79wrap-buddy-1.0.1>   Overwrote 608 bytes at entry point80wrap-buddy-1.0.1>   Converted PT_INTERP to PT_NULL81wrap-buddy-1.0.1> Patched: /build/tmp.HmBv1W9hxn/relocatable82wrap-buddy-1.0.1> PASS: --relocatable patching83wrap-buddy-1.0.1> === Test: --relocatable binary movement ===84wrap-buddy-1.0.1> Using interpreter: /nix/store/1bdzriipn18184zpwh2lfdabk2gqcgxn-glibc-2.42-61/lib/ld-linux-aarch64.so.185wrap-buddy-1.0.1> 64-bit stub: 608 bytes86wrap-buddy-1.0.1> 32-bit stub: not available87wrap-buddy-1.0.1> Patching: /build/tmp.HmBv1W9hxn/staging/bin/movable88wrap-buddy-1.0.1>   ELF class: 64-bit89wrap-buddy-1.0.1>   Original entry: 0xa00 (file offset: 0xa00)90wrap-buddy-1.0.1>   Available space at entry: 4820 bytes91wrap-buddy-1.0.1>   Stub size: 608 bytes (padded to 608)92wrap-buddy-1.0.1>   Wrote config to /build/tmp.HmBv1W9hxn/staging/bin/.movable.wrapbuddy93wrap-buddy-1.0.1>   Overwrote 608 bytes at entry point94wrap-buddy-1.0.1>   Converted PT_INTERP to PT_NULL95wrap-buddy-1.0.1> Patched: /build/tmp.HmBv1W9hxn/staging/bin/movable96wrap-buddy-1.0.1> PASS: --relocatable binary movement97wrap-buddy-1.0.1> === Test: --relocatable with target interpreter ===98wrap-buddy-1.0.1> PASS: --relocatable with target interpreter99wrap-buddy-1.0.1> === All tests passed ===100101post-build step Upload coverage to codecov: ok102Skipping codecov: project=Mic92/wrap-buddy attr=aarch64-linux.test-sanitizers