qemu-devel
[Top][All Lists]
Advanced

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

[Question] Fuzz: No rule to make target 'i386-softmmu/fuzz'


From: liqiuhao727
Subject: [Question] Fuzz: No rule to make target 'i386-softmmu/fuzz'
Date: Fri, 06 Nov 2020 21:04:16 +0800
User-agent: Evolution 3.36.4-0ubuntu1

Hi,

I am a newbie to QEMU and trying to build the virtual-device fuzzer
according to qemu/docs/devel/fuzzing.txt, which says:

---
Configure with (substitute the clang binaries with the version you
installed).
...
    CC=clang-8 CXX=clang++-8 /path/to/configure --enable-fuzzing \
                                                --enable-sanitizers
Fuzz targets are built similarly to system/softmmu:
    make i386-softmmu/fuzz
This builds ./i386-softmmu/qemu-fuzz-i386
---

But when I did this on my Ubuntu 20.04 x86-64 with qemu-5.2.0-rc0
release code, the make complained it could not find the target:

---
root@iZj6canc2b2vgdozetp9foZ:~/qemu# CC=clang-10 CXX=clang++-10
./configure --enable-fuzzing --enable-sanitizers > configure.log
root@iZj6canc2b2vgdozetp9foZ:~/qemu# make i386-softmmu/fuzz
changing dir to build for make "i386-softmmu/fuzz"...
make[1]: Entering directory '/root/qemu/build'
/usr/bin/ninja  build.ninja && touch build.ninja.stamp
ninja: no work to do.
/usr/bin/python3 -B /root/qemu/meson/meson.py introspect --targets --
tests --benchmarks | /usr/bin/python3 -B scripts/mtest2make.py >
Makefile.mtest
make[1]: *** No rule to make target 'i386-softmmu/fuzz'.  Stop.
make[1]: Leaving directory '/root/qemu/build'
make: *** [GNUmakefile:11: i386-softmmu/fuzz] Error 2
---

Did I missed something or misunderstood the instructions?
Thanks.

Attachment: configure.log
Description: Text Data


reply via email to

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