https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > target_cpu is powerpc64le > > Makefile.rtl: > > ifeq ($(strip $(filter-out powerpc64,$(target_cpu))),) > ifneq ($(strip $(MULTISUBDIR)),/ppc) > LIBGNAT_TARGET_PAIRS += $(GNATRTL_128BIT_PAIRS) > EXTRA_GNATRTL_NONTASKING_OBJS += $(GNATRTL_128BIT_OBJS) > else > SO_OPTS += -m32 > endif > else > ifeq ($(strip $(MULTISUBDIR)),/ppc64) > SO_OPTS += -m64 > LIBGNAT_TARGET_PAIRS += $(GNATRTL_128BIT_PAIRS) > EXTRA_GNATRTL_NONTASKING_OBJS += $(GNATRTL_128BIT_OBJS) > endif > endif > endif It's the MacOS section though. Can you replace "powerpc64" with "powerpc64%" in the Linux section? ifeq ($(strip $(filter-out powerpc64,$(target_cpu))),) ifneq ($(strip $(MULTISUBDIR)),/32) LIBGNAT_TARGET_PAIRS += $(GNATRTL_128BIT_PAIRS) EXTRA_GNATRTL_NONTASKING_OBJS += $(GNATRTL_128BIT_OBJS) endif else ifeq ($(strip $(MULTISUBDIR)),/64) LIBGNAT_TARGET_PAIRS += $(GNATRTL_128BIT_PAIRS) EXTRA_GNATRTL_NONTASKING_OBJS += $(GNATRTL_128BIT_OBJS) endif endif