https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63868
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Ilya Verbin from comment #4) > It seems that support of offload sections in Mach-O will require substantial > changes to gcc/config/darwin.c, like it was done for LTO. > > I'm going to disable the generation of any offload sections when a compiler > is configured without --enable-offload-targets, i.e. when ENABLE_OFFLOADING > is not defined. Is this change ok? Yes.