[Bug target/121911] x86-64: -mstack-protector-guard=global should respect symbol visibility

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 5 20:45:40 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121911

--- Comment #6 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Sergei Trofimovich from comment #5)
> Should `systemd` be changed to `uintptr_t`? Or should `gcc` be tweaked to
> allow `intptr_t`?

Change systemd since glibc has it defined as uintptr_t:
csu/libc-start.c:uintptr_t __stack_chk_guard attribute_relro;
elf/rtld.c:uintptr_t __stack_chk_guard attribute_relro;


More information about the Gcc-bugs mailing list