[Bug ada/97859] [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 18 11:06:19 GMT 2020
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
More information about the Gcc-bugs
mailing list