Hi,
I recently started seeing a build error for PSE84. "git bisect" tells me that it was introduced in c2fc818e. The error is from cmake, complaining about a circular dependency. The error message itself is extremely long, so I've attached it as a separate file.
Chris
Hi Chris,
I’ve encountered similar circular dependency issues before. Even so, identifying the root cause isn’t always straightforward, but the 'platform/ext/target/infineon/common/spe/services/CMakeLists.txt’ file is a good starting point. Could you please share your build configuration and the SPE CMakeCache.txt file with me? Thank you.
Regards, Dávid
From: Chris.Brand@infineon.com Chris.Brand@infineon.com Date: Tuesday, 2026. February 3. at 2:14 To: tf-m@lists.trustedfirmware.org tf-m@lists.trustedfirmware.org Cc: David Vincze David.Vincze@arm.com Subject: Build error for PSE84
Hi,
I recently started seeing a build error for PSE84. “git bisect” tells me that it was introduced in c2fc818e. The error is from cmake, complaining about a circular dependency. The error message itself is extremely long, so I’ve attached it as a separate file.
Chris
Thanks, Dávid
My build command is: cmake -S spe -B build_epc2_GNUARM_Relwithdebinfo/spe -DTFM_PLATFORM=infineon/pse84 -DCONFIG_TFM_SOURCE_PATH=<tf-m-tests dir>/../trusted-firmware-m -DTFM_TOOLCHAIN_FILE=<tf-m-tests-dir>/../trusted-firmware-m/toolchain_GNUARM.cmake -DIFX_EPC=epc2 -DTFM_ISOLATION_LEVEL=2 -DIFX_CM55_NS_PRESENT=OFF -DTEST_S=ON -DTEST_NS=ON -DCONFIG_TFM_WARNINGS_ARE_ERRORS=ON -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_DEBUG -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_DEBUG -DTFM_EXCEPTION_INFO_DUMP=ON -DPLATFORM_EXCEPTION_INFO=ON -DIFX_FAULTS_INFO_DUMP=ON -DCONFIG_TFM_HALT_ON_CORE_PANIC=ON -DCMAKE_BUILD_TYPE=Relwithdebinfo -DIFX_LIB_BASE_DIR=<tf-m-tests dir>/tests_reg/build_epc2_GNUARM_Relwithdebinfo/spe/libs -DPSA_API_TEST_TARGET=pse84
I wasn't sure exactly which CMakeCache.txt you need, so I've attached two (HEAD is f7ed4761).
Chris
From: David Vincze David.Vincze@arm.com Sent: Wednesday, February 4, 2026 9:02 AM To: Brand Chris (CSS ICW SWE INT BFS) Chris.Brand@infineon.com; tf-m@lists.trustedfirmware.org Subject: Re: Build error for PSE84
Caution: This e-mail originated outside Infineon Technologies. Please be cautious when sharing information or opening attachments especially from unknown senders. Refer to our intranet guidehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx to help you identify Phishing email.
Hi Chris,
I've encountered similar circular dependency issues before. Even so, identifying the root cause isn't always straightforward, but the 'platform/ext/target/infineon/common/spe/services/CMakeLists.txt' file is a good starting point. Could you please share your build configuration and the SPE CMakeCache.txt file with me? Thank you.
Regards, Dávid
From: Chris.Brand@infineon.commailto:Chris.Brand@infineon.com <Chris.Brand@infineon.commailto:Chris.Brand@infineon.com> Date: Tuesday, 2026. February 3. at 2:14 To: tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org <tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org> Cc: David Vincze <David.Vincze@arm.commailto:David.Vincze@arm.com> Subject: Build error for PSE84 Hi,
I recently started seeing a build error for PSE84. "git bisect" tells me that it was introduced in c2fc818e. The error is from cmake, complaining about a circular dependency. The error message itself is extremely long, so I've attached it as a separate file.
Chris
Hi,
I have fixed this issue and I will provide a fix for this as part of Infineon platform update patch
Best regards, Bohdan Hunko
Cypress Semiconductor Ukraine LLC Senior Engineer CSS ICW SW INT BFS SFW Mobile: +380995019714 Bohdan.Hunko@infineon.commailto:Bohdan.Hunko@infineon.com
From: Chris.Brand--- via TF-M tf-m@lists.trustedfirmware.org Sent: Wednesday, 4 February 2026 21:40 To: David.Vincze@arm.com; tf-m@lists.trustedfirmware.org Subject: [TF-M] Re: Build error for PSE84
Caution: This e-mail originated outside Infineon Technologies. Please be cautious when sharing information or opening attachments especially from unknown senders. Refer to our intranet guidehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx to help you identify Phishing email.
Thanks, Dávid
My build command is: cmake -S spe -B build_epc2_GNUARM_Relwithdebinfo/spe -DTFM_PLATFORM=infineon/pse84 -DCONFIG_TFM_SOURCE_PATH=<tf-m-tests dir>/../trusted-firmware-m -DTFM_TOOLCHAIN_FILE=<tf-m-tests-dir>/../trusted-firmware-m/toolchain_GNUARM.cmake -DIFX_EPC=epc2 -DTFM_ISOLATION_LEVEL=2 -DIFX_CM55_NS_PRESENT=OFF -DTEST_S=ON -DTEST_NS=ON -DCONFIG_TFM_WARNINGS_ARE_ERRORS=ON -DTFM_SPM_LOG_LEVEL=TFM_SPM_LOG_LEVEL_DEBUG -DTFM_PARTITION_LOG_LEVEL=TFM_PARTITION_LOG_LEVEL_DEBUG -DTFM_EXCEPTION_INFO_DUMP=ON -DPLATFORM_EXCEPTION_INFO=ON -DIFX_FAULTS_INFO_DUMP=ON -DCONFIG_TFM_HALT_ON_CORE_PANIC=ON -DCMAKE_BUILD_TYPE=Relwithdebinfo -DIFX_LIB_BASE_DIR=<tf-m-tests dir>/tests_reg/build_epc2_GNUARM_Relwithdebinfo/spe/libs -DPSA_API_TEST_TARGET=pse84
I wasn’t sure exactly which CMakeCache.txt you need, so I’ve attached two (HEAD is f7ed4761).
Chris
From: David Vincze <David.Vincze@arm.commailto:David.Vincze@arm.com> Sent: Wednesday, February 4, 2026 9:02 AM To: Brand Chris (CSS ICW SWE INT BFS) <Chris.Brand@infineon.commailto:Chris.Brand@infineon.com>; tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org Subject: Re: Build error for PSE84
Caution: This e-mail originated outside Infineon Technologies. Please be cautious when sharing information or opening attachments especially from unknown senders. Refer to our intranet guidehttps://intranet-content.infineon.com/explore/aboutinfineon/rules/informationsecurity/ug/SocialEngineering/Pages/SocialEngineeringElements_en.aspx to help you identify Phishing email.
Hi Chris,
I’ve encountered similar circular dependency issues before. Even so, identifying the root cause isn’t always straightforward, but the 'platform/ext/target/infineon/common/spe/services/CMakeLists.txt’ file is a good starting point. Could you please share your build configuration and the SPE CMakeCache.txt file with me? Thank you.
Regards, Dávid
From: Chris.Brand@infineon.commailto:Chris.Brand@infineon.com <Chris.Brand@infineon.commailto:Chris.Brand@infineon.com> Date: Tuesday, 2026. February 3. at 2:14 To: tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org <tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org> Cc: David Vincze <David.Vincze@arm.commailto:David.Vincze@arm.com> Subject: Build error for PSE84 Hi,
I recently started seeing a build error for PSE84. “git bisect” tells me that it was introduced in c2fc818e. The error is from cmake, complaining about a circular dependency. The error message itself is extremely long, so I’ve attached it as a separate file.
Chris
tf-m@lists.trustedfirmware.org