An update: I can reproduce the problem you described on the Windows build.
From: Anton Komlev via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Thursday, February 20, 2025 6:54 PM
To: Antonio De Angelis <Antonio.DeAngelis@arm.com>; tf-m@lists.trustedfirmware.org
Cc: nd <nd@arm.com>; Michael Ji <mji@innophaseiot.com>
Subject: [TF-M] Re: TFM build error
Hi Michel,
Apologies for the delayed response. I checked and found that the latest TF-M builds successfully on Ubuntu and WSL2 but there is an issue on Windows. However, the problem differs from yours. Could you specify
the TF-M version (SHA) you are using?
You may know that Linux and WSL2 builds are much faster than Windows.
Thanks,
Anton
From: Antonio De Angelis via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Thursday, February 20, 2025 11:20 AM
To: tf-m@lists.trustedfirmware.org
Cc: nd <nd@arm.com>; Michael Ji <mji@innophaseiot.com>
Subject: [TF-M] Re: TFM build error
Hi Michael,
can you share the exact build command that you're using that leads to that error?
On a side note, do you have any way of trying to build using WSL2 for Windows? Although native Windows builds should be supported, they are not very frequent hence it might just be easier to switch
to WSL2.
Thanks,
Antonio
From: Michael Ji via TF-M
Sent: Wednesday, February 19, 2025 18:04
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] FW: TFM build error
Could you please help with my issue? Thank you!
From: Michael Ji
Sent: Friday, February 14, 2025 4:15 PM
To: Raef.Coles@arm.com;
Anton.Komlev@arm.com
Subject: TFM build error
Hi Raef and Anton:
I am following the steps in this webpage to build tfm on my Windows laptop:
https://trustedfirmware-m.readthedocs.io/en/latest/getting_started/index.html
All my steps are successful till I ran this command below and got error (FYI – I am using the platform
arm/mps2/an521 and GNU ARM compiler):
Could you share your insight on how to resolve this? Thank you very much!
Best,
Michael