Build failure for RTEMS 4.9 / m68k

Andreas Wollschläger Andreas.Wollschlaeger at e-senza.de
Mon Oct 20 10:55:00 UTC 2008


Hi folks,

I just tried (consider me an RTEMS newbie...) to compile RTEMS 4.9 and the appropriate toolchain as described in the "Getting Started" guide.
Alas, the build fails with some mysterious (to me) error:

gmake[5]: Entering directory `/var/src/RTEMS/build/m68k-rtems4.9/c/mcf52235/test                                suites/samples/fileio'
m68k-rtems4.9-gcc -B../../../../../mcf52235/lib/ -specs bsp_specs -qrtems -DPACK                                AGE_NAME=\"rtems-c-src-tests-samples\" -DPACKAGE_TARNAME=\"rtems-c-src-tests-sam                                ples\" -DPACKAGE_VERSION=\"4.9.0\" -DPACKAGE_STRING=\"rtems-c-src-tests-samples\                                 4.9.0\" -DPACKAGE_BUGREPORT=\"http://www.rtems.org/bugzilla\" -DSTDC_HEADERS=1                                 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DH                                AVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I../../../../../../../                                rtems-4.9.0/c/src/../../testsuites/samples/fileio     -mcpu=52235 -O2 -g -fomit-                                frame-pointer -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o ../../../../../                                ../../rtems-4.9.0/c/src/../../testsuites/samples/fileio/init.c
mv -f .deps/init.Tpo .deps/init.Po
m68k-rtems4.9-gcc -B../../../../../mcf52235/lib/ -specs bsp_specs -qrtems -mcpu=                                52235 -O2 -g -fomit-frame-pointer    -mcpu=52235   -o fileio.exe init.o ../../..                                /../../mcf52235/lib/no-barrier.rel ../../../../../mcf52235/lib/no-dpmem.rel ../.                                ./../../../mcf52235/lib/no-event.rel ../../../../../mcf52235/lib/no-mp.rel ../..                                /../../../mcf52235/lib/no-part.rel ../../../../../mcf52235/lib/no-region.rel ../                                ../../../../mcf52235/lib/no-signal.rel ../../../../../mcf52235/lib/no-timer.rel                                 ../../../../../mcf52235/lib/no-rtmon.rel ../../../../../mcf52235/lib/no-ext.rel
/opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld: reg                                ion flash is full (fileio.exe section .text)
/opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld: reg                                ion sram is full (fileio.exe section .bss)
/opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld: war                                ning: dot moved backwards before `.stack'
/opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld: reg                                ion flash is full (fileio.exe section .text)
/opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld: reg                                ion sram is full (fileio.exe section .bss)
/opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld: war                                ning: dot moved backwards before `.stack'
/opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld: reg                                ion flash is full (fileio.exe section .text)
/opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld: reg                                ion sram is full (fileio.exe section .bss)
/opt/rtems-4.9/lib/gcc/m68k-rtems4.9/4.3.2/../../../../m68k-rtems4.9/bin/ld: war                                ning: dot moved backwards before `.stack'
collect2: ld returned 1 exit status
gmake[5]: *** [fileio.exe] Error 1
gmake[5]: Leaving directory `/var/src/RTEMS/build/m68k-rtems4.9/c/mcf52235/tests                                uites/samples/fileio'

The toolchain in use is....

- Binutils 2.18 for target "m68k-rtems4.9"
  Applied patch was binutils-2.18-rtems4.9-20080211.diff

- GCC 4.3.2 with newlib 1.16.0
  Applied patches were gcc-core-4.3.2-rtems4.9-20080828.diff and newlib-1.16.0-rtems4.9-20080827.diff

Any ideas ?


Cheers and all the best from Lake Constance :-)
Andreas




------------------------------------------------------------------------------------

Andreas Wollschläger
Senior Design/Application Engineer

E-Senza Technologies GmbH
Bücklestr. 82b
78467 Konstanz
Tel.: 07531 36599-10
www.e-senza.de

Amtsgericht Freiburg, HRB 382100. Geschäftsführer: Amit Shah
 



More information about the users mailing list