[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <43MLT217xxz9sPZ@ozlabs.org>
Date: Sat, 22 Dec 2018 20:55:01 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Joel Stanley <joel@....id.au>, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Cc: Jinsong Ji <jji@...ibm.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Kees Cook <keescook@...omium.org>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [v2] raid6/ppc: Fix build for clang
On Fri, 2018-11-02 at 00:44:55 UTC, Joel Stanley wrote:
> We cannot build these files with clang as it does not allow altivec
> instructions in assembly when -msoft-float is passed.
>
> Jinsong Ji <jji@...ibm.com> wrote:
> > We currently disable Altivec/VSX support when enabling soft-float. So
> > any usage of vector builtins will break.
> >
> > Enable Altivec/VSX with soft-float may need quite some clean up work, so
> > I guess this is currently a limitation.
> >
> > Removing -msoft-float will make it work (and we are lucky that no
> > floating point instructions will be generated as well).
>
> This is a workaround until the issue is resolved in clang.
>
> Link: https://bugs.llvm.org/show_bug.cgi?id=31177
> Link: https://github.com/ClangBuiltLinux/linux/issues/239
> Signed-off-by: Joel Stanley <joel@....id.au>
> Reviewed-by: Nick Desaulniers <ndesaulniers@...gle.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/e213574a449f7a57d4202c1869bbc7
cheers
Powered by blists - more mailing lists