Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1692557 > unrolled thread

Re: [linux-next:master 1341/1811] cc1: error: unrecognized command line option "-mstack-alignment=8"

Started byIngo Molnar <mingo@kernel.org>
First post2017-07-20 10:40 +0200
Last post2017-07-20 18:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [linux-next:master 1341/1811] cc1: error: unrecognized command  line option "-mstack-alignment=8" Ingo Molnar <mingo@kernel.org> - 2017-07-20 10:40 +0200
    Re: [linux-next:master 1341/1811] cc1: error: unrecognized command  line option "-mstack-alignment=8" Matthias Kaehlcke <mka@chromium.org> - 2017-07-20 18:40 +0200

#1692557 — Re: [linux-next:master 1341/1811] cc1: error: unrecognized command line option "-mstack-alignment=8"

FromIngo Molnar <mingo@kernel.org>
Date2017-07-20 10:40 +0200
SubjectRe: [linux-next:master 1341/1811] cc1: error: unrecognized command line option "-mstack-alignment=8"
Message-ID<u5fa1-4Lf-9@gated-at.bofh.it>
* kbuild test robot <fengguang.wu@intel.com> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   c981f0b3fb08ee58aacb208fe7f45628af420bba
> commit: 79e6b917e69a34d45e83e72f1e9bb7487d5f5832 [1341/1811] x86/build: Fix stack alignment for CLang
> config: x86_64-randconfig-a0-07200731 (attached as .config)
> compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
> reproduce:
>         git checkout 79e6b917e69a34d45e83e72f1e9bb7487d5f5832
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All errors (new ones prefixed by >>):
> 
>    arch/x86/Makefile:172: Disabling CONFIG_CC_OPTIMIZE_FOR_SIZE.  Your compiler does not have -mfentry so you cannot optimize for size with CONFIG_FUNCTION_GRAPH_TRACER.
> >> cc1: error: unrecognized command line option "-mstack-alignment=8"
>    make[2]: *** [kernel/bounds.s] Error 1
>    make[2]: Target '__build' not remade because of errors.
>    make[1]: *** [prepare0] Error 2
>    make[1]: Target 'prepare' not remade because of errors.
>    make: *** [sub-make] Error 2

Ok, I've removed this commit from x86/urgent for now, pending the resolution of 
this build bug.

Thanks,

	Ingo

[toc] | [next] | [standalone]


#1693083

FromMatthias Kaehlcke <mka@chromium.org>
Date2017-07-20 18:40 +0200
Message-ID<u5mEx-1vc-3@gated-at.bofh.it>
In reply to#1692557
On Thu, Jul 20, 2017 at 1:29 AM, Ingo Molnar <mingo@kernel.org> wrote:
>
> * kbuild test robot <fengguang.wu@intel.com> wrote:
>
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
>> head:   c981f0b3fb08ee58aacb208fe7f45628af420bba
>> commit: 79e6b917e69a34d45e83e72f1e9bb7487d5f5832 [1341/1811] x86/build: Fix stack alignment for CLang
>> config: x86_64-randconfig-a0-07200731 (attached as .config)
>> compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
>> reproduce:
>>         git checkout 79e6b917e69a34d45e83e72f1e9bb7487d5f5832
>>         # save the attached .config to linux build tree
>>         make ARCH=x86_64
>>
>> All errors (new ones prefixed by >>):
>>
>>    arch/x86/Makefile:172: Disabling CONFIG_CC_OPTIMIZE_FOR_SIZE.  Your compiler does not have -mfentry so you cannot optimize for size with CONFIG_FUNCTION_GRAPH_TRACER.
>> >> cc1: error: unrecognized command line option "-mstack-alignment=8"
>>    make[2]: *** [kernel/bounds.s] Error 1
>>    make[2]: Target '__build' not remade because of errors.
>>    make[1]: *** [prepare0] Error 2
>>    make[1]: Target 'prepare' not remade because of errors.
>>    make: *** [sub-make] Error 2
>
> Ok, I've removed this commit from x86/urgent for now, pending the resolution of
> this build bug.

Sorry for breaking the build, I will look for a better solution.

Matthias

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web