[M3devel] Bootstrapping cm3 on OS X 10.9.5

Olaf Wagner wagner at elegosoft.com
Tue May 19 01:33:49 CEST 2015


On Mon, 18 May 2015 23:47:14 +0200
Olaf Wagner <wagner at elegosoft.com> wrote:

> On Mon, 18 May 2015 11:55:10 -0500
> "Rodney M. Bates" <rodney_bates at lcwb.coop> wrote:
> 
> > Olaf, I think you must have a wrong version of cm3cg.  I paper-traced through the first
> > few IR opcodes of PklFpMap.mc (as generated by my cm3 executable, fairly recently built
> > from the git repository) and encountered several changes to the binary opcodes,
> > one of which I made.  Using a release 5.8 version of cm3cg, I got a similar (though
> > not identical) error:
> > 
> > rodney at allegheny:~/proj/m3/git/cm3/m3-libs/libm3/AMD64_LINUX$ /usr/local/cm3-release/bin/cm3cg  -quiet -fno-reorder-blocks -funwind-tables -fPIC   -m64 -gstabs+ PklFpMap.mc -o PklFpMap.ms
> > cm3cg: fatal error:  *** illegal type: 0x20, at m3cg_lineno 2
> > compilation terminated.
> > 
> > The type 0x20 and and m3cg_lineno 2 values agree with what I expect from the source code
> > I have for the release branch, CVS repository.  That suggests you have a third version
> > of cm3cg.  (Or maybe not the right version of cm3 front-end?)
> > 
> > This is on AMD64_LINUX.
> 
> OK, I'll try to check that again. Thank you very much for the help.
> It may take some time but I'll let you know what I find out. Weekend
> is over...

Couldn't let this rest though...

It seems I made a really stupid mistake by installing an I386_DARWIN
archive, as I have a 64 bit processor. AMD64_DARWIN should work
much better, and I've even found one from March 2011.

After replacing the configuration files with those from the current code
base and adapting some basic system tool definitions like gcc and libtool
I have now successfully compiled m3core. This looks good so far.
It would have taken me much longer without your hint.

But now I need some sleep,

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH -- http://www.elegosoft.com 
               Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194



More information about the M3devel mailing list