Closed jphickey closed 4 years ago
Dug into this - cause is that there is a conflict/duplication between system-provided macro definitions and the macro definitions that are being intentionally overridden by the coverage test environment.
limits.h
or stdint.h
because limit macros and fixed-width types need to be correct for the machine actually executing the coverage tests.limit.h
header implicitly - through a network of nested includes - includes a whole bunch of CPU-specific definitions, including e.g. _PPC_FPSCR_UE
in this case.
Describe the bug When building for MCP750 with all unit/coverage tests enabled, an error occurs:
To Reproduce Prepare using
make SIMULATION=ppc-vxworks6.9 ENABLE_UNIT_TESTS=true prep
and sample_defs config Then runmake
Expected behavior Build should succeed
System observed on:
gs582w-cfelnx
build machine with MCP750 targetReporter Info Joseph Hickey, Vantage Systems, Inc.