On 20/9/19 2:53 am, Kent Dorfman wrote: > Did this a few weeks ago and it seemed to work, but now getting an > undefined symbol when trying to compile the testsuite as follows: > > /storage/work/rtems/configure \ > --prefix=/storage/work/bsp-host \ > --target=arm-rtems5 \ > --enable-rtemsbsp=realview_pbx_a9_qemu \ > --enable-tests \ > --enable-posix \ > --enable-cxx \ > --enable-network \ > --enable-smp > > make bombs out! >> gmake[4]: Entering directory > '/storage/work/arm-realview-rtems/arm-rtems5/c/realview_pbx_a9_qemu/testsuites' > Making all-am in samples > gmake[5]: Entering directory > '/storage/work/arm-realview-rtems/arm-rtems5/c/realview_pbx_a9_qemu/testsuites/samples' > arm-rtems5-gcc -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard > -mtune=cortex-a9 -O0 -g -ffunction-sections -fdata-sections -Wall > -Wmissing-prototypes -Wimplicit-function-declaration > -Wstrict-prototypes -Wnested-externs > -B./../../lib/libbsp/arm/realview-pbx-a9 > -B/storage/work/rtems/bsps/arm/realview-pbx-a9/start -specs bsp_specs > -qrtems -L./../../cpukit -L/storage/work/rtems/bsps/arm/shared/start > -Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar -Wl,--gc-sections > -o base_sp.exe base_sp/base_sp-init.o base_sp/base_sp-apptask.o > ./../../lib/libbsp/arm/realview-pbx-a9/librtemsbsp.a > ./../../cpukit/librtemscpu.a ./../../cpukit/librtemstest.a > /storage/work/bsp-host/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: > base_sp/base_sp-init.o: in function `_Thread_Get_executing': > /storage/work/rtems/cpukit/include/rtems/score/percpu.h:873: undefined > reference to `arm_interrupt_disable' > /storage/work/bsp-host/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: > /storage/work/rtems/cpukit/include/rtems/score/percpu.h:879: undefined > reference to `arm_interrupt_enable' > /storage/work/bsp-host/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: > base_sp/base_sp-init.o: in function `_Thread_Dispatch_is_enabled': > /storage/work/rtems/cpukit/include/rtems/score/threaddispatch.h:62: > undefined reference to `arm_interrupt_disable' > /storage/work/bsp-host/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: > /storage/work/rtems/cpukit/include/rtems/score/threaddispatch.h:68: > undefined reference to `arm_interrupt_enable' > /storage/work/bsp-host/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: > base_sp/base_sp-apptask.o: in function `_Thread_Dispatch_is_enabled': > /storage/work/rtems/cpukit/include/rtems/score/threaddispatch.h:62: > undefined reference to `arm_interrupt_disable' > . > . > . > > seems that cpu.h is the only place where arm_interrupt_disable is > defined but for some reason it's not being included in the > ./arm-rtems5/c/realview_pbx_a9_qemu/cpukit/librtemscpu.a library, so > rtems will not build the tests correctly. > > The git log doesn't show any obvious recent changes that I'd suspect > break it...what gives?
What host? What is the version of the tools (arm-rtems5-gcc -v)? Chrs _______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users