From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
"Daniel P. Berrange" <berrange@redhat.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
QEMU Trivial <qemu-trivial@nongnu.org>,
"patches@linaro.org" <patches@linaro.org>
Subject: Re: [Qemu-devel] [PATCH] Drop QEMU_GNUC_PREREQ() checks for gcc older than 4.1
Date: Tue, 31 Jan 2017 18:27:01 -0500 [thread overview]
Message-ID: <d7b3be0a-aa29-eb65-aa60-c872fd2b2613@redhat.com> (raw)
In-Reply-To: <CAFEAcA9Jbv398L=yjPmq7MfV+bpma4TiBX9LbBBHZ_qo5DvuGg@mail.gmail.com>
On 31/01/2017 11:58, Peter Maydell wrote:
> On 31 January 2017 at 16:55, Daniel P. Berrange <berrange@redhat.com> wrote:
>> On Tue, Jan 31, 2017 at 04:14:47PM +0000, Peter Maydell wrote:
>>> We already require gcc 4.1 or newer (for the atomic
>>> support), so the fallback codepaths for older gcc
>>> versions than that are now dead code and we can
>>> just delete them.
>>
>> Do we have any explicit check alreadu for 4.1, or do we
>> just let the build fail on the atomic code ?
>>
>> IOW, is there any use in having..
>>
>> #if !QEMU_GNUC_PREREQ(4, 1)
>> # error "QEMU requires GCC >= 4.1 or CLang"
>> #endif
>
> I guess we just barf in the atomics. An explicit check might
> not be a bad idea I guess, though it depends a bit on how
> many releases we've been implicitly requiring 4.1 for. I
> suppose it would act as documentation of our current
> minimum req.
We have:
- first occurrence on Linux hosts: 0.13.0 (for vhost)
- first occurrence on non-Linux hosts: 0.15.0 (simpletrace backend),
then backed out in 1.0
- next occurrence on all hosts, but only in tests: 1.4.0
- finally, first occurrence on all hosts with simple ./configure &&
make: 2.0.0
Paolo
next prev parent reply other threads:[~2017-01-31 23:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-31 16:14 [Qemu-devel] [PATCH] Drop QEMU_GNUC_PREREQ() checks for gcc older than 4.1 Peter Maydell
2017-01-31 16:55 ` Daniel P. Berrange
2017-01-31 16:58 ` Peter Maydell
2017-01-31 23:27 ` Paolo Bonzini [this message]
2017-01-31 17:40 ` Markus Armbruster
2017-01-31 18:00 ` Peter Maydell
2017-01-31 18:11 ` Daniel P. Berrange
2017-01-31 18:32 ` Peter Maydell
2017-01-31 19:02 ` Markus Armbruster
2017-01-31 18:58 ` Markus Armbruster
2017-01-31 23:27 ` Paolo Bonzini
2017-02-01 6:49 ` Markus Armbruster
2017-02-02 1:09 ` Paolo Bonzini
2017-02-02 10:17 ` Markus Armbruster
2017-04-21 9:08 ` Peter Maydell
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=d7b3be0a-aa29-eb65-aa60-c872fd2b2613@redhat.com \
--to=pbonzini@redhat.com \
--cc=berrange@redhat.com \
--cc=patches@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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).