#3805 closed defect (invalid)
libdebugger build error on atsamv
Reported by: | Joel Sherrill | Owned by: | Chris Johns |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | lib/debugger | Version: | 5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
This was caught in a build sweep using rtems-bsp-builder.
Configure command:
/home/joel/rtems-cron-5/rtems/configure --target=arm-rtems5 --enable-rtemsbsp=atsamv --prefix=/home/joel/rtems-cron-5/tools/5/bsps --enable-rtems-debug --disable-smp
Compiler output:
arm-rtems5-gcc --pipe -DHAVE_CONFIG_H -I. -I/home/joel/rtems-cron-5/b-atsam/arm-rtems5/c/atsamv/include -I/home/joel/rtems-cron-5/rtems/cpukit/include -I/home/joel/rtems-cron-5/rtems/cpukit/score/cpu/arm/include -I/home/joel/rtems-cron-5/rtems/cpukit/libnetworking -mthumb -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT libdebugger/rtems-debugger-arm.o -MD -MP -MF $depbase.Tpo -c -o libdebugger/rtems-debugger-arm.o /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c &&\ mv -f $depbase.Tpo $depbase.Po /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c: In function 'arm_debug_mmap_enable': /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:826:12: warning: unused variable 'abort_handler' [-Wunused-variable] void* abort_handler; ^~~~~~~~~~~~~ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c: In function 'arm_debug_unlock_abort': /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1593:53: error: 'arm_switch_reg' undeclared (first use in this function) #define EXCEPTION_ENTRY_EXC() (void) arm_switch_reg ^ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1609:3: note: in expansion of macro 'EXCEPTION_ENTRY_EXC' EXCEPTION_ENTRY_EXC(); ^~~~~~~~~~~~~~~~~~~ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1593:53: note: each undeclared identifier is reported only once for each function it appears in #define EXCEPTION_ENTRY_EXC() (void) arm_switch_reg ^ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1609:3: note: in expansion of macro 'EXCEPTION_ENTRY_EXC' EXCEPTION_ENTRY_EXC(); ^~~~~~~~~~~~~~~~~~~ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1607:24: warning: variable 'frame' set but not used [-Wunused-but-set-variable] CPU_Exception_frame* frame; ^~~~~ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c: In function 'target_exception_undefined_instruction': /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1593:53: error: 'arm_switch_reg' undeclared (first use in this function) #define EXCEPTION_ENTRY_EXC() (void) arm_switch_reg ^ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1619:3: note: in expansion of macro 'EXCEPTION_ENTRY_EXC' EXCEPTION_ENTRY_EXC(); ^~~~~~~~~~~~~~~~~~~ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c: In function 'target_exception_supervisor_call': /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1593:53: error: 'arm_switch_reg' undeclared (first use in this function) #define EXCEPTION_ENTRY_EXC() (void) arm_switch_reg ^ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1642:3: note: in expansion of macro 'EXCEPTION_ENTRY_EXC' EXCEPTION_ENTRY_EXC(); ^~~~~~~~~~~~~~~~~~~ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c: In function 'target_exception_prefetch_abort': /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1593:53: error: 'arm_switch_reg' undeclared (first use in this function) #define EXCEPTION_ENTRY_EXC() (void) arm_switch_reg ^ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1659:3: note: in expansion of macro 'EXCEPTION_ENTRY_EXC' EXCEPTION_ENTRY_EXC(); ^~~~~~~~~~~~~~~~~~~ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c: In function 'target_exception_data_abort': /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1593:53: error: 'arm_switch_reg' undeclared (first use in this function) #define EXCEPTION_ENTRY_EXC() (void) arm_switch_reg ^ /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1676:3: note: in expansion of macro 'EXCEPTION_ENTRY_EXC' EXCEPTION_ENTRY_EXC(); ^~~~~~~~~~~~~~~~~~~ At top level: /home/joel/rtems-cron-5/rtems/c/src/../../cpukit/libdebugger/rtems-debugger-arm.c:1605:1: warning: 'arm_debug_unlock_abort' defined but not used [-Wunused-function] arm_debug_unlock_abort(void)
Change History (2)
comment:1 Changed on 10/30/19 at 20:47:02 by Chris Johns
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This has been fixed. See the simpler beaglebone error, I think number 10. I think your source tree is not up to date in your build system.