[llvmlinux] [PATCH 4/4] x86, boot: Work around clang PR18415.
pageexec at freemail.hu
Wed Jan 8 12:04:51 UTC 2014
On 8 Jan 2014 at 11:21, David Woodhouse wrote:
> Clang's intrinsics ignore -mregparm=3 when they fall back to calling the
> out-of-line implementations. Putting the args on the stack when memcpy()
> expects them in registers is not a recipe for a happy kernel.
> This bites with -m32 too, so clang is presumably catastrophically
> broken for the i386 kernel until this is fixed, unless I'm missing
llvmlinux already carries my old patch (and some more) here:
(see also my comment on the clang PR)
More information about the LLVMLinux