[M3devel] CM3 on Alpha tru64 4.0G

Jay K jay.krell at cornell.edu
Wed Jul 14 01:27:51 CEST 2010


> Things to try: cross build, user threads.

http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-boot-ALPHA_OSF-pthreads-d5.8.2-20100713.tgz
or
http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-boot-ALPHA_OSF-userthreads-d5.8.2-20100713.tgz

?

And in userthreads, if there is no get/set/make/swapcontext, you can change the #if at the top of ThreadPosixC.c to try sigaltstack.
Also the userthreads Makefile has -lpthread in it, which you'll maybe want to remove...depending on if there is pthread_atfork, i.e. you  might want to tweak this:
jbook2:cm3-boot-ALPHA_OSF-d5.8.2-20100713 jay$ grep pthread_atfork *c
RTProcessC.c:      int i = pthread_atfork(prepare, parent, child);


but try the pthread version first?

These will give you a cm3 and if it prints "unable to find cm3.cfg", good.

Tru64 4.x isn't officially supported by gcc any longer, but I noticed recent test results posted anyway.
You just have to configure -enable-obsolete or somesuch.

Can you give me ssh access? That's a good and bad thing. Should be doable without such direct help by me..

 - Jay

----------------------------------------
> From: jay.krell at cornell.edu
> To: mark at wickensonline.co.uk; hosking at cs.purdue.edu
> Date: Tue, 13 Jul 2010 23:04:20 +0000
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] CM3 on Alpha tru64 4.0G
>
>
> Things to try: cross build, user threads.
> Do you have a "modern" system with a working cm3?
> Do you have cvs and a working C compiler/linker on this older system?
>
>  - Jay
>
> ----------------------------------------
> > From: mark at wickensonline.co.uk
> > To: hosking at cs.purdue.edu
> > Date: Tue, 13 Jul 2010 21:40:28 +0100
> > CC: m3devel at elegosoft.com
> > Subject: Re: [M3devel] CM3 on Alpha tru64 4.0G
> >
> > Hi Tony, the exception I get is as follows:
> >
> > >From cm3-min-ALPHA_OSF-d5.8.2-20100612/bin
> >
> > bash-3.2$ ./cm3
> > %DECthreads bugcheck (version V3.18-037), terminating execution.
> > % Reason: stkGet: (4) nxm_stack_create (0,5251072,16384,8192)
> > % Running on OSF1 V4.0(1530) on AlphaServer 300 4/266, 256Mb; 1 CPUs,
> > pid 21360
> >
> >
>
 		 	   		  


More information about the M3devel mailing list