From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay06.ispgateway.de ([80.67.31.104]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Tlj96-0002ZV-Un for ptxdist@pengutronix.de; Thu, 20 Dec 2012 17:38:57 +0100 Received: from [78.47.165.117] (helo=regiomontanus.your-server.de) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Tlj96-0001Lw-KS for ptxdist@pengutronix.de; Thu, 20 Dec 2012 17:38:56 +0100 Date: Thu, 20 Dec 2012 17:38:55 +0100 From: Bernhard Walle Message-ID: <20121220163855.GA19341@regiomontanus.your-server.de> References: <201212201609.35310.tim01@vlsi.informatik.tu-darmstadt.de> <20121220151440.GA32265@regiomontanus.your-server.de> <201212201723.34733.tim01@vlsi.informatik.tu-darmstadt.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201212201723.34733.tim01@vlsi.informatik.tu-darmstadt.de> Subject: Re: [ptxdist] host-dtc not compiling Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi Tim, * Tim Sander [2012-12-20 17:23]: > > * Tim Sander [2012-12-20 16:09]: > > > I have the problem that host-dtc and dtc are not compiling with OSELAS > > > 2012.12.0 and ptxdist 2012.12.0 (and also 2012.11.0). There are some > > > bogus messages that variables are initialized but unused. But they are > > > used later on? I have not found the place where this warning flag of > > > unused variables is set? > > > > Maybe -Werror? In the Makefile of dtc itself? Can you post the error log > > including the compiler call. > Its -Werror=unused-but-set-variable but its not set in host-dtc.make > I didn't found the source of the flags but maybe its from the 2012.12 toolchain? It's set in the Makefile of dtc: CPPFLAGS = -I libfdt WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \ -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls CFLAGS = -g -Os -fPIC -Werror $(WARNINGS) Since we're talking about host-dtc, the OSELAS.Toolchain is not used but the toolchain on your host. You have to patch the source code and/or the Makefile. Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de