[RTEMS Project] #4227: arm-gicv2.c causes build warning when compiling rtems6 for aarch64/xilinx_zynqmp

RTEMS trac trac at rtems.org
Thu Jan 28 17:55:25 UTC 2021


#4227: arm-gicv2.c causes build warning when compiling rtems6 for
aarch64/xilinx_zynqmp
----------------------------+--------------------
  Reporter:  Stephen Clark  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:
 Component:  arch/aarch64   |    Version:  6
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
----------------------------+--------------------
 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
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4227>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list