[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 10/13] tests/plugins: add -Wno-unknown-warning-option to h
From: |
Alex Bennée |
Subject: |
Re: [PATCH v1 10/13] tests/plugins: add -Wno-unknown-warning-option to handle -Wpsabi |
Date: |
Mon, 13 Jul 2020 17:39:48 +0100 |
User-agent: |
mu4e 1.5.4; emacs 28.0.50 |
Richard Henderson <richard.henderson@linaro.org> writes:
> On 7/9/20 7:13 AM, Alex Bennée wrote:
>> Not all compilers support the -Wpsabi (clang-9 in my case).
>>
>> Fixes: bac8d222a
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>> tests/plugin/Makefile | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tests/plugin/Makefile b/tests/plugin/Makefile
>> index 0cb8e35ae407..dcfbd99b15b8 100644
>> --- a/tests/plugin/Makefile
>> +++ b/tests/plugin/Makefile
>> @@ -18,7 +18,7 @@ NAMES += hwprofile
>>
>> SONAMES := $(addsuffix .so,$(addprefix lib,$(NAMES)))
>>
>> -QEMU_CFLAGS += -fPIC -Wpsabi
>> +QEMU_CFLAGS += -fPIC -Wno-unknown-warning-option -Wpsabi
>
> Surely -Wno-unknown-warning-option is in the same boat? E.g. I don't see any
> version of gcc that supports it.
GCC doesn't seem to complain about it though.
> Originally, I tried to grab -Wno-psabi out of the existing QEMU_CFLAGS and
> transforming it, but I couldn't make that work.
I though the plugin Makefile was meant to be standalone to demonstrate
how you build stuff out of tree but I guess we include some of the main
make machinery in it. I'll see what I can do.
>
>
> r~
>
>> QEMU_CFLAGS += -I$(SRC_PATH)/include/qemu
>>
>> all: $(SONAMES)
>>
--
Alex Bennée
- [PATCH v1 08/13] plugins: expand the bb plugin to be thread safe and track per-cpu, (continued)
[PATCH v1 11/13] tests/docker: fall back more gracefully when pull fails, Alex Bennée, 2020/07/09
[PATCH v1 12/13] tests/docker: update toolchain set in debian-xtensa-cross, Alex Bennée, 2020/07/09
[PATCH v1 07/13] plugins: new hwprofile plugin, Alex Bennée, 2020/07/09
[PATCH v1 13/13] configure: remove all dependencies on a (re)configure, Alex Bennée, 2020/07/09