nixbot

builds

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

1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/4zznh878gcxdzzfan3cbl03ky2xz5y8a-source3source root is source
configurePhase
4no configure script, doing nothing
buildPhase
5build flags: -j24 SHELL=/nix/store/zh1ijdhb6gng1509b1zrilb6xlzx60j6-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib BUILD_32BIT=16gcc -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -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 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"/nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-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 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -o stub_reloc.elf src/stub/stub.c9gcc -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -o loader32.elf src/loader/loader.c10gcc -DRELOCATABLE_MODE=0 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"/nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.1/lib/wrap-buddy/loader32.bin"' -o stub32.elf src/stub/stub.c11gcc -DRELOCATABLE_MODE=1 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -o stub32_reloc.elf src/stub/stub.c12/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions13objcopy -O binary --only-section=.all stub.elf stub.bin14/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub_reloc.elf has a LOAD segment with RWX permissions15xxd -i stub.bin > src/patcher/stub_64.h16objcopy -O binary --only-section=.all stub_reloc.elf stub_reloc.bin17xxd -i stub_reloc.bin > src/patcher/stub_64_reloc.h18/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub32.elf has a LOAD segment with RWX permissions/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: 19warning: stub32_reloc.elf has a LOAD segment with RWX permissions20objcopy -O binary --only-section=.all stub32_reloc.elf stub32_reloc.bin21objcopy -O binary --only-section=.all stub32.elf stub32.bin22xxd -i stub32_reloc.bin > src/patcher/stub_32_reloc.h23xxd -i stub32.bin > src/patcher/stub_32.h24/nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DRELOCATABLE_LOADER_PATH_PLACEHOLDER='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -DLIBDIR='"/nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.1/lib/wrap-buddy"' -fsanitize=address,undefined -fno-omit-frame-pointer -fno-sanitize-recover=all -DHAVE_STUB_32 -DDEFAULT_INTERP='"/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2"' -DDEFAULT_LIBC_LIB='"/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc25/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions26objcopy -O binary --only-section=.all loader.elf loader.bin27/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: loader32.elf has a LOAD segment with RWX permissions28objcopy -O binary --only-section=.all loader32.elf loader32.bin
installPhase
29install flags: -j24 SHELL=/nix/store/zh1ijdhb6gng1509b1zrilb6xlzx60j6-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib BUILD_32BIT=1 install30install -d /nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.1/bin31install -m 755 wrap-buddy /nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.1/bin/32install -d /nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.1/lib/wrap-buddy33install -m 644 loader.bin stub.bin stub_reloc.bin loader32.bin stub32.bin /nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.1/lib/wrap-buddy/
fixupPhase
34shrinking RPATHs of ELF executables and libraries in /nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.135shrinking /nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.1/bin/wrap-buddy36checking for references to /build/ in /nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.1...37patching script interpreter paths in /nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.138stripping (with command strip and flags -S -p) in /nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.1/lib /nix/store/gzpvn72q7mvahaq5lh9qaqz7lv21gbml-wrap-buddy-1.0.1/bin
installCheckPhase
39installcheck flags: -j24 SHELL=/nix/store/zh1ijdhb6gng1509b1zrilb6xlzx60j6-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib BUILD_32BIT=1 INTERP=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib check40bash tests/test.sh --interp /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 --libs /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib41=== Test: basic patching ===42Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.24364-bit stub: 375 bytes4432-bit stub: 441 bytes45Patching: /build/tmp.4qkQTSdpbJ/basic46 ELF class: 64-bit47 Original entry: 0x1150 (file offset: 0x1150)48 Available space at entry: 4345 bytes49 Stub size: 375 bytes (padded to 384)50 Wrote config to /build/tmp.4qkQTSdpbJ/.basic.wrapbuddy51 Overwrote 384 bytes at entry point52 Converted PT_INTERP to PT_NULL53Patched: /build/tmp.4qkQTSdpbJ/basic54PASS: basic patching55=== Test: --needed injection ===56Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.25764-bit stub: 375 bytes5832-bit stub: 441 bytes59Patching: /build/tmp.4qkQTSdpbJ/check60 ELF class: 64-bit61 Original entry: 0x10f0 (file offset: 0x10f0)62 Available space at entry: 4345 bytes63 Stub size: 375 bytes (padded to 384)64 Wrote config to /build/tmp.4qkQTSdpbJ/.check.wrapbuddy65 Overwrote 384 bytes at entry point66 Converted PT_INTERP to PT_NULL67Patched: /build/tmp.4qkQTSdpbJ/check68PASS: --needed injection69=== Test: --relocatable ===70Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.27164-bit stub: 577 bytes7232-bit stub: 609 bytes73Patching: /build/tmp.4qkQTSdpbJ/relocatable74 ELF class: 64-bit75 Original entry: 0x1150 (file offset: 0x1150)76 Available space at entry: 4345 bytes77 Stub size: 577 bytes (padded to 592)78 Wrote config to /build/tmp.4qkQTSdpbJ/.relocatable.wrapbuddy79 Overwrote 592 bytes at entry point80 Converted PT_INTERP to PT_NULL81Patched: /build/tmp.4qkQTSdpbJ/relocatable82PASS: --relocatable patching83=== Test: --relocatable binary movement ===84Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.28564-bit stub: 577 bytes8632-bit stub: 609 bytes87Patching: /build/tmp.4qkQTSdpbJ/staging/bin/movable88 ELF class: 64-bit89 Original entry: 0x1150 (file offset: 0x1150)90 Available space at entry: 4345 bytes91 Stub size: 577 bytes (padded to 592)92 Wrote config to /build/tmp.4qkQTSdpbJ/staging/bin/.movable.wrapbuddy93 Overwrote 592 bytes at entry point94 Converted PT_INTERP to PT_NULL95Patched: /build/tmp.4qkQTSdpbJ/staging/bin/movable96PASS: --relocatable binary movement97=== All tests passed ===