From: Richard Henderson <richard.henderson@linaro.org>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v7 11/11] disas: Add capstone as submodule
Date: Tue, 24 Oct 2017 21:40:01 +0200 [thread overview]
Message-ID: <4880c661-9e6e-e31c-c0cc-810e67d8efea@linaro.org> (raw)
In-Reply-To: <14d023ad-e635-3a56-533b-2575a03266c4@amsat.org>
On 10/24/2017 06:45 PM, Philippe Mathieu-Daudé wrote:
> Hi Richard,
>
> On 10/21/2017 09:46 PM, Richard Henderson wrote:
>> Do not require the submodule, but use it if present. Allow the
>> command-line to override system or git submodule either way.
>>
>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>> ---
>> Makefile | 13 +++++++++++++
>> .gitmodules | 3 +++
>> capstone | 1 +
>> configure | 60 +++++++++++++++++++++++++++++++++++++++++++++++++-----------
>> 4 files changed, 66 insertions(+), 11 deletions(-)
>> create mode 160000 capstone
>>
>> diff --git a/Makefile b/Makefile
>> index 9372742f86..beecc85bee 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -383,6 +383,19 @@ subdir-dtc: .git-submodule-status dtc/libfdt dtc/tests
>> dtc/%: .git-submodule-status
>> mkdir -p $@
>>
>> +# Overriding CFLAGS causes us to lose defines added in the sub-makefile.
>> +# Not overriding CFLAGS leads to mis-matches between compilation modes.
>> +# Therefore we replicate some of the logic in the sub-makefile.
>
> I'm having plenty of "missing-prototypes" warnings:
Yes, we use lots of -Wfoo that upstream Capstone does not. I do strip -Werror,
so at least it builds. Are you suggesting that I drop most of our extra -Wfoo?
I suppose that's reasonable. We don't want our developers worrying about
warnings coming from upstream code. If in fact you believe that most of our
developers won't just install libcapstone-dev and be done?
r~
next prev parent reply other threads:[~2017-10-24 19:40 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-22 0:46 [Qemu-devel] [PATCH v7 00/11] Support the Capstone disassembler Richard Henderson
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 01/11] target/i386: Convert to disas_set_info hook Richard Henderson
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 02/11] target/ppc: " Richard Henderson
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 03/11] target/arm: Move BE32 disassembler fixup Richard Henderson
2017-10-24 21:35 ` Philippe Mathieu-Daudé
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 04/11] target/arm: Don't set INSN_ARM_BE32 for CONFIG_USER_ONLY Richard Henderson
2017-10-25 13:27 ` Philippe Mathieu-Daudé
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 05/11] disas: Remove unused flags arguments Richard Henderson
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 06/11] disas: Support the Capstone disassembler library Richard Henderson
2017-10-24 16:59 ` Philippe Mathieu-Daudé
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 07/11] i386: Support Capstone in disas_set_info Richard Henderson
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 08/11] arm: " Richard Henderson
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 09/11] ppc: " Richard Henderson
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 10/11] disas: Remove monitor_disas_is_physical Richard Henderson
2017-10-22 0:46 ` [Qemu-devel] [PATCH v7 11/11] disas: Add capstone as submodule Richard Henderson
2017-10-24 16:45 ` Philippe Mathieu-Daudé
2017-10-24 19:40 ` Richard Henderson [this message]
2017-10-25 13:23 ` Philippe Mathieu-Daudé
2017-10-22 0:59 ` [Qemu-devel] [PATCH v7 00/11] Support the Capstone disassembler no-reply
2017-10-22 0:59 ` no-reply
2017-10-22 0:59 ` 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=4880c661-9e6e-e31c-c0cc-810e67d8efea@linaro.org \
--to=richard.henderson@linaro.org \
--cc=f4bug@amsat.org \
--cc=qemu-devel@nongnu.org \
/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).