Re: [PATCH v2] configure: fix --enable-fuzzing linker failures

2021-02-22 Thread Paolo Bonzini
On 21/02/21 18:45, Alexander Bulekov wrote: With --enable-fuzzing, QEMU_CFLAGS include -fsanitize=fuzzer-no-link. This should allow us to build non-fuzzer binaries using objects instrumented for fuzzing. However, to do that, we also need to link with -fsanitize=fuzzer-no-link. We were not doing t

Re: [PATCH v2] configure: fix --enable-fuzzing linker failures

2021-02-22 Thread Li Qiang
Alexander Bulekov 于2021年2月22日周一 上午1:48写道: > > With --enable-fuzzing, QEMU_CFLAGS include -fsanitize=fuzzer-no-link. > This should allow us to build non-fuzzer binaries using objects > instrumented for fuzzing. However, to do that, we also need to link with > -fsanitize=fuzzer-no-link. We were not

Re: [PATCH v2] configure: fix --enable-fuzzing linker failures

2021-02-21 Thread Thomas Huth
On 21/02/2021 18.45, Alexander Bulekov wrote: With --enable-fuzzing, QEMU_CFLAGS include -fsanitize=fuzzer-no-link. This should allow us to build non-fuzzer binaries using objects instrumented for fuzzing. However, to do that, we also need to link with -fsanitize=fuzzer-no-link. We were not doing

[PATCH v2] configure: fix --enable-fuzzing linker failures

2021-02-21 Thread Alexander Bulekov
With --enable-fuzzing, QEMU_CFLAGS include -fsanitize=fuzzer-no-link. This should allow us to build non-fuzzer binaries using objects instrumented for fuzzing. However, to do that, we also need to link with -fsanitize=fuzzer-no-link. We were not doing that. Reported-by: Li Qiang , Signed-off-by: A