From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21061 invoked by alias); 5 Jan 2015 08:52:55 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21019 invoked by uid 48); 5 Jan 2015 08:52:51 -0000 From: "simon at pushface dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/64492] Disabling libada prevents building gnattools-cross Date: Mon, 05 Jan 2015 08:52:00 -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: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon at pushface dot org X-Bugzilla-Status: REOPENED 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-SW-Source: 2015-01/txt/msg00198.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64492 --- Comment #5 from simon at pushface dot org --- (In reply to Luke A. Guest from comment #2) > But, I noticed this in the gnat makefile a while back and was going to > investigate, but haven't got around to it yet: >=20 > # *-elf, *-eabi, or *-eabispe > ifeq ($(strip $(filter-out elf eabi eabispe,$(target_os))),) > TOOLS_TARGET_PAIRS=3D\ > mlib-tgt-specific.adb indepsw.adb endif >=20 > Essentially, we just need for that to include a specific system or build > with just those two files and it's sorted. I agree that, for some reason, this tools target pair is not actioned for target arm-eabi. Perhaps there should be another PR? The effect is that arm-eabi-gnatmake is unable to build libraries on this platform. However, gprbuild is OK. I always use gprbuild when building libraries because it does a much better job, and is necessary when building Darwin dylibs. I understand (can=E2=80=99t remember where from) that AdaCore intend to rem= ove the ability of gnatmake to build libraries for any target in future releases. If this is true, I think it would be regrettable, since gprbuild isn=E2=80=99t= part of GCC (it does have copyright assignment to FSF, though). GCC 5 is still OK. >>From gcc-bugs-return-472206-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Jan 05 08:54:52 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22826 invoked by alias); 5 Jan 2015 08:54:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 22809 invoked by uid 89); 5 Jan 2015 08:54:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 05 Jan 2015 08:54:50 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 179FC2C229CF; Mon, 5 Jan 2015 09:54:47 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id As9VPT6tc3EP; Mon, 5 Jan 2015 09:54:47 +0100 (CET) Received: from chelles.act-europe.fr (chelles.act-europe.fr [10.10.0.160]) by smtp.eu.adacore.com (Postfix) with ESMTP id 05E172C229A3; Mon, 5 Jan 2015 09:54:47 +0100 (CET) Received: by chelles.act-europe.fr (Postfix, from userid 525) id F328E1EA034F; Mon, 5 Jan 2015 09:54:46 +0100 (CET) Date: Mon, 05 Jan 2015 08:54:00 -0000 From: Arnaud Charlet To: simon at pushface dot org Cc: gcc-bugs@gcc.gnu.org Subject: Re: [Bug ada/64492] New: Disabling libada prevents building gnattools-cross Message-ID: <20150105085446.GA24183@adacore.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2015-01/txt/msg00200.txt.bz2 Content-length: 448 > Unfortunately you can???t build the cross gnattools, because > --disable-libada > adds gnattools to the list of unconfigured directories, which means that > the > directory gcc/ada/tools is never created, let alone populated. > gcc/ada/gcc-interface/Makefile.in touches stamp-tools, but that???s > all. You can actually. The way to build gnattools when using --disable-libada is to do: obj $ make -C gcc cross-gnattools ada.all.cross Arno