From: Paolo Bonzini <pbonzini@redhat.com>
To: Alexander Bulekov <alxndr@bu.edu>
Cc: "Darren Kenny" <darren.kenny@oracle.com>,
"Bandan Das" <bsd@redhat.com>, qemu-devel <qemu-devel@nongnu.org>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: Re: [Fwd] Issue 25164 in oss-fuzz: qemu: Fuzzing build failure
Date: Tue, 25 Aug 2020 09:58:19 +0200 [thread overview]
Message-ID: <CABgObfZtGY-TuTLXNJNU9m_yQLfE6AM-+MdfqaaRjfMcWC8+Og@mail.gmail.com> (raw)
In-Reply-To: <20200823225804.umk5gh6knptqo5mw@mozz.bu.edu>
[-- Attachment #1: Type: text/plain, Size: 3166 bytes --]
Il lun 24 ago 2020, 00:58 Alexander Bulekov <alxndr@bu.edu> ha scritto:
> Hi Paolo,
> Our oss-fuzz builds started failing, after the meson merge. I think I
> tracked down the issues:
> 1.) Looking at the build-log here:
>
> https://oss-fuzz-build-logs.storage.googleapis.com/log-d43d402c-1ce5-4422-b3db-ccbf83a862a0.txt
> The error happens at link-time. Re-running the build with V=1:
> "/usr/bin/ld" ...
> --whole-archive /usr/local/lib/clang/12.0.0/.../libclang_rt.asan-x86_64.a \
> --start-group ..... -T /src/qemu/tests/qtest/fuzz/fork_fuzz.ld \
> -wrap qtest_inb -wrap qtest_inw ..... --end-group .....
>
I think you can put everything into a response for and include it with
@fuzz.cmd in the command line.
> 2.) 77afc75f69 ("oss-fuzz/build: remove LIB_FUZZING_ENGINE")
>
> On oss-fuzz, we cannot explicitly specify fsanitize=fuzzer: We have to
> leverage the $CC $CXX $CFLAGS $CXXFLAGS $LIB_FUZZING_ENGINE from
> oss-fuzz. That was the reason for the "make CONFIG_FUZZ CFLAGS" trickery
> in the original build script.
>
> Details:
>
> https://google.github.io/oss-fuzz/getting-started/new-project-guide/#Requirements
>
> To work around this, I think we can create separate configure options
> --enable-oss-fuzz and --oss-fuzz-cflags and CONFIG_OSS_FUZZ. In meson we
> create a new "source-set" specific_oss_fuzz_ss which is identical to
> specific_fuzz_ss, except it does not depend on "-fsanitize=fuzzer",
> which is specified in tests/qtest/fuzz/meson.build
>
> I've been working on patches to do (2)
Great, I can review them. Should you use $LIB_FUZZING_ENGINE directly
instead of a separate command line option?
Paolo
but I don't know how to fix (1).
> Do you have any ideas?
>
> -Alex
>
> ----- Forwarded message from ClusterFuzz-External via monorail <
> monorail+v2.382749006@chromium.org> -----
>
> Date: Sun, 23 Aug 2020 03:10:14 -0700
> From: ClusterFuzz-External via monorail <
> monorail+v2.382749006@chromium.org>
> To: alxndr@bu.edu
> Subject: Issue 25164 in oss-fuzz: qemu: Fuzzing build failure
>
> Status: New
> Owner: ----
> CC: b...@redhat.com, stefa...@redhat.com, alx...@bu.edu,
> pbonz...@redhat.com, darren.k...@oracle.com
> Labels: Proj-qemu
> Type: Build-Failure
>
> New issue 25164 by ClusterFuzz-External: qemu: Fuzzing build failure
> https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25164
>
> The last 2 builds for qemu have been failing.
> Build log:
> https://oss-fuzz-build-logs.storage.googleapis.com/log-d43d402c-1ce5-4422-b3db-ccbf83a862a0.txt
> Build type: fuzzing
>
> To reproduce locally, please see:
> https://google.github.io/oss-fuzz/advanced-topics/reproducing#reproducing-build-failures
>
> This bug tracker is not being monitored by OSS-Fuzz team. If you have any
> questions, please create an issue at
> https://github.com/google/oss-fuzz/issues/new.
>
> **This bug will be automatically closed within a day once it is fixed.**
>
> --
> You received this message because:
> 1. You were specifically CC'd on the issue
>
> You may adjust your notification preferences at:
> https://bugs.chromium.org/hosting/settings
>
> Reply to this email to add a comment.
>
> ----- End forwarded message -----
>
>
[-- Attachment #2: Type: text/html, Size: 5771 bytes --]
next prev parent reply other threads:[~2020-08-25 7:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-23 22:58 [Fwd] Issue 25164 in oss-fuzz: qemu: Fuzzing build failure Alexander Bulekov
2020-08-25 7:58 ` Paolo Bonzini [this message]
2020-08-26 13:55 ` Alexander Bulekov
2020-08-26 15:15 ` Paolo Bonzini
2020-08-28 18:33 ` Alexander Bulekov
2020-08-28 19:41 ` Paolo Bonzini
2020-09-01 18:18 ` [PATCH] fuzz: Add support for custom fuzzing library Alexander Bulekov
2020-09-01 18:39 ` Paolo Bonzini
2020-09-01 19:00 ` Paolo Bonzini
2020-09-02 12:27 ` no-reply
2020-09-02 12:31 ` no-reply
2020-09-02 12:33 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABgObfZtGY-TuTLXNJNU9m_yQLfE6AM-+MdfqaaRjfMcWC8+Og@mail.gmail.com \
--to=pbonzini@redhat.com \
--cc=alxndr@bu.edu \
--cc=bsd@redhat.com \
--cc=darren.kenny@oracle.com \
--cc=f4bug@amsat.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).