https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94237
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- One possible workaround can be not calling get_variable_section for Darwin. It will cause not so precise section information which is not critical.