From patchwork Tue Jul 9 23:05:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan-Benedict Glaw X-Patchwork-Id: 257899 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 6389B2C016F for ; Wed, 10 Jul 2013 09:05:36 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=SJ5gdczHwKevdoZEaBjsAKwf51olO5cQoztzBDBWZegYcgmiaY 7IWTLjNn2QOAfgtH7zmEwggXVuup2EVSN+9vdkLYhsgWibD7f+IWuZlfmE3OFJSm W/3pKrPOkS0hTsKYaGduf9fmzDZyo61NPvK1t4NfI1+ll32UZzinlEqaY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=yqMSsmy+jDb9xxIIae0nHVNTKXo=; b=OPHCSUCamPhEH+S5J+BC 7gO6MnJZ72UbJ0XeAzwi32h5O7U2NC6Fm7K4pPApahKXfHlC/lSreoDRbID+E3nv /Ug2CP/6RLsQPg1mo7ki0zZAefQryjf6TSQQOCwV0q9enLAr7XSAMDXQ+6NGYGUs h35THnF4nDDXvD485YrM4KU= Received: (qmail 1055 invoked by alias); 9 Jul 2013 23:05:31 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 1006 invoked by uid 89); 9 Jul 2013 23:05:25 -0000 X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL, BAYES_00, KHOP_PGP_SIGNED, RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from lug-owl.de (HELO lug-owl.de) (195.71.106.12) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 09 Jul 2013 23:05:24 +0000 Received: by lug-owl.de (Postfix, from userid 1001) id 47B6AF0BEF; Wed, 10 Jul 2013 01:05:21 +0200 (CEST) Date: Wed, 10 Jul 2013 01:05:21 +0200 From: Jan-Benedict Glaw To: GCC Patches Cc: Jayant Sonar Subject: Restore cr16-elf Message-ID: <20130709230520.GA5610@lug-owl.de> MIME-Version: 1.0 Content-Disposition: inline X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net X-Echelon-Enable: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-TKUeV: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Found: No Hi! I just tried to build cr16-elf, which fails due to a dependency problem: `gencodes' is needed to build insn-codes.h, but for building it, target.h is included in cr16-protos.h, which in turn includes insn-codes.h: [...] g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../../../gcc/gcc -I../../../../gcc/gcc/build -I../../../../gcc/gcc/../include -I../../../../gcc/gcc/../libcpp/include -I../../../../gcc/gcc/../libdecnumber -I../../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../../../gcc/gcc/../libbacktrace \ -o build/gencondmd.o build/gencondmd.c In file included from ../../../../gcc/gcc/config/cr16/cr16-protos.h:24:0, from ./tm_p.h:4, from build/gencondmd.c:24: ../../../../gcc/gcc/target.h:52:24: fatal error: insn-codes.h: No such file or directory compilation terminated. make[2]: *** [build/gencondmd.o] Error 1 make[2]: Leaving directory `/mnt/devel/src/linux/build/cr16-elf/gcc-stage1/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/mnt/devel/src/linux/build/cr16-elf/gcc-stage1' The target.h include in cr16-protos.h isn't needed, so don't include it. This allows to build for cr16-elf again. Ok to commit? 2013-07-10 Jan-Benedict Glaw gcc/ * config/cr16/cr16-protos.h: Don't include target.h. diff --git a/gcc/config/cr16/cr16-protos.h b/gcc/config/cr16/cr16-protos.h index a521315..f6663c9 100644 --- a/gcc/config/cr16/cr16-protos.h +++ b/gcc/config/cr16/cr16-protos.h @@ -21,8 +21,6 @@ #ifndef GCC_CR16_PROTOS_H #define GCC_CR16_PROTOS_H -#include "target.h" - /* Register usage. */ extern enum reg_class cr16_regno_reg_class (int); extern int cr16_hard_regno_mode_ok (int regno, enum machine_mode);