This is the mail archive of the
mailing list for the SID project.
Re: Building SID
- From: "Michael Ambrus" <ambrmi09 at gmail dot com>
- To: "Dave Brolley" <brolley at redhat dot com>
- Cc: "Frank Ch. Eigler" <fche at redhat dot com>, sid at sourceware dot org
- Date: Mon, 26 Feb 2007 18:51:14 +0100
- Subject: Re: Building SID
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RvSct8OKT0ZgjAqQHeWZxF8BGrTK7a2HWOkgX+JrT6YpRBE4Fr2gF9PbqkMuXjiFgJGOuEE7eSs5zsyiNKT7NuadwVpqWkLnDG9++iVtOLNEYoZZDYnKRjG4TKi5wJ0oRsGVe+Y2hKNWbQvaJzin2qZN4/B1A+2Piq4bsDGaE2o=
- References: <firstname.lastname@example.org> <20070226002136.GA19131@redhat.com> <45E30A3C.email@example.com>
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).
'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)
Which leads to this:
forward declaration of 'class sh4_nofpu::sh4_nofpu_cpu'
invalid use of undefined type 'class sh4a_nofpu::sh4a_nofpu_cpu'
forward declaration of 'class sh4a_nofpu::sh4a_nofpu_cpu'
../../../../src/sid/component/cgen-cpu/compCGEN.cxx:426: error: cannot
convert 'sh5::sh5_compact_cpu*' to 'sid::component*' in return
../../../../src/sid/component/cgen-cpu/compCGEN.cxx:428: error: cannot
convert 'sh5::sh5_32media_cpu*' to 'sid::component*' in return
../../../../src/sid/component/cgen-cpu/compCGEN.cxx:430: error: cannot
convert 'sh5::sh5_64media_cpu*' to 'sid::component*' in return
make: *** [compCGEN.lo] Error 1
make: *** [all-recursive] Error 1
make: *** [all] Error 2
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).
On 2/26/07, Dave Brolley <firstname.lastname@example.org> wrote:
Frank Ch. Eigler wrote:
>> Hers comes the lines where the build breaks:
>> make: *** No rule to make target `sh64-elf-sid', needed by `all-am'.
>> The ChangeLog mentions 'sh-elf-sid,sh5-elf-sid,sh64-elf-sid: New
>> files' so I'm guessing the files were just not committed yet.
> That's probably right, it must be an oversight.
You're right. It was an oversight. Now corrected.