LEON3 (GR712RC) Building RTEMS for SMP

Leonard Bise leonard.bise at syderal.ch
Wed May 25 14:19:56 UTC 2016


Hello all,

I'm trying to build RTEMS to be able to do SMP on GR712RC processor.
My understanding after digging around is that I need to build RTEMS master
branch and sparc-rtems leon3 bsp.

Is this correct?

I did the following:
- Using rsb build toolchain for rtems 4.12
- Import in rsb the rtems master source tree from git
- bootstrap
- configure with --target=sparc-rtems4.12 --enable-rtemsbsp=leon3
--enable-smp --enable-tests
- make

Sadly make fails with the following error:

sparc-rtems4.12-gcc -B../../../../../leon3/lib/ -specs bsp_specs -qrtems
-mcpu=leon3 -msoft-float -O2 -g -ffunction-sections -fdata-sections -Wall
-Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
-Wnested-externs  -Wl,--gc-sections  -mcpu=leon3 -msoft-float   -o
loopback.exe init.o
../../../../../leon3/lib/librtemscpu.a(testbeginend.o): In function
`rtems_test_begin':
/home/dormoyj/development/rtems/rsb/b-leon3/sparc-rtems4.12/c/leon3/cpukit/libmisc/../../../../../../rtems/c/src/../../cpukit/libmisc/testsupport/testbeginend.c:23:
undefined reference to `rtems_test_printer'
/home/dormoyj/development/rtems/rsb/b-leon3/sparc-rtems4.12/c/leon3/cpukit/libmisc/../../../../../../rtems/c/src/../../cpukit/libmisc/testsupport/testbeginend.c:23:
undefined reference to `rtems_test_printer'
../../../../../leon3/lib/librtemscpu.a(testbeginend.o): In function
`rtems_test_end':
/home/dormoyj/development/rtems/rsb/b-leon3/sparc-rtems4.12/c/leon3/cpukit/libmisc/../../../../../../rtems/c/src/../../cpukit/libmisc/testsupport/testbeginend.c:31:
undefined reference to `rtems_test_printer'
/home/dormoyj/development/rtems/rsb/b-leon3/sparc-rtems4.12/c/leon3/cpukit/libmisc/../../../../../../rtems/c/src/../../cpukit/libmisc/testsupport/testbeginend.c:31:
undefined reference to `rtems_test_printer'
collect2: error: ld returned 1 exit status
Could someone give me a hand?
Thanks,


*Léonard Bise*
Software Design Engineer
Direct Line +41 (0)32 338 9902

*SYDERAL SA*
Neuenburgstrasse 7
CH-3238 Gals (Switzerland)
Desk Line +41 (0)32 338 9800
Web Site http://www.syderal.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160525/025f658e/attachment.html>


More information about the users mailing list