[llvm-bugs] [Bug 51272] New: ppc support for -ffixed-rN

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 29 09:25:22 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51272

            Bug ID: 51272
           Summary: ppc support for -ffixed-rN
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: llvm-bugs at lists.llvm.org, natechancellor at gmail.com,
                    nemanja.i.ibm at gmail.com
            Blocks: 4068

Via this thread:
https://lists.ozlabs.org/pipermail/linuxppc-dev/2021-July/232574.html

It seems that Go (language) is using r30, so the Linux kernel vdso must be
built with -ffixed-r30 for PPC.

We generally support this flag for other architectures, but it winds up needing
per-arch backend support and frontend validation.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=4068
[Bug 4068] [Meta] Compiling the Linux kernel with clang
-- 
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/20210729/e721d112/attachment.html>


More information about the llvm-bugs mailing list