[M3devel] m3cgc1: fatal error: *** bad M3CG version stamp (0x100), expected 0x110

Jay K jay.krell at cornell.edu
Mon Jun 1 16:38:44 CEST 2015


Sorry, multiple mistakes there by me.

 
 But I think I see the problem maybe.
 
 
 See it is always running mech/construction/mech/ptrees/default/lang/modula3/work/bootstrap/bin/cm3 ? 
 
 
 and never 

 
 /mech/construction/mech/ptrees/default/lang/modula3/work/intermediate/compiler_with_{previous,self}/bin/{cm3,cm3cg} ?
Do you have $CM3 set? Don't do that.

 
It is supposed to be updating $PATH as it goes and finding cm3 and maybe cm3cg from there.
But an environment variable CM3 will break it.
https://github.com/modula3/cm3/blob/master/scripts/python/make-dist.py
the function Setup
That should print more, and maybe run and print the output of "where/which cm3" and "where/which cm3cg".
 
 
and:
https://github.com/modula3/cm3/blob/master/scripts/python/pylib.py:
 CM3 = ConvertPathForPython(getenv("CM3")) or "cm3"
 CM3 = SearchPath(CM3)
 
 
I really just need to get and try your automation.
You've made it available already? 
I'll have FreeBSD running locally "soon"..
 
 
The right request by me would be to set PATH and CM3_INSTALL appropriately as make-dist.py would and
run just building cvsup with -commands -verbose. Can you see how to do that?
 
 

 - Jay


 
> Date: Mon, 1 Jun 2015 11:44:02 +0200
> From: adacore at marino.st
> To: jay.krell at cornell.edu
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] m3cgc1: fatal error: *** bad M3CG version stamp (0x100), expected 0x110
> 
> On 6/1/2015 11:29, Jay K wrote:
> > can you do like:
> >  export
> > PATH=$STAGE/cm3-all-AMD64_FREEBSD-d5.10.0-FreeBSD10.1-20150601/bin/:$PATH
> >  cd
> > /mech/construction/mech/ptrees/default/lang/modula3/work/cm3-8c1b86a/m3-tools/cvsup/suplib
> > 
> >  cm3 -commands -verbose
> >  cm3 -commands -verbose realclean
> >  cm3 -commands -verbose build
> 
> It did not like "realclean" or "build":
> http://leaf.dragonflybsd.org/~marino/cvsupcmd.log
> 
> John
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20150601/bbb678f1/attachment-0002.html>


More information about the M3devel mailing list