qemuafl
qemuafl copied to clipboard
qemu_mode does not build with STATIC=1
On a current Arch Linux x86_64 and aarch64 make STATIC=1 binary-only
gives:
[*] Performing basic sanity checks...
[+] All checks passed!
[*] Making sure qemuafl is checked out
[*] initializing qemuafl submodule
Submodule path 'qemuafl': checked out '213f3b27dd099ef352181c48cd75c0f20a73e3f0'
[+] Got qemuafl.
[*] Checking out e36a30ebca
Previous HEAD position was 213f3b27dd qasan shadow error on 32 bits hosts
HEAD is now at e36a30ebca AFL_G2h default to g2h_untagged as workaround
[*] Making sure imported headers matches
[*] Configuring QEMU for ...
Building for CPU target x86_64
Building STATIC binary
Using './build' as the directory for build output
ERROR: sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T.
You probably need to set PKG_CONFIG_LIBDIR
to point to the right pkg-config files for your
build target
Since building without STATIC=1
succeeds, pkg-config files are probably generally ok.
The problem is here instead: static libs libgthtread-2.0
and libglib-2.0
were missing.
The configure script is written in such a way, that it does not show the real problem unfortunately.
Try to use ErminePro to relink shared binary as static one.
@kotee4ko that is not what he meant. he says that the afl++ build script should be fixed. @hexcoder- wrong repo - the build script is in the aflplusplus repo :)