https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118473
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So I think __stack_chk_guard is special and handled in the backend rather than the middle end so the visibility will need to be handled in the backend. Does this happen only for x86_64 or also for aarch64?