[RTEMS Project] #4021: PowerPC for libbsd does not build

RTEMS trac trac at rtems.org
Tue Jun 30 07:48:12 UTC 2020


#4021: PowerPC for libbsd does not build
-----------------------------+--------------------
  Reporter:  Chris Johns     |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  high            |  Milestone:  5.1
 Component:  network/libbsd  |    Version:  5
  Severity:  blocker         |   Keywords:
Blocked By:                  |   Blocking:
-----------------------------+--------------------
 Building a kernel and libbsd for the `--with-rtems-bsp=mvme3100` libbsd
 fails with:
 {{{
 In file included from /build/rtems/releases/build/5.1.0-rc1/install
 /powerpc-rtems5/mvme3100/lib/include/bsp.h:27:0,
                  from ../../rtemsbsd/include/rtems/bsd/local/opt_usb.h:2,
                  from ../../freebsd/sys/dev/usb/usb.h:46,
                  from ../../freebsd/sys/dev/usb/usb_busdma.c:53:
 /build/rtems/releases/build/5.1.0-rc1/install/powerpc-
 rtems5/mvme3100/lib/include/libcpu/io.h:53:20: error: redefinition of
 'eieio'
  static inline void eieio(void)
                     ^~~~~
 In file included from ../../freebsd/sys/sys/systm.h:45:0,
                  from ../../freebsd/sys/dev/usb/usb_busdma.c:39:
 ../../freebsd/sys/powerpc/include/machine/cpufunc.h:168:1: note: previous
 definition of 'eieio' was here
  eieio(void)
  ^~~~~

 In file included from ../../freebsd/sys/sys/systm.h:45:0,
                  from ../../rtemsbsd/sys/arm/at91/at91_mci.c:38:
 ../../freebsd/sys/powerpc/include/machine/cpufunc.h:168:1: error:
 redefinition of 'eieio'
  eieio(void)
  ^~~~~
 In file included from /build/rtems/releases/build/5.1.0-rc1/install
 /powerpc-rtems5/mvme3100/lib/include/bsp.h:27:0,
                  from /build/rtems/releases/build/5.1.0-rc1/install
 /powerpc-rtems5/mvme3100/lib/include/bsp/fdt.h:18,
                  from
 ../../rtemsbsd/include/rtems/bsd/local/opt_platform.h:1,
                  from ../../rtemsbsd/sys/arm/at91/at91_mci.c:32:
 /build/rtems/releases/build/5.1.0-rc1/install/powerpc-
 rtems5/mvme3100/lib/include/libcpu/io.h:53:20: note: previous definition
 of 'eieio' was here
  static inline void eieio(void)
                     ^~~~~
 }}}

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


More information about the bugs mailing list