From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DBFB73896C0E; Thu, 13 May 2021 08:47:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DBFB73896C0E From: "sumbera at volny dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/100559] build failure of 32-bit Ada runtime after local modification Date: Thu, 13 May 2021 08:47:26 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sumbera at volny dot cz X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: Thu, 13 May 2021 08:47:27 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100559 --- Comment #14 from Petr Sumbera --- (In reply to Eric Botcazou from comment #13) > > $ cat gcc-11.1.0/gcc/config/sparc/t-sol2 > > MULTILIB_OPTIONS =3D m32/m64 > > MULTILIB_DIRNAMES =3D 32 sparcv9 > > MULTILIB_MATCHES =3D > > MULTILIB_OSDIRNAMES =3D . sparcv9 >=20 > So you have a local modification after all, here is the pristine file: >=20 > eric@fomalhaut:~/tmp/gcc-11.1.0> cat gcc/config/sparc/t-sol2 > MULTILIB_OPTIONS =3D m32/m64 > MULTILIB_DIRNAMES =3D sparcv8plus sparcv9 > MULTILIB_MATCHES =3D > MULTILIB_OSDIRNAMES =3D . sparcv9 >=20 > You need to do s/sparcv8plus/32/ on $(srcdir)/gcc/ada/Makefile.rtl as wel= l. Thank you very much! I'm trying it now. I don't know the history of the change: https://github.com/oracle/solaris-userland/blob/master/components/gcc10/pat= ches/001-multilib-sparc.patch It has following comment: # We want sparc/i386 to match locations for their 32 bit support when buil= ding # multilib. For now use the more generic /32. This has not been filed # upstream. I wonder whether it makes sense to have it in upstream?=