OSS-Fuzz builds have been failing due to some strange issues that seem to be related to color codes from libffi: https://oss-fuzz-build-logs.storage.googleapis.com/log-8d5435ee-1677-40af-9656-b4162fa881e1.txt
Disable tcg to disable libffi. Signed-off-by: Alexander Bulekov <alx...@bu.edu> --- scripts/oss-fuzz/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/oss-fuzz/build.sh b/scripts/oss-fuzz/build.sh index 7398298173..095f7a90e3 100755 --- a/scripts/oss-fuzz/build.sh +++ b/scripts/oss-fuzz/build.sh @@ -65,7 +65,7 @@ mkdir -p "$DEST_DIR/lib/" # Copy the shared libraries here # Build once to get the list of dynamic lib paths, and copy them over ../configure --disable-werror --cc="$CC" --cxx="$CXX" --enable-fuzzing \ --prefix="/opt/qemu-oss-fuzz" \ - --extra-cflags="$EXTRA_CFLAGS" --target-list="i386-softmmu" + --extra-cflags="$EXTRA_CFLAGS" --target-list="i386-softmmu" --disable-tcg if ! make "-j$(nproc)" qemu-fuzz-i386; then fatal "Build failed. Please specify a compiler with fuzzing support"\ @@ -83,7 +83,7 @@ if [ "$GITLAB_CI" != "true" ]; then ../configure --disable-werror --cc="$CC" --cxx="$CXX" --enable-fuzzing \ --prefix="/opt/qemu-oss-fuzz" \ --extra-cflags="$EXTRA_CFLAGS" --extra-ldflags="-Wl,-rpath,\$ORIGIN/lib" \ - --target-list="i386-softmmu" + --target-list="i386-softmmu" --disable-tcg make "-j$(nproc)" qemu-fuzz-i386 V=1 fi -- 2.45.2