From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16822 invoked by alias); 26 Feb 2007 18:54:05 -0000 Received: (qmail 16812 invoked by uid 22791); 26 Feb 2007 18:54:04 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 26 Feb 2007 18:53:57 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l1QIrsnk020520; Mon, 26 Feb 2007 13:53:54 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l1QIrqwW008974; Mon, 26 Feb 2007 13:53:52 -0500 Received: from [172.16.14.227] (topaz.toronto.redhat.com [172.16.14.227]) by pobox.toronto.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l1QIrq0J004369; Mon, 26 Feb 2007 13:53:52 -0500 Message-ID: <45E32CC0.8080901@redhat.com> Date: Mon, 26 Feb 2007 18:54:00 -0000 From: Dave Brolley User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: Michael Ambrus CC: "Frank Ch. Eigler" , sid@sourceware.org Subject: Re: Building SID References: <81c474d20702251137j3e65f89aidf58a2e4cf019252@mail.gmail.com> <20070226002136.GA19131@redhat.com> <45E30A3C.8060209@redhat.com> <81c474d20702260951ub995838w7c359687fdc62fc8@mail.gmail.com> In-Reply-To: <81c474d20702260951ub995838w7c359687fdc62fc8@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact sid-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00029.txt.bz2 Michael Ambrus wrote: > I've got the files thanx. They seem broken however.... > > The following is the first place where it breaks (I noticed that the > build system will not respect neither 'make -S' nor 'export > MAKEFLAGS="-S" && make' - it seems that the recursive build is using > 'make -k' no matter what I do). > > ../../../../src/sid/component/cgen-cpu/sh/sh2.h:16: error: > 'sh_common_model' was not declared in this scope > ../../../../src/sid/component/cgen-cpu/sh/sh2.h:16: error: wrong > number of template arguments (8, should be 5) Compiles fine for me using >> gcc --version gcc (GCC) 4.1.2 20060612 (prerelease) (GNUPro 06r1) I can't tell for sure, because I don't know which file you were compiling at the time, but it looks to me like sh_common_model is in the global namespace, so I'm not sure why it can't be found. Perhaps a 'using namespace ::' is needed before the declaration of sh2_cpu? > : > : > Which leads to this: > > : > : > ../../../../src/sid/component/cgen-cpu/sh/sh4-nofpu-defs.h:22: error: > forward declaration of 'class sh4_nofpu::sh4_nofpu_cpu' This forward declaration is intentional. Any idea why it would not be allowed? > gcc used is the native one for my system which is i486-linux-gnu > (version 4.0). Note that the standard for forward declarations to > templates has changed (in case you're using an older compiler). >