Re: [PATCH v2 0/2] x86: Fix inline asm call constraints for clang

From: Ingo Molnar
Date: Sat Sep 23 2017 - 09:05:15 EST



* Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> On Sat, Sep 23, 2017 at 12:53:18PM +0200, Ingo Molnar wrote:
> >
> > * Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> >
> > > Patch 1 is a bug fix for an objtool issue which was uncovered by patch 2.
> > >
> > > Patch 2 is the last fix needed for clang to be able to compile and boot
> > > the kernel.
> > >
> > > Josh Poimboeuf (2):
> > > objtool: Handle another GCC stack pointer adjustment bug
> > > x86/asm: Fix inline asm call constraints for clang
> >
> > Have these patches been boot tested with clang?
>
> Yes, I built and boot them using the directions at:
>
> https://github.com/ramosian-glider/clang-kernel-build

Great - I'll queue up these fixes in tip:x86/urgent.

Thanks,

Ingo