Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1617295
| From | Matthias Kaehlcke <mka@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags |
| Date | 2017-04-05 21:10 +0200 |
| Message-ID | <tsYtB-6BL-43@gated-at.bofh.it> (permalink) |
| References | <tlNWh-6eK-9@gated-at.bofh.it> <tlNWh-6eK-11@gated-at.bofh.it> <tsXHc-66T-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Masahiro, El Thu, Apr 06, 2017 at 03:08:26AM +0900 Masahiro Yamada ha dit: > 2017-03-17 9:15 GMT+09:00 Michael Davidson <md@google.com>: > > Unfortunately, while clang generates a warning about these flags > > being unsupported it still exits with a status of 0 so we have > > to explicitly disable them instead of just using a cc-option check. > > > > Signed-off-by: Michael Davidson <md@google.com> > > > Instead, does the following work for you? > https://patchwork.kernel.org/patch/9657285/ Thanks for the pointer, I was about to give this change (or rather its ancestor) a rework myself :) > You need to use > $(call cc-option, ...) > for -falign-jumps=1 and -falign-loops=1 I can confirm that this works. Thanks Matthias
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-05 20:20 +0200
Re: [PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags Matthias Kaehlcke <mka@chromium.org> - 2017-04-05 21:10 +0200
Re: [PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags Michael Davidson <md@google.com> - 2017-04-05 21:20 +0200
Re: [PATCH 2/7] Makefile, x86, LLVM: disable unsupported optimization flags Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-10 17:00 +0200
csiph-web