[RTEMS Project] #3749: Rtems-libbsd build faiure in SMP configuration

RTEMS trac trac at rtems.org
Tue May 14 19:48:33 UTC 2019

#3749: Rtems-libbsd build faiure in SMP configuration
  Reporter:  Jonathan Brandmeyer  |      Owner:  (none)
      Type:  defect               |     Status:  new
  Priority:  high                 |  Milestone:
 Component:  network/libbsd       |    Version:  5
  Severity:  normal               |   Keywords:
Blocked By:                       |   Blocking:
 rtems master df8d7bd76f501 introduced an API change to
 SMP_Multicast_action that changed the number and meaning of this
 function's arguments.  However, RTEMS-libbsd was not updated to use the
 new API.

 Since that time, rtems-libbsd fails to build against an SMP BSP, starting
 in rtems-kernel-epoch.c line 285 or so.

 The RTEMS configuration tested below is based on xilinx-zynq configured
 with with --disable-networking --enable-cxx --enable-smp --target=arm-
 rtems5 --enable-posix --enable-rtemsbsp=xilinx_zynq_zedboard

 Build failure looks like this:

 ~/workspace/rtems/rtems-libbsd-git$ python3 ./waf

 Waf: Entering directory `/home/sara/workspace/rtems/rtems-libbsd-git/build

 [1591/1883] Compiling rtemsbsd/rtems/rtems-kernel-epoch.c

 [1619/1883] Compiling freebsd/sys/dev/usb/serial/ugensa.c

 ../../rtemsbsd/rtems/rtems-kernel-epoch.c: In function

 ../../rtemsbsd/rtems/rtems-kernel-epoch.c:285:3: error: too many arguments
 to function '_SMP_Multicast_action'

    _SMP_Multicast_action(sizeof(set), &set, epoch_register_mutex,


 In file included from ../../rtemsbsd/rtems/rtems-kernel-epoch.c:44:0:

 rtems5/xilinx_zynq_zedboard/lib/include/rtems/score/smpimpl.h:265:6: note:
 declared here

  void _SMP_Multicast_action(



 Waf: Leaving directory `/home/sara/workspace/rtems/rtems-libbsd-git/build

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

More information about the bugs mailing list