Re: [PATCH 5/5] x86 kbuild: LLVMLinux: More cc-options added for clang

2014-02-25 Thread Behan Webster
On 02/25/14 17:32, H. Peter Anvin wrote: On 02/25/2014 05:08 PM, beh...@converseincode.com wrote: +# enforce no-sse for clang +ifneq ($(COMPILER),clang) +KBUILD_CFLAGS += $(call cc-option,-mno-sse) +KBUILD_CFLAGS += $(call cc-option,-mpreferred-stack-boundary=3) +endif + I'm

Re: [PATCH 5/5] x86 kbuild: LLVMLinux: More cc-options added for clang

2014-02-25 Thread H. Peter Anvin
On 02/25/2014 05:08 PM, beh...@converseincode.com wrote: > > +# enforce no-sse for clang > +ifneq ($(COMPILER),clang) > +KBUILD_CFLAGS += $(call cc-option,-mno-sse) > +KBUILD_CFLAGS += $(call cc-option,-mpreferred-stack-boundary=3) > +endif > + I'm *very* confused. You're doing

[PATCH 5/5] x86 kbuild: LLVMLinux: More cc-options added for clang

2014-02-25 Thread behanw
From: Jan-Simon Möller Protect more options for x86 with cc-option so that we don't get errors when using clang instead of gcc. Add more or different options when using clang as well. Also need to enforce that SSE is off for clang and the stack is 8-byte aligned. Signed-off-by: Jan-Simon

[PATCH 5/5] x86 kbuild: LLVMLinux: More cc-options added for clang

2014-02-25 Thread behanw
From: Jan-Simon Möller dl...@gmx.de Protect more options for x86 with cc-option so that we don't get errors when using clang instead of gcc. Add more or different options when using clang as well. Also need to enforce that SSE is off for clang and the stack is 8-byte aligned. Signed-off-by:

Re: [PATCH 5/5] x86 kbuild: LLVMLinux: More cc-options added for clang

2014-02-25 Thread H. Peter Anvin
On 02/25/2014 05:08 PM, beh...@converseincode.com wrote: +# enforce no-sse for clang +ifneq ($(COMPILER),clang) +KBUILD_CFLAGS += $(call cc-option,-mno-sse) +KBUILD_CFLAGS += $(call cc-option,-mpreferred-stack-boundary=3) +endif + I'm *very* confused. You're doing ifneq

Re: [PATCH 5/5] x86 kbuild: LLVMLinux: More cc-options added for clang

2014-02-25 Thread Behan Webster
On 02/25/14 17:32, H. Peter Anvin wrote: On 02/25/2014 05:08 PM, beh...@converseincode.com wrote: +# enforce no-sse for clang +ifneq ($(COMPILER),clang) +KBUILD_CFLAGS += $(call cc-option,-mno-sse) +KBUILD_CFLAGS += $(call cc-option,-mpreferred-stack-boundary=3) +endif + I'm