https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95680
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> --- (In reply to H.J. Lu from comment #0) > libdruntime manipulates user stack. It doesn't support shadow stack from > Intel CET: > > https://software.intel.com/content/www/us/en/develop/articles/intel-sdm.html > > like the ucontext family functions in glibc. If I understand the change in glibc correctly, core/thread.d (initStack) will need a few extra calls to push() to accommodate for the shadow stack, then implementation handled in fiber_switchContext. Though perhaps it may make more sense to ditch the custom Fiber implementation and always use ucontext to handle context switching if there's always going to thing kind of disconnect between the system and D runtime library. Is there a specific test that fails because of this?