https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114821
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- Created attachment 58014 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58014&action=edit Make std::pair relocatable and simplify __relocate_a Does this help?