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

dufault at hda.com dufault at hda.com
Fri Jul 19 09:11:59 UTC 2019



> On Jul 19, 2019, at 01:21 , Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
> 
> A <bsp/io.h> sounds like a good approach. Finding all users of these defines is a bit of work. They are used by shared code, so every BSP which uses this shared code needs the new header file.

That is mostly addressed by rebuilding all PowerPC BSPs since only the PowerPC BSPs <bsp.h> will change and I would do that. I suppose there are optionally configured code paths that won’t be found that way. Searching for the use of all affected definitions below “powerpc” and checking for an include of <libcpu/io.h> is better but more than I want to do.

The other code that can’t be checked is end-user code that includes <bsp.h> but not <libcpu/io.h>.  That’s always an issue, though.

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering

This email is delivered through the public internet using protocols subject to interception and tampering.



More information about the devel mailing list