[M3devel] more cm3cg on Raspberry Pi

mika at async.caltech.edu mika at async.caltech.edu
Sat Oct 19 03:26:02 CEST 2013


After setting up for soft float, I got a lot of these warnings/errors...

new source -> compiling RTHeapInfo.m3
RTHeapInfo.ms: Assembler messages:
RTHeapInfo.ms:859: rdhi, rdlo and rm must all be different
RTHeapInfo.ms:907: rdhi, rdlo and rm must all be different
RTHeapInfo.ms:927: rdhi, rdlo and rm must all be different
new source -> compiling RTHeapMap.i3

This is with the following configuration:

in /usr/local/cm3 I have the C-generating compiler installed.  It seems to mostly work, as discussed.

Then I run boot2.sh

boot.sh finally ends with the following output, which doesn't look quite right:

== package /big/home2/mika/2/cm3-cvs/cm3/m3-sys/mklib ==

 +++ /usr/local/cm3/bin/cm3    -build -DROOT=/big/home2/mika/2/cm3-cvs/cm3 +++
--- building in ARMEL_LINUX ---

ignoring ../src/m3overrides

new source -> compiling Main.m3
 -> linking mklib
 ==> /big/home2/mika/2/cm3-cvs/cm3/m3-sys/mklib done

 +++ /usr/local/cm3/bin/cm3  -ship -DROOT=/big/home2/mika/2/cm3-cvs/cm3 +++
--- shipping from ARMEL_LINUX ---

. => /usr/local/cm3/pkg/mklib/ARMEL_LINUX
  .M3EXPORTS        .M3WEB          
../src => /usr/local/cm3/pkg/mklib/src
  Main.m3         
. => /usr/local/cm3/bin
  mklib           
 ==> /big/home2/mika/2/cm3-cvs/cm3/m3-sys/mklib done

/big/home2/mika/2/cm3-cvs/cm3/m3-sys/m3cggen/ARMEL_LINUX/m3cggen > /big/home2/mika/2/cm3-cvs/cm3/m3-sys/m3cc/gcc/gcc/m3cg/m3cg.h
mkdir -p /usr/local/cm3/bin
cp -Pv /big/home2/mika/2/cm3-cvs/cm3/m3-sys/cm3/ARMEL_LINUX/cm3 /usr/local/cm3/bin/cm3
Traceback (most recent call last):
  File "./upgrade.py", line 72, in <module>
    reload(pylib) # compiler host type may have changed and need to recompute stuff
  File "/big/home2/mika/2/cm3-cvs/cm3/scripts/python/pylib.py", line 650, in <module>
    if Host.endswith("_NT") or Host == "NT386":
AttributeError: 'NoneType' object has no attribute 'endswith'
raspberrypi:/big/home2/mika/2/cm3-cvs/cm3/scripts/python# 

     Mika



More information about the M3devel mailing list