From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29164 invoked by alias); 10 Dec 2012 18:00:41 -0000 Received: (qmail 29069 invoked by uid 48); 10 Dec 2012 18:00:22 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/55243] STAMP variable is not defined in t-avr Date: Mon, 10 Dec 2012 18:00: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-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-12/txt/msg01018.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55243 --- Comment #12 from Eric Botcazou 2012-12-10 18:00:20 UTC --- > LANG_MAKEFRAGS contains $(srcdir)/ada/gcc-interface/Make-lang.in which in turn > contains: > > # put the host RTS dir first in the PATH to hide the default runtime > # files that are among the sources > RTS_DIR:=$(strip $(subst \,/,$(shell gnatls -v | grep adalib ))) > > which means gnatls is called no matter if it exists or not. OK, thanks for investigating. Tentative patch for ada/ to be attached. > The Makefile includes $(tmake_file) and thus > $(srcdir)/gcc/config/avr/t-multilib which is auto-generated and needs $(STAMP) > to build. > > AFAIK make resolves its includes before it starts building the targets. So t-multilib is autogenerated in the source tree during the build???