You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After updating some projects to the latest baseline, getting a new build failure:
[ 73%] Building C object ut_cfe_core_stubs/CMakeFiles/ut_cfe-core_stubs.dir/ut_es_stubs.c.o
cfe/fsw/cfe-core/ut-stubs/ut_es_stubs.c:37:10: fatal error: cfe_platform_cfg.h: No such file or directory
#include "cfe_platform_cfg.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
To Reproduce
The configuration of this project uses multiple CPUs that all share the same architecture (PPC) but different platform configs (cfe_platform_cfg.h).
Expected behavior
Build should succeed
System observed on:
Ubuntu 18.04 LTS 64-bit (build host)
Cross Compiling for PPC (embedded Linux)
Latest "master" baseline (2020-02-26)
Additional context
This is related to a recent change that separated the UT stubs from the CFE. It works fine with only a single CPU/config, but if multiple CPUs are defined then this fails. Unfortunately only testing this now - the CI/CD build only uses a single CPU/config.
Need to remove UT dependencies on a specific "cfe_platform_cfg.h" to fix this. (stubs should not need this file, it is not a real implementation, it is just stubs).
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
Fix issue regarding inclusion of cfe_platform_cfg.h when
multiple CPUs are in use. Also fix for duplicate name
collision where different configs exist within the same
arch.
Fix issue regarding inclusion of cfe_platform_cfg.h when
multiple CPUs are in use. Also fix for duplicate name
collision where different configs exist within the same
arch.
Describe the bug
After updating some projects to the latest baseline, getting a new build failure:
To Reproduce
The configuration of this project uses multiple CPUs that all share the same architecture (PPC) but different platform configs (cfe_platform_cfg.h).
Expected behavior
Build should succeed
System observed on:
Additional context
This is related to a recent change that separated the UT stubs from the CFE. It works fine with only a single CPU/config, but if multiple CPUs are defined then this fails. Unfortunately only testing this now - the CI/CD build only uses a single CPU/config.
Need to remove UT dependencies on a specific "cfe_platform_cfg.h" to fix this. (stubs should not need this file, it is not a real implementation, it is just stubs).
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: