From: Michael Tokarev <mjt@tls.msk.ru>
To: Peter Maydell <peter.maydell@linaro.org>,
Chen Gang <gang.chen.5i5j@gmail.com>
Cc: QEMU Trivial <qemu-trivial@nongnu.org>,
qemu-devel <qemu-devel@nongnu.org>,
Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] libvixl: a64: Skip "-Wunused-variable" for gcc 5.0.0 or higher
Date: Tue, 14 Oct 2014 21:58:50 +0200 [thread overview]
Message-ID: <543D807A.6000704@msgid.tls.msk.ru> (raw)
In-Reply-To: <CAFEAcA_c7FE93J_7ZTqZaMG3V6Xx+EW6kAYF6XBqO9YL28+1mg@mail.gmail.com>
On 11.10.2014 23:25, Peter Maydell wrote:
> On 11 October 2014 15:13, Chen Gang <gang.chen.5i5j@gmail.com> wrote:
>
> MJT: please don't put this in -trivial, it will clash with
> the update to libvixl 1.6 currently on the list.
Actually I'd not put that to anywhere anyway. Because to me,
*especially* in a case like this when the code is imported from
some other place and will be updated later (so we should not
modify it), this issue can be more easily dealt with externally,
by adding a compiler option in a Makefile. Provided, ofcourse,
that it is not fixed upstream properly to start with - and if
it is (and this is the very sane way to go really, to fix it
upstream), that fix can be pulled to qemu as well, so no
clashes with further upstream changes will happen.
And aso because really, this prob should be fixed properly, not
worked around like this..
[]
> Some other approaches to this that would confine the
> fix to the makefiles rather than requiring us to modify
> the vixl source itself:
> a) add a -Wno- option for the affected .o files
> b) use -isystem rather than -I to include the libvixl
> directory on the include path
>
> (a)'s probably better I guess.
That's what I'm after too (after trying to fix it properly).
And no, at this time I dont know how gcc5 handles this.
Thanks,
/mjt
next prev parent reply other threads:[~2014-10-14 19:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-11 14:07 [Qemu-devel] [PATCH v2] libvixl: a64: Skip "-Wunused-variable" for gcc 5.0.0 or higher Chen Gang
2014-10-11 14:13 ` Chen Gang
2014-10-11 21:25 ` Peter Maydell
2014-10-12 0:32 ` Chen Gang
2014-10-12 7:50 ` Peter Maydell
2014-10-12 11:19 ` Chen Gang
2014-10-13 14:59 ` Eric Blake
2014-10-13 15:07 ` Peter Maydell
2014-10-14 19:58 ` Michael Tokarev [this message]
2014-10-14 20:47 ` [Qemu-devel] [Qemu-trivial] " Chen Gang
2014-10-15 9:55 ` Chen Gang
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=543D807A.6000704@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=gang.chen.5i5j@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=rth@twiddle.net \
/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).