#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         |  Resolution:
 Keywords:                  |  Blocked By:
 Blocking:                  |
----------------------------+---------------------
Description changed by Chris Johns:

Old description:

> 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)
>                     ^~~~~
> }}}

New description:

 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)
                     ^~~~~
 }}}
 This is using `5.1.0-rc1`.

--

--
Ticket URL: <http://devel.rtems.org/ticket/4021#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to