Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1603633
| From | "H. Peter Anvin" <hpa@zytor.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags |
| Date | 2017-03-17 22:40 +0100 |
| Message-ID | <tm7Lj-4jK-1@gated-at.bofh.it> (permalink) |
| References | <tlNWh-6eK-9@gated-at.bofh.it> <tlNWh-6eK-11@gated-at.bofh.it> <tm7Lj-4jK-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 03/17/17 14:32, H. Peter Anvin wrote:
>
> NAK. Fix your compiler, or use a wrapper script or something. It is
> absolutely *not* acceptable to disable this since future versions of
> clang *should* support that.
>
> That being said, it might make sense to look for a key pattern like
> "(un|not )supported" on stderr the try-run macro. Is there really no
> -Wno- or -Werror= option to turn off this craziness?
>
Well, guess what... I found it myself.
-W{no-,error=}ignored-optimization-argument
Either variant will make this sane.
-hpa
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags Michael Davidson <md@google.com> - 2017-03-17 01:30 +0100 Re: [PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags "H. Peter Anvin" <hpa@zytor.com> - 2017-03-17 22:40 +0100 Re: [PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags "H. Peter Anvin" <hpa@zytor.com> - 2017-03-17 22:50 +0100
csiph-web