Skip to content

PowerPC: soft-float commit breaks Linux kernel build #30525

Description

@llvmbot
Bugzilla Link 31177
Resolution WONTFIX
Resolved on Apr 12, 2021 19:51
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @hfinkel,@shenki,@nickdesaulniers,@nemanjai,@tstellar

Extended Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:PowerPCbugzillaIssues migrated from bugzillawontfixIssue is real, but we can't or won't fix it. Not invalid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions