qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
	Laszlo Ersek <lersek@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] configure: workaround for Clang 3.5.0
Date: Thu, 29 Oct 2015 17:28:13 -0400	[thread overview]
Message-ID: <56328F6D.2040303@redhat.com> (raw)
In-Reply-To: <CAFEAcA-qSvc-uy9N98jQEqMNn5VZXawWm2AQwmbwV_YJqtkzPw@mail.gmail.com>



On 10/29/2015 05:25 PM, Peter Maydell wrote:
> On 29 October 2015 at 21:20, Laszlo Ersek <lersek@redhat.com> wrote:
>> On 10/29/15 21:29, John Snow wrote:
>>> Here's a good takeaway quote:
>>>
>>> 'Also, _FORTIFY_SOURCE + glibc + clang is not supported and does not
>>> work (for instance, it relies on __builtin_va_pack_len and friends,
>>> which we have no intention of supporting), so glibc compatibility is
>>> unlikely to be a strong motivator for a change here.'
>>
>> this quote would be compelling enough for me to disable _FORTIFY_SOURCE
>> when clang is seen, no questions asked. The above is a public no-support
>> statement from an apparently core clang developer, so "it happens to
>> build without errors with version X.Y.Z." just don't cut it. A positive
>> claim (bugzilla comment, release note, etc) would be necessary.
>>
>> ... As far as I'm concerned, of course. :)
> 
> I think I would agree with that.
> 
> thanks
> -- PMM
> 

OK. I'll spin a new one that disables FORTIFY SOURCE without test if it
detects you are using Clang.

(I am curious as to why it now magically works in later versions of
Clang though, despite such a strong "no support" statement from the
developer above. I might do a little digging.)

--js

      reply	other threads:[~2015-10-29 21:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-29 20:22 [Qemu-devel] [PATCH] configure: workaround for Clang 3.5.0 John Snow
2015-10-29 20:29 ` John Snow
2015-10-29 21:20   ` Laszlo Ersek
2015-10-29 21:25     ` Peter Maydell
2015-10-29 21:28       ` John Snow [this message]

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=56328F6D.2040303@redhat.com \
    --to=jsnow@redhat.com \
    --cc=lersek@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.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).