[rtems commit] smptests/smpcache01: Test the SMP cache manager

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Sep 1 07:52:31 UTC 2014


On 22/08/14 13:07, Daniel Hellstrom wrote:
> Module:    rtems
> Branch:    master
> Commit:    9a9ab85b45260be326d7a59f40c2d7363097eb10
> Changeset: http://git.rtems.org/rtems/commit/?id=9a9ab85b45260be326d7a59f40c2d7363097eb10
>
> Author:    Daniel Cederman <cederman at gaisler.com>
> Date:      Thu Jul  3 16:42:24 2014 +0200
>
> smptests/smpcache01: Test the SMP cache manager
>
> Invokes SMP cache management routines under different scenarios.
>
> ---
>
>   testsuites/smptests/Makefile.am               |    1 +
>   testsuites/smptests/configure.ac              |    1 +
>   testsuites/smptests/smpcache01/Makefile.am    |   19 ++
>   testsuites/smptests/smpcache01/init.c         |  291 +++++++++++++++++++++++++
>   testsuites/smptests/smpcache01/smpcache01.doc |   16 ++
>   testsuites/smptests/smpcache01/smpcache01.scn |   14 ++
>   6 files changed, 342 insertions(+), 0 deletions(-)

This breaks the SMP support on ARM:

gmake[6]: Entering directory 
`/scratch/git-rtems-testing/rtems/build-arm-realview_pbx_a9_qemu_smp-rtems/arm-rtems4.11/c/realview_pbx_a9_qemu_smp/testsuites/smptests/smpcache01'
arm-rtems4.11-gcc -B../../../../../realview_pbx_a9_qemu_smp/lib/ -specs 
bsp_specs -qrtems -DHAVE_CONFIG_H -I. 
-I../../../../../../../rtems/c/src/../../testsuites/smptests/smpcache01 -I.. 
-I../../../../../../../rtems/c/src/../../testsuites/smptests/../support/include 
   -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g 
-Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes 
-Wnested-externs -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o 
../../../../../../../rtems/c/src/../../testsuites/smptests/smpcache01/init.c
mv -f .deps/init.Tpo .deps/init.Po
arm-rtems4.11-gcc -B../../../../../realview_pbx_a9_qemu_smp/lib/ -specs 
bsp_specs -qrtems -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard 
-mtune=cortex-a9 -O0 -g -Wall -Wmissing-prototypes 
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs 
-march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9   -o 
smpcache01.exe init.o
init.o: In function `test_func_test':
/scratch/git-rtems-testing/rtems/build-arm-realview_pbx_a9_qemu_smp-rtems/arm-rtems4.11/c/realview_pbx_a9_qemu_smp/testsuites/smptests/smpcache01/../../../../../../../rtems/c/src/../../testsuites/smptests/smpcache01/init.c:107: 
undefined reference to `_Cache_manager_Send_smp_msg'
init.o: In function `test_func_isrdisabled_test':
/scratch/git-rtems-testing/rtems/build-arm-realview_pbx_a9_qemu_smp-rtems/arm-rtems4.11/c/realview_pbx_a9_qemu_smp/testsuites/smptests/smpcache01/../../../../../../../rtems/c/src/../../testsuites/smptests/smpcache01/init.c:125: 
undefined reference to `_Cache_manager_Send_smp_msg'
init.o: In function `test_func_giant_taken_test':
/scratch/git-rtems-testing/rtems/build-arm-realview_pbx_a9_qemu_smp-rtems/arm-rtems4.11/c/realview_pbx_a9_qemu_smp/testsuites/smptests/smpcache01/../../../../../../../rtems/c/src/../../testsuites/smptests/smpcache01/init.c:145: 
undefined reference to `_Cache_manager_Send_smp_msg'
collect2: error: ld returned 1 exit status
gmake[6]: *** [smpcache01.exe] Error 1


-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list