bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/29226] gcc -fcf-protection option causes GCC 12 gccgo build to


From: ccoutant at gmail dot com
Subject: [Bug gold/29226] gcc -fcf-protection option causes GCC 12 gccgo build to fail : "failed to match split-stack sequence"
Date: Tue, 07 Jun 2022 22:22:10 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29226

--- Comment #18 from Cary Coutant <ccoutant at gmail dot com> ---
I don't really see what CET has to do with split stack, so I would
guess that, with CET enabled, the RDSSPD/Q instruction gets generated
before the CMP or LEA instruction that we're expecting as the start
of the split stack sequence. I don't think it's safe to assume that
the presence of the RDSSPD/Q means that the split stack check is
already done. More likely, you'd need to look for the CMP or LEA
instruction following the shadow stack pointer check.

But I'm not familiar enough with either CET or split-stack to be sure.
Ian, can you please take a look?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]