This is the mail archive of the sid@sourceware.org mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building SID


I synced the source just a minute ago, but the same compile problem is
still there. I had some time left to look at the issue.

Regarding SH, the problem relates to the sh2_cpu class in the sh2.h file:

 class sh2_cpu: public
sh_compact_cpu<sh2_cpu,sh2_cpu_cgen,sh2_idesc,sh2_scache,sh_common_model<sh2_sh2_model,sh2_cpu,sh2_idesc,sh2_scache>


I didn't investigate further for now, but modified tconfig.in:


//#define SIDTARGET_SH @sidtarget_sh@
//#define SIDTARGET_SH64 @sidtarget_sh64@

That omits the SH target it seems.

Since I would like to try sid for more than one target (ARM and x86) I
tried to figure out if there would be an option for including all
targets *but* specific ones. The way sidtargets.m4 is written however,
it seems possible only to add targets explicitly. I'll see if I can
rewrite the logic so that both explicit inclusion and explicit
omission would be possible (i.e. something like
--disable-targets=<LIST> would be nice).

The build is then OK until component ARM is compiled.

Compiling the files arm.cxx and compTIMERS.cxx both give the same error:

/home/ambrmi09/projects/sid/src/sid/component/timers/arm7t/arm7t-timer.h:142:
error: looser throw specifier for 'virtual
armTimerNoSched::~armTimerNoSched()'
/home/ambrmi09/projects/sid/src/sid/component/timers/arm7t/arm7t-timer.h:70:
error: overriding 'virtual armTimer::~armTimer() throw ()'

I made the following change:

Index: sid/component/timers/arm7t/arm7t-timer.h
===================================================================
RCS file: /cvs/src/src/sid/component/timers/arm7t/arm7t-timer.h,v
retrieving revision 1.3
diff -r1.3 arm7t-timer.h
70c70
<   ~armTimer() throw () { }
---
~armTimer() { throw (1); }

Have a look if the pach seems OK.


The build now succedes and I'm looking forward to try sid...

Best
/Michael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]