https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97859

--- Comment #5 from Matthias Klose <doko at debian dot 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

looks like this logic makes the assumption that any power architecture is
always mutilib'd, which is only true for powerpc-linux-gnu and
powerpc64-linux-gnu, but not powerpc64le-linux-gnu.

I didn't check where else this assumption is made.

Reply via email to