#4227 closed defect (fixed)

arm-gicv2.c causes build warning when compiling rtems6 for aarch64/xilinx_zynqmp

Reported by: Stephen Clark Owned by: Sebastian Huber <sebastian.huber@…>
Priority: normal Milestone:
Component: arch/aarch64 Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Commit b5aceef5d921de3d146b45c20f6f8aa7e9413717 seems to have introduced a build warning on aarch64/xilinx_zynqmp. When trying to build rtems 6 for xilinx_zynqmp, waf gives the following build warning:

../../../bsps/shared/dev/irq/arm-gicv2.c:53:6: warning: no previous prototype for 'bsp_interrupt_dispatch' [-Wmissing-prototypes]
   53 | void bsp_interrupt_dispatch(void)
      |      ^~~~~~~~~~~~~~~~~~~~~~

This was built using aarch64-rtems6-gcc (GCC) 10.2.1 20200918 (RTEMS 6, RSB f5fc2bfabbd18f31901ffa6fc0e5b6b47874797c, Newlib 749cbcc).

When the bug occurred, the config.ini file used by waf contained the following:

[aarch64/xilinx_zynqmp_lp64]
BUILD_TESTS = True
RTEMS_POSIX_API = True
[aarch64/xilinx_zynqmp_ilp32]
BUILD_TESTS = True
RTEMS_POSIX_API = True

Change History (1)

comment:1 Changed on 01/28/21 at 18:28:58 by Sebastian Huber <sebastian.huber@…>

Owner: set to Sebastian Huber <sebastian.huber@…>
Resolution: fixed
Status: newclosed

In 44ae183/rtems:

bsps/aarch64: Add missing include

Fixes:

bsps/shared/dev/irq/arm-gicv2.c:53:6: warning: no previous prototype for
'bsp_interrupt_dispatch' [-Wmissing-prototypes]

Close #4227.

Note: See TracTickets for help on using tickets.