nixbot

builds

succeeded wrap-buddy-1.0.1 aarch64-linux.test-sanitizers · build #14 · raw

1tribuchet: building on eliza
unpackPhase
2unpacking source archive /nix/store/4zznh878gcxdzzfan3cbl03ky2xz5y8a-source3source root is source
configurePhase
4no configure script, doing nothing
buildPhase
5build flags: -j24 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/lib6gcc -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -mcmodel=tiny -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -o loader.elf src/loader/loader.c7gcc -DRELOCATABLE_MODE=0 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -mcmodel=tiny -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"/nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.1/lib/wrap-buddy/loader.bin"' -o stub.elf src/stub/stub.c8gcc -DRELOCATABLE_MODE=1 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -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.c9/nix/store/xy2zvwkq0rsm0gqlzjbd14vzf8vqv3ic-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions10objcopy -O binary --only-section=.all stub.elf stub.bin11xxd -i stub.bin > src/patcher/stub_64.h12/nix/store/xy2zvwkq0rsm0gqlzjbd14vzf8vqv3ic-binutils-2.46/bin/ld.bfd: warning: stub_reloc.elf has a LOAD segment with RWX permissions13objcopy -O binary --only-section=.all stub_reloc.elf stub_reloc.bin14xxd -i stub_reloc.bin > src/patcher/stub_64_reloc.h15/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/kkfcb3hv4dnins5f01icpxlqdibg517q-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.cc16/nix/store/xy2zvwkq0rsm0gqlzjbd14vzf8vqv3ic-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions17objcopy -O binary --only-section=.all loader.elf loader.bin
installPhase
18install flags: -j24 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 install19install -d /nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.1/bin20install -m 755 wrap-buddy /nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.1/bin/21install -d /nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.1/lib/wrap-buddy22install -m 644 loader.bin stub.bin stub_reloc.bin /nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.1/lib/wrap-buddy/
fixupPhase
23shrinking RPATHs of ELF executables and libraries in /nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.124shrinking /nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.1/bin/wrap-buddy25checking for references to /build/ in /nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.1...26patching script interpreter paths in /nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.127stripping (with command strip and flags -S -p) in /nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.1/lib /nix/store/kkfcb3hv4dnins5f01icpxlqdibg517q-wrap-buddy-1.0.1/bin
installCheckPhase
28installcheck flags: -j24 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 check29bash 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/lib30=== Test: basic patching ===31Using interpreter: /nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.13264-bit stub: 422 bytes3332-bit stub: not available34Patching: /build/tmp.DeUKQ8bPfn/basic35 ELF class: 64-bit36 Original entry: 0xa00 (file offset: 0xa00)37 Available space at entry: 4820 bytes38 Stub size: 422 bytes (padded to 432)39 Wrote config to /build/tmp.DeUKQ8bPfn/.basic.wrapbuddy40 Overwrote 432 bytes at entry point41 Converted PT_INTERP to PT_NULL42Patched: /build/tmp.DeUKQ8bPfn/basic43PASS: basic patching44=== Test: --needed injection ===45Using interpreter: /nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.14664-bit stub: 422 bytes4732-bit stub: not available48Patching: /build/tmp.DeUKQ8bPfn/check49 ELF class: 64-bit50 Original entry: 0x840 (file offset: 0x840)51 Available space at entry: 4748 bytes52 Stub size: 422 bytes (padded to 432)53 Wrote config to /build/tmp.DeUKQ8bPfn/.check.wrapbuddy54 Overwrote 432 bytes at entry point55 Converted PT_INTERP to PT_NULL56Patched: /build/tmp.DeUKQ8bPfn/check57PASS: --needed injection58=== Test: --relocatable ===59Using interpreter: /nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.16064-bit stub: 608 bytes6132-bit stub: not available62Patching: /build/tmp.DeUKQ8bPfn/relocatable63 ELF class: 64-bit64 Original entry: 0xa00 (file offset: 0xa00)65 Available space at entry: 4820 bytes66 Stub size: 608 bytes (padded to 608)67 Wrote config to /build/tmp.DeUKQ8bPfn/.relocatable.wrapbuddy68 Overwrote 608 bytes at entry point69 Converted PT_INTERP to PT_NULL70Patched: /build/tmp.DeUKQ8bPfn/relocatable71PASS: --relocatable patching72=== Test: --relocatable binary movement ===73Using interpreter: /nix/store/jp8avbmpfcdnm0axwrzyk072nmq9cr0d-glibc-2.42-67/lib/ld-linux-aarch64.so.17464-bit stub: 608 bytes7532-bit stub: not available76Patching: /build/tmp.DeUKQ8bPfn/staging/bin/movable77 ELF class: 64-bit78 Original entry: 0xa00 (file offset: 0xa00)79 Available space at entry: 4820 bytes80 Stub size: 608 bytes (padded to 608)81 Wrote config to /build/tmp.DeUKQ8bPfn/staging/bin/.movable.wrapbuddy82 Overwrote 608 bytes at entry point83 Converted PT_INTERP to PT_NULL84Patched: /build/tmp.DeUKQ8bPfn/staging/bin/movable85PASS: --relocatable binary movement86=== All tests passed ===