[M3devel] building CM3 on a Raspberry Pi?

Jay K jay.krell at cornell.edu
Mon Oct 14 18:59:21 CEST 2013


 > Fatal Error: unrecognized backend mode: C


Make sure you ./update.py your main toolset first.
Also, while the C backend was working a year ago, for quite
a while I did not change the builder to know about it directly.
I was going via m3cgcat.
So you need to be fairly current, or else modify the
config files a different way, and have it be slower.


 - Jay


> To: jay.krell at cornell.edu
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] building CM3 on a Raspberry Pi?
> Date: Mon, 14 Oct 2013 09:40:08 -0700
> From: mika at async.caltech.edu
> 
> Jay writes:
> >./../gcc-4.7/libiberty/stack-limit.c:52: error: `u_quad_t' undeclared (first=
> > use in this function)if [ x"" !=3D x ]; then \
> >
> >
> >Maybe I removed too much. I.e. libquadmath. That should be easy to fix and/o=
> >r switch to C backend.
> >
> >
> >I forgot: besides switching the config file: add the parameter "c" to boot1.=
> >py.
> >
> >
> 
> If I put in config-no-install/ARMEL_LINUX
> 
> M3_BACKEND_MODE="C"
> 
> and run
> 
> ./boot1.py c ARMEL_LINUX
> 
> the following happens:
> 
> ...
> rm -f /nfs/site/home/mnystroe/work/cm3/bin/cm3.cfg
> rm -f /nfs/site/home/mnystroe/work/cm3/bin/cm3cfg.common
> rm -f /nfs/site/home/mnystroe/work/cm3/bin/gnuld.common
> cp -Pv /nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3/m3-sys/cminstall/src/config-no-install/cm3.cfg /nfs/site/home/mnystroe/work/cm3/bin/cm3.cfg
> == package /nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3/m3-win/import-libs ==
> 
>  +++ /nfs/site/home/mnystroe/work/cm3/bin/cm3    -build -override -DROOT=/nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3 -boot -keep -DM3CC_TARGET=ARMEL_LINUX +++
> --- building in ARMEL_LINUX ---
> 
>  ==> /nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3/m3-win/import-libs done
> 
> == package /nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3/m3-libs/m3core ==
> 
>  +++ /nfs/site/home/mnystroe/work/cm3/bin/cm3    -build -override -DROOT=/nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3 -boot -keep -DM3CC_TARGET=ARMEL_LINUX +++
> --- building in ARMEL_LINUX ---
> 
> 
> Fatal Error: unrecognized backend mode: C
> 
>  *** execution of [<function _BuildLocalFunction at 0x2aaaab5728c0>] failed ***
> 
> 
> But if I remove M3_BACKEND_MODE from ARMEL_LINUX and run the same command, the following:
> 
> ...
> rm -f /nfs/site/home/mnystroe/work/cm3/bin/cm3cfg.common
> rm -f /nfs/site/home/mnystroe/work/cm3/bin/gnuld.common
> cp -Pv /nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3/m3-sys/cminstall/src/config-no-install/cm3.cfg /nfs/site/home/mnystroe/work/cm3/bin/cm3.cfg
> == package /nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3/m3-win/import-libs ==
> 
>  +++ /nfs/site/home/mnystroe/work/cm3/bin/cm3    -build -override -DROOT=/nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3 -boot -keep -DM3CC_TARGET=ARMEL_LINUX +++
> --- building in ARMEL_LINUX ---
> 
>  ==> /nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3/m3-win/import-libs done
> 
> == package /nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3/m3-libs/m3core ==
> 
>  +++ /nfs/site/home/mnystroe/work/cm3/bin/cm3    -build -override -DROOT=/nfs/site/disks/wdisk.133/mnystroe/cm3-anon-cvs/cm3 -boot -keep -DM3CC_TARGET=ARMEL_LINUX +++
> --- building in ARMEL_LINUX ---
> 
> 
> Fatal Error: unrecognized target machine: TARGET = ARMEL_LINUX
> 
>  *** execution of [<function _BuildLocalFunction at 0x2aaaab5728c0>] failed ***
> 
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131014/0da9fe0d/attachment-0002.html>


More information about the M3devel mailing list