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: unassignedb...@nondot.org
          Reporter: an...@samba.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to