Package: afl++ Version: 4.04c-3 Severity: normal Hello,
When trying to use "afl-clang -m32" on amd64, it fails, even though clang itself supports -m32: $ clang -m32 hello.c -o hello $ ./hello hello $ afl-clang -m32 hello.c -o hello afl-cc++4.04c by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: LLVM-PCGUARD [-] PROGRAM ABORT : -m32 is not supported by your compiler Location : edit_params(), src/afl-cc.c:1217 $ Strace reveals that the error happens after afl-clang fails to find afl-compiler-rt-32.o: access("/usr/bin/../lib/afl//afl-compiler-rt-32.o", R_OK) = -1 ENOENT (No such file or directory) Inclusion of afl-compiler-rt-32.o in amd64 builds of afl++ would be useful because -m32 helps in certain fuzzing scenarios (using AddressSanitizer plus a virtual memory limit). Best regards, jn -- System Information: Debian Release: 12.0 APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-7-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages afl++ depends on: ii build-essential 12.9 ii clang 1:14.0-55.6 ii clang-14 1:14.0.6-12 ii libc6 2.36-8 ii libgcc-s1 12.2.0-14 ii libpython3.11 3.11.2-6 ii libstdc++6 12.2.0-14 ii procps 2:4.0.2-3 Versions of packages afl++ recommends: ii afl++-doc 4.04c-3 Versions of packages afl++ suggests: pn gnuplot <none> -- no debconf information