build of libbsd for powerpc fails with error: redefinition of 'eieio'

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jul 17 05:48:22 UTC 2019


Hello Peter,

On 16/07/2019 19:58, Peter Dufault wrote:
> I have a build failure with the MVME5500 “beatnik” BSP. Therefore I tried to build the “psim” BSP and have the same failure: the FreeBSD PowerPC “cpufunc.h” and the RTEMS PowerPC “io.h” headers both define static inline "eioeio()" functions.
> 
> - RTEMS, libbsd, RSB and the build tools are up-to-date as of this AM.
> - Building for arm xilinx_zynq_a9_qemu succeeds.
> - I’ll work-around it but I believe I must have something locally screwed up, I can't find any recent changes associated with this.

libbsd doesn't work for all BSPs. For each new BSP you there are 
probably some things to fix and adjust. I think the <bsp.h> should not 
include the low level io.h header file. The only powerpc BSP that 
supported by libbsd is the qoriq.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list