[M3devel] building CM3 on a Raspberry Pi?

mika at async.caltech.edu mika at async.caltech.edu
Mon Oct 14 18:40:08 CEST 2013


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 ***





More information about the M3devel mailing list