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

Olaf Wagner wagner at elego.de
Fri May 29 10:54:51 CEST 2015


On Fri, 29 May 2015 09:39:13 +0200
John Marino <adacore at marino.st> wrote:

> On 5/29/2015 05:18, Rodney M. Bates wrote:
> > OK, this is working for me on LINUXLIBC6.
> > 
> > With the release compiler installed:
> > 
> > $ cm3 -version
> > Critical Mass Modula-3 version 5.8.6
> >   last updated: 2010-04-11
> >   compiled: 2013-09-13 21:38:06
> >   configuration: /usr/local/cm3/bin/cm3.cfg
> >   host: AMD64_LINUX
> >   target: AMD64_LINUX
> > 
> > And a freshly pulled git repository from github,
> > in cm3/scripts:
> > 
> > 1) $ ./do-cm3-all.sh realclean    #Clean everything
> > 2) $ ./do-cm3-front.sh buildship  #Build a compiler & its support libraries
> > 
> > All compiles succeeded.
> 
> At first I was thinking "this is kind of horrible" until I realized that
> this is pretty much what the former boot-cm3-with-m3.sh script was
> doing.  I figured out a way to incorporate this technique into the
> port's makefile.  Unfortunately, I can't say I found success.
> 
> #
> /mech/construction/mech/ptrees/default/lang/modula3/work/bootstrap/bin/cm3
> -version
> 
> Critical Mass Modula-3 version 5.8.6
>   last updated: 2010-04-11
>   compiled: 2014-01-02 01:01:20
>   configuration:
> /mech/construction/mech/ptrees/default/lang/modula3/work/bootstrap/bin/cm3.cfg
>   host: AMD64_FREEBSD
>   target: AMD64_FREEBSD
> 
> 
> I am seeing the same exact m3cg version stamp errors as I saw on the
> python upgrade script.  Here's my build log so you can verify I followed
> the procedure:
> 
> http://leaf.dragonflybsd.org/~marino/m3a.log
> 
> I don't know it would work for you on linux but not me on FreeBSD ...

Please try what I suggested in the attached mail: define
INSTALL_CM3_IN_BIN=yes
in the environment and see if that helps.

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
-------------- next part --------------
An embedded message was scrubbed...
From: Olaf Wagner <wagner at elegosoft.com>
Subject: Re: [M3devel] m3cgc1: fatal error: *** bad M3CG version stamp (0x100), expected 0x110
Date: Thu, 28 May 2015 23:05:54 +0200
Size: 3481
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20150529/f681ba94/attachment-0002.mht>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20150529/f681ba94/attachment-0002.sig>


More information about the M3devel mailing list