El Thu, Aug 17, 2017 at 10:13:20PM +0800 kbuild test robot ha dit:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/build
> head:   8f91869766c00622b2eaa8ee567db4f333b78c1a
> commit: 8f91869766c00622b2eaa8ee567db4f333b78c1a [2/2] x86/build: Fix stack 
> alignment for CLang
> config: x86_64-randconfig-b0-08172108 (attached as .config)
> compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
> reproduce:
>         git checkout 8f91869766c00622b2eaa8ee567db4f333b78c1a
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All errors (new ones prefixed by >>):
> 
> >> kernel/bounds.c:1: error: -mpreferred-stack-boundary=3 is not between 4 
> >> and 12

To be honest I was slightly concerned about not checking the actual
option that is applied, but expected it to be ok.

Though we can't use cc-option directly to chose between the gcc and
the clang option in this case we can use it to make sure only valid
parameters are applied. I'll prepare a fix for the fix.

Matthias

Reply via email to