Page MenuHomePhabricator

Failed to build when TEST_PSA_API is set
Closed, ResolvedPublic

Description

Build fails when set TEST_PSA_API to INITIAL_ATTESTATION on the tip of

tf-m-tests: 0bdbdef029 (origin/master) Build: Apply global array as partition stacks [tf-m-tests]
trusted-firmware-m: 94d7652dea (origin/master,) Build: Apply global array as partition stacks [tf-m]
Error message
-- [PSA] : ----------Process input arguments- start-------------
-- [PSA] : TARGET is set to tgt_dev_apis_tfm_psoc64
-- [PSA] : SUITE is set to INITIAL_ATTESTATION
CMake Error at BUILD.cypress_psoc64.PSA_INITIAL_ATTESTATION.lvl2.NS.GNUARM.Release/lib/ext/psa_arch_tests-src/api-tests/CMakeLists.txt:209 (message):
  [PSA] : Couldn't find psa/initial_attestation.h in
  /;/home/alamyliu/prjs/tf-m/tf-m.master/BUILD.cypress_psoc64.PSA_INITIAL_ATTESTATION.lvl2.NS.GNUARM.Release/generated/api-tests/platform/manifests/;/home/alamyliu/prjs/tf-m/tf-m.master/BUILD.cypress_psoc64.PSA_INITIAL_ATTESTATION.lvl2.NS.GNUARM.Release/generated/interface/include
Test
  • Failed on both GNUARM & ARMCLANG
  • revert the following patches and it's good again to build PSA_API
tf-m-tests 73f259b95d Build: Perform NS interface build
trusted-firmware-m b7a131e0b0 Build: Move psa_ns_api build to NS side

Event Timeline

AlamyLiu created this task.Wed, Dec 30, 1:10 AM
AlamyLiu closed this task as Resolved.Wed, Dec 30, 8:00 AM

The build is good!