#4021 new defect

PowerPC for libbsd does not build

Reported by: Chris Johns Owned by:
Priority: high Milestone: 5.1
Component: network/libbsd Version: 5
Severity: blocker Keywords:
Cc: Blocked By:
Blocking:

Description (last modified by Chris Johns)

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.

Change History (1)

comment:1 Changed on Jun 30, 2020 at 7:49:56 AM by Chris Johns

Description: modified (diff)
Note: See TracTickets for help on using tickets.