[llvm-bugs] [Bug 49209] New: [X86] support for -mstack-protector-guard-symbol=

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 16 10:46:59 PST 2021


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

            Bug ID: 49209
           Summary: [X86] support for -mstack-protector-guard-symbol=
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ndesaulniers at google.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk,
                    xiang1.zhang at intel.com
            Blocks: 4068

via
https://lore.kernel.org/lkml/c0ff7dba14041c7e5d1cae5d4df052f03759bef3.1613243844.git.luto@kernel.org/,
the Linux kernel is looking to use the pair of flags:

-mstack-protector-guard-reg=fs -mstack-protector-guard-symbol=__stack_chk_guard

for 32b x86 kernels.  It seems that clang does not yet support

-mstack-protector-guard-symbol=__stack_chk_guard


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/20210216/4f9aec21/attachment.html>


More information about the llvm-bugs mailing list