qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fuzz: disable tcg for OSS-Fuzz builds


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] fuzz: disable tcg for OSS-Fuzz builds
Date: Wed, 13 Nov 2024 20:40:51 +0100
User-agent: Mozilla Thunderbird

On 13/11/24 16:37, Alexander Bulekov wrote:
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 <alxndr@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

IIUC we are using the QTest 'software [un]accelerator' to fuzz via I/O,
right?
Then maybe we can disable all accelerators to speed up build. But please
mention it in the commit description.

Regards,

Phil.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]