[RTEMS Project] #4128: all griscv variants fail to build on master

RTEMS trac trac at rtems.org
Wed Oct 7 13:52:16 UTC 2020


#4128: all griscv variants fail to build on master
----------------------------+------------------------
  Reporter:  Joel Sherrill  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:  6.1
 Component:  bsps           |    Version:  6
  Severity:  normal         |   Keywords:  wafblocker
Blocked By:                 |   Blocking:
----------------------------+------------------------
 Looks to be independent of waf or autoconf or configuration settings since
 a code issue in the BSP:

 {{{
 ./../../../../../../../rtems/c/src/lib/libbsp/riscv/griscv/../../../../../../bsps/riscv/griscv/clock/clockdrv.c:
 In function 'grlib_clock_initialize':
 ../../../../../../../../rtems/c/src/lib/libbsp/riscv/griscv/../../../../../../bsps/riscv/griscv/clock/clockdrv.c:174:10:
 warning: implicit declaration of function 'grlib_irqmp_has_timestamp'
 [-Wimplicit-function-declaration]
   174 |     if (!grlib_irqmp_has_timestamp(irqmp_ts)) {
       |          ^~~~~~~~~~~~~~~~~~~~~~~~~
 ../../../../../../../../rtems/c/src/lib/libbsp/riscv/griscv/../../../../../../bsps/riscv/griscv/clock/clockdrv.c:174:10:
 warning: nested extern declaration of 'grlib_irqmp_has_timestamp'
 [-Wnested-externs]
 ../../../../../../../../rtems/c/src/lib/libbsp/riscv/griscv/../../../../../../bsps/riscv/griscv/clock/clockdrv.c:175:17:
 error: 'GRLIB_FATAL_CLOCK_NO_IRQMP_TIMESTAMP_SUPPORT' undeclared (first
 use in this function); did you mean
 'LEON3_FATAL_CLOCK_NO_IRQMP_TIMESTAMP_SUPPORT'?
   175 |       bsp_fatal(GRLIB_FATAL_CLOCK_NO_IRQMP_TIMESTAMP_SUPPORT);
       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       |                 LEON3_FATAL_CLOCK_NO_IRQMP_TIMESTAMP_SUPPORT
 ../../../../../../../../rtems/c/src/lib/libbsp/riscv/griscv/../../../../../../bsps/riscv/griscv/clock/clockdrv.c:175:17:
 note: each undeclared identifier is reported only once for each function
 it appears in
 gmake[6]: *** [clockdrv.o] Error 1

 }}}

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


More information about the bugs mailing list