[llvm-bugs] [Bug 31177] New: PowerPC: soft-float commit breaks Linux kernel build
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Nov 27 22:19:36 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=31177
Bug ID: 31177
Summary: PowerPC: soft-float commit breaks Linux kernel build
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: PowerPC
Assignee: unassignedbugs at nondot.org
Reporter: anton at samba.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
The recent patch to enable soft-float support on PPC64 ("[PowerPC] Refactor
soft-float support, and enable PPC64 soft float") has broken Linux kernel
builds.
We want to avoid floating point in the kernel, but certain files want to be
built with vectorisation. One example is arch/powerpc/lib/xor_vmx.c.
The command line on these files contains the somewhat convoluted:
-msoft-float -mno-altivec -mno-vsx -maltivec -mabi=altivec
There are only two files in the kernel that use altivec in C, so perhaps we can
come up with a way to solve this in the kernel.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161128/9eb26e5a/attachment.html>
More information about the llvm-bugs
mailing list