ARM-m3 no MMU no OS

Ed Beroset beroset@mindspring.com
Tue May 27 20:56:00 GMT 2014


I'm trying to use crosstool-NG to build g++ 2.9.0 for arm-m3 with no mmu bare-metal, EABI, but have not had much luck so far. Specifically, I get all the way to "Installing C library" but it fails when attempting to build newlib.  The relevant lines are:

[ALL  ]    arm-bare_newlib_cortex_m3_nommu-eabi-cc -B/home/ejb/tools/crosstool-ng/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/build-libc/arm-bare_newlib_cortex_m3_nommu-eabi/newlib/ -isystem /home/ejb/tools/crosstool-ng/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/build-libc/arm-bare_newlib_cortex_m3_nommu-eabi/newlib/targ-include -isystem /home/ejb/tools/crosstool-ng/.build/src/newlib-2.1.0/newlib/libc/include -B/home/ejb/tools/crosstool-ng/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/build-libc/arm-bare_newlib_cortex_m3_nommu-eabi/libgloss/arm -L/home/ejb/tools/crosstool-ng/.build/arm-bare_newlib_cortex_m3_nommu-eabi/build/build-libc/arm-bare_newlib_cortex_m3_nommu-eabi/libgloss/libnosys -L/home/ejb/tools/crosstool-ng/.build/src/newlib-2.1.0/libgloss/arm    -DPACKAGE_NAME="newlib" -DPACKAGE_TARNAME="newlib" -DPACKAGE_VERSION="2.1.0" -DPACKAGE_STRING="newlib 2.1.0" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -I. -I/home/ejb/tools/crosstool-ng/.build/src/newlib-2.1.0/newlib/libc/search -Os -DNO_FLOATING_POINT -DARM_RDI_MONITOR -fno-builtin      -g -Os -c -o lib_a-twalk.o `test -f 'twalk.c' || echo '/home/ejb/tools/crosstool-ng/.build/src/newlib-2.1.0/newlib/libc/search/'`twalk.c
[ALL  ]    /tmp/ccsTSIHh.s: Assembler messages:
[ALL  ]    /tmp/ccsTSIHh.s:1155: Error: bad instruction `orn r3,r3,#31'
[ALL  ]    /tmp/ccsTSIHh.s:1208: Error: bad instruction `orn r3,r3,#31'
[ALL  ]    /tmp/ccsTSIHh.s:1690: Error: bad instruction `orn r3,r3,#31'
[ERROR]    gmake[7]: *** [lib_a-hash_page.o] Error 1

I'm willing to put in some work to figure this out, but I'm not sure where to start.  When I dive into /home/ejb/tools/crosstool-ng/.build/src/newlib-2.1.0/newlib/libc/search/ I find a Makefile and some object files, but clearly I'm missing a lot of context at that point and can't just type "make" there.  Any clues?

Ed

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list