https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120145
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Kirill A. Korinsky from comment #2) > Andrew, thanks for reply. > > I'll try to backport OpenBSD patches to 12.4.0 and try to bootsrap it, but > it needs some time. > > Am I right that it doesn't ring any bell? Oh it is this variable: const modref_access_node unspecified_modref_access_node = {0, -1, -1, 0, -1, false}; Which maybe it is being placed in the read only section even though it has dynamic initializers. Which does ring a few bells (let me look up the bug report).