[M3devel] CM3 on IA64?

Jay K jay.krell at cornell.edu
Wed Oct 5 00:11:38 CEST 2011


Daniel, please discuss SPIN and alternate m3core implementations on another thread.
Your links seem generally interesting, but you only seem to take a shred of a hint from our conversations and go all out on rambly tangents.
I do that too sometimes, granted. I almost did here, about quake vs. Python.. m3core in kernel or user mode... 

Mark please ignore Daniel for purposes of bringing up CM3 on IA64.

 - Jay

Date: Tue, 4 Oct 2011 22:58:32 +0100
From: dabenavidesd at yahoo.es
Subject: Re: [M3devel] CM3 on IA64?
To: mark at wickensonline.co.uk; jay.krell at cornell.edu
CC: m3devel at elegosoft.com

Hi all:
I wish more akin the spin approach to skip m3core not embedded to compile assembly and link, with standalone C quake (5K loc or so) was enough in a cross platfrom way.

The main thing thing is that we would need a very sophisticated apparatus with VM, e.g Mark have you any VM inside (where this sounds like a good task to implement if there is such, I Imagine kqemu is on IA64, right? If not, then this is too onerous, I mean we would need a VM to start with, or at least a driver if we we want this to perform as quickly as possible).
I don't know but perhaps you could boot one OS on all machines by just one VM, and then move forward every CPU and OS. The positive side of this is we get a powerful enough VM to boot from (OpenVMS supported), we can solve an intrinsic problem in CM3 and all, the need to get  trapped errors, like machine traps
 isolated handled by the OS.

There is a complete MSc thesis to sort this out but I haven't get it, if somebody can make a clue of how to get it, that would be great (author is not too much available for doing this work again, at least we could see how that went that way).
http://www.unive.it/nqcontent.cfm?a_id=26764

Python sounds good for the start to boot everything else on it (if quake it's too lame, right Jay, if so, or tell me please if it isn't what doyou think about it).

http://www.imada.sdu.dk/~joan/security/sec.ps

I know that the guys working with Shared Data Abstractions explored more the quake idea, like MP quake, if that's what they called that:
http://books.google.com/books?ei=dH6LTuzbBcqctwfM0eiSAw&ct=result&id=_6RVAAAAMAAJ

However I'm not saying that just that sorts out the problem, perhaps a more integrated development environment is needed (AST based like Olivetti STL planned it or wrote
 some part of it, but who cares or who used it anyway, perhaps like CAMEL in ARX OS, the useful part would be the interpreter but for more pedagogical purposes rather than that or if that's the thing we like Baby Modula-3, etc, where objects are not imperative just functional or if you want them then Obliq might appear then), something akin Vulcano and parallel make, but I don't have articles about it to say that .

Thanks in advance

--- El mar, 4/10/11, Jay K <jay.krell at cornell.edu> escribió:

De: Jay K <jay.krell at cornell.edu>
Asunto: Re: [M3devel] CM3 on IA64?
Para: mark at wickensonline.co.uk
CC: "m3devel" <m3devel at elegosoft.com>
Fecha: martes, 4 de octubre, 2011 15:57





Sorry. More/correct instruction:

 Don't set any CM3 environment variables. 
 Just make sure some cm3 is in $PATH. 
 Go to a machine with a working cm3. Windows probably not preferred, but it might work. 
 On that machine run that script. 
  It may or may not work. 
  If it doesn't work, the errors shouldn't be terrible. You should investigate them. Report them here if stumped (or if you progress). 
  Once it works, you'll have like cm3-IA64_LINUX-timestamp.tar.gz. 
  You copy that .tar.gz to your Linux/ia64 machine.  (I use scp.) 
  tar xfz it. 
  cd cm3-IA64-LINUX-timestamp 
  make  
  Which may or may not work, but should make a lot of progress. 
    Once that works, well..more later. It is a major step, but there is a little more to do. 
  You might have to edit the top of the Makefile. 


 I can predict
 where the problems will be, but let's see how it goes with minimum hinting from me, ok? 
 You are signed up to waste time, right? :) 


 Let us know, and please don't give up quickly, thank you,
  - Jay




> From: mark at wickensonline.co.uk
> To: jay.krell at cornell.edu
> Date: Tue, 4 Oct 2011 19:06:44 +0100
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] CM3 on IA64?
> 
> Jay,
> 
> I tried this:
> 
> msw at zx6000 /usr/local/cm3-build/cm3/scripts/python $ echo $CM3_INSTALL
> /usr/local/cm3-build/cm3/
> 
> msw at zx6000 /usr/local/cm3-build/cm3/scripts/python $ ./boot1.py
> IA64_LINUXTraceback (most recent call last):
>   File "./boot1.py", line 5, in <module>
>     import pylib
>   File "/usr/local/cm3-build/cm3/scripts/python/pylib.py", line 569, in
> <module>
>     for a in
 os.popen(CM3 + " -version 2>/dev/null"):
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
> 
> Am I missing the executable 'cm3'?
> 
> Mark.
> 
> 
> On Tue, 2011-10-04 at 01:06 +0000, Jay K wrote:
> > Can you give me or any of us ssh access to it?
> > 
> > 
> > Porting is much much easier these days.
> > Really, it is not difficult.
> > If gcc supports the target and the target is reasonably Posix
> > compliant, there is almost nothing to do.
> > These are both true for Linux/ia64.
> > 
> > 
> > Can you try?
> > 
> > 
> > See
> > http://modula3.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/doc/notes/porting.txt?rev=1.6;content-type=text%2Fplain
> > 
> > 
> > or just go ahead and
> > 
> > 
> >   cd
 scripts/python  
> >   ./bootstrap.py IA64_LINUX  
> > 
> > 
> > It *might* just work.
> > It will certainly almost work.
> > There is really very little to it.
> > There never was a whole lot really, but there is a lot less now.
> > A big part used to be rewriting /usr/include in Modula-3, which was
> > tedious, error-prone, and unsafe.
> > That is gone now.
> > Before pthreads, another part was dissecting jmpbuf.
> > That is gone now -- even for user threads.
> > 
> > 
> >  - Jay
> > 
> > > Date: Mon, 3 Oct 2011 23:18:17 +0100
> > > From: mark at wickensonline.co.uk
> > > To: m3devel at elegosoft.com
> > > Subject: [M3devel] CM3 on IA64?
> > > 
> > > Hi guys,
> > > 
> > > Has anyone attempted a port of CM3 to Itanium
 architecture?
> > > I've recently installed gentoo on my ZX6000 and it's all running
> > very 
> > > nicely.
> > > My thoughts turned to what would be involved in getting Modula-3
> > running.
> > > 
> > > Kind regards, Mark.
> > > 
> > 
> 
> 
 		 	   		  
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20111004/e9ae29b4/attachment-0002.html>


More information about the M3devel mailing list