[M3devel] Fwd: CM3 report compiler compilation

Rodney M. Bates rodney_bates at lcwb.coop
Fri Oct 7 17:27:31 CEST 2016




-------- Original Message --------
Subject: CM3 report compiler compilation
Date: Fri, 7 Oct 2016 10:53:29 +0200
From: Wolfgang Keller <9103784 at gmx.de>
To: rodney.m.bates at acm.org

I attempted at compiler compilation and found a few peculiar things.

1. The Result

Critical Mass Modula-3 version d5.10.0
   last updated: 2015-05-21
   compiled: 2016-10-07 03:58:31
   configuration: /home/user/Projekte/M3-Test2/bin/cm3.cfg
   host: AMD64_LINUX
   target: AMD64_LINUX

This is how cm3 identifies.

a) "last updated" - since you modified the sources, should there be a
younger date?

b) compilation results (executables) as well as configuration file have
been put into CM3 (Git version) folders and into the "independent"
installation of the older version of CM3, i.e. 5.8.6. I see this
critical! The independent installation should stay unmodified in its
functionality. Users might wish to continue to use it, e.g. when the
newer version proves buggy or otherwise undesirable.

c) Erroneous execution. When calling "cm3" in the "cm3ide" directory it
does not compile and the text result is

-- begin --
--- building in AMD64_LINUX ---

ignoring ../src/m3overrides

Fatal Error: bad version stamps: ConnFD.i3

inconsistent opaque object info for type _t1541f475
super type: _te422a136  data: (size: 64, align: 64)  method: (size: 0)
  => ConnFD.i3
super type: _te422a136  data: (size: 192, align: 64)  method: (size: 0)
  => ThreadPThread.m3

-- end --


2. The Way to the Result

a) The following script files require the "executable" file attribute in
the file system. By default theiy didn't have it set here, causing
several broken compilations. Not sure whether Git provides file
attributes conservation in this sense, if yes it is recommendable to
make these file settings in the Git version!

- upgrade.sh in scripts

- do-pkg.sh in scripts
- pkgmap.sh in scripts

- configure in m3-sys/m3cc/gcc-4.7
- move-if-change in m3-sys/m3cc/gcc


Regards

- Wolfgang






More information about the M3devel mailing list