[llvm-bugs] [Bug 49257] New: -mharden-sls=all caused some kernels fail too boot

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 18 16:46:47 PST 2021


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

            Bug ID: 49257
           Summary: -mharden-sls=all caused some kernels fail too boot
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: caij2003 at gmail.com
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, smithp352 at googlemail.com,
                    Ties.Stuij at arm.com

Building arm64 Linux kernel with -mharden-sls=all created many orphan sections
(text.__llvm_slsblr_thunk_*) not placed in any standard sections. This caused
boot failure when linking with lld. Moving these sections into .text section
fixed the problem. This also happened to the arm32 backend with orphan sections
named to .text.__llvm_slsblr_thunk_arm_r*. Moving

-- 
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/20210219/a87b37fa/attachment.html>


More information about the llvm-bugs mailing list