From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7684C385780A; Wed, 18 Nov 2020 11:06:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7684C385780A From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/97859] [11 Regression] bootstrap error building a gnat cross compiler targeting ppc64le on x86_64-linux-gnu Date: Wed, 18 Nov 2020 11:06:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2020 11:06:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97859 --- Comment #6 from Eric Botcazou --- > target_cpu is powerpc64le >=20 > Makefile.rtl: >=20 > ifeq ($(strip $(filter-out powerpc64,$(target_cpu))),) > ifneq ($(strip $(MULTISUBDIR)),/ppc) > LIBGNAT_TARGET_PAIRS +=3D $(GNATRTL_128BIT_PAIRS) > EXTRA_GNATRTL_NONTASKING_OBJS +=3D $(GNATRTL_128BIT_OBJS) > else > SO_OPTS +=3D -m32 > endif > else > ifeq ($(strip $(MULTISUBDIR)),/ppc64) > SO_OPTS +=3D -m64 > LIBGNAT_TARGET_PAIRS +=3D $(GNATRTL_128BIT_PAIRS) > EXTRA_GNATRTL_NONTASKING_OBJS +=3D $(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 +=3D $(GNATRTL_128BIT_PAIRS) EXTRA_GNATRTL_NONTASKING_OBJS +=3D $(GNATRTL_128BIT_OBJS) endif else ifeq ($(strip $(MULTISUBDIR)),/64) LIBGNAT_TARGET_PAIRS +=3D $(GNATRTL_128BIT_PAIRS) EXTRA_GNATRTL_NONTASKING_OBJS +=3D $(GNATRTL_128BIT_OBJS) endif endif=