qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Fix oss-fuzz builds post-meson integration
@ 2020-09-02 17:36 Alexander Bulekov
  2020-09-02 17:36 ` [PATCH v2 1/3] meson: specify fuzz linker script as a project arg Alexander Bulekov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alexander Bulekov @ 2020-09-02 17:36 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, Alexander Bulekov

Since v1:
 * FUZZ_LINK_COMMAND -> FUZZ_EXE_LDFLAGS
 * Add a separate call to add_project_link_arguments, rather than
   appending to config_host['QEMU_LDFLAGS']
 * Remove stray comment in tests/qtest/fuzz/meson.build

QEMU stopped building on oss-fuzz, after the meson integration, due to
some linking issues:

https://oss-fuzz-build-logs.storage.googleapis.com/log-3eaddfbd-7e05-4ddd-9d86-ee4b16c0fac6.txt

Those problems should be partially fixed by:

Depends-on: meson: fix libqos linking
(https://lists.gnu.org/archive/html/qemu-devel/2020-09/msg00802.html)

These patches:
1. Build on the above patch to fix the way we specify the linker script,
   to ensure that it is not specified within start-group/end-group linker
   pairs
2. Add support for running --enable-fuzzing with a custom LIB_FUZZING_ENGINE
3. Fix a problem with how we specify custom rpath in the oss-fuzz
   build-script

Alexander Bulekov (3):
  meson: specify fuzz linker script as a project arg
  fuzz: Add support for custom fuzzing library
  scripts/oss-fuzz/build.sh: fix rpath

 configure                    | 12 ++++++++++--
 meson.build                  |  9 ++++++++-
 scripts/oss-fuzz/build.sh    |  2 +-
 tests/qtest/fuzz/meson.build |  7 ++-----
 4 files changed, 21 insertions(+), 9 deletions(-)

-- 
2.28.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-02 17:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-02 17:36 [PATCH v2 0/3] Fix oss-fuzz builds post-meson integration Alexander Bulekov
2020-09-02 17:36 ` [PATCH v2 1/3] meson: specify fuzz linker script as a project arg Alexander Bulekov
2020-09-02 17:36 ` [PATCH v2 2/3] fuzz: Add support for custom fuzzing library Alexander Bulekov
2020-09-02 17:36 ` [PATCH v2 3/3] scripts/oss-fuzz/build.sh: fix rpath Alexander Bulekov
2020-09-02 17:47 ` [PATCH v2 0/3] Fix oss-fuzz builds post-meson integration Paolo Bonzini

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).