NCS 2.5.2 issue Building Cellular Examples - cve-2021-35465 compilation error

Note:  I had a working environment in NCS 1.8.  I am moving our codebase up in version to 2.5.2 and am having issues compiling following the SDK install procedure on Windows 11.  I am compiling for the 9160DK non secure.

The issue I am seeing is a cmake failure providing a suggestion about a CVE.

CMake Error at config/cp_check.cmake:41 (message):
To enable FPU usage in SPE and NSPE both, please use the compiler with
'-mfix-cmse-cve-2021-35465' support

I can compile basic examples such as blinky from Zephyr without issue. But any cellular example fails compilation with this error I believe due to the inclusion of the FPU library.

Any suggestions on how to rectify? 

Parents
  • Hi David,

    Sorry, I delete a wrong reply which include your reply as a child reply.

    I understand you are testing original samples in NCS 2.5.2. If reinstalling NCS and Toolchain do not solve the issue. It seems VS Code is the biggest suspect.

    Did you tried to reinstall the nRF Connect extensions and create a new workspace to do building job? This could probably help.

    Best regards,

    Charlie

Reply
  • Hi David,

    Sorry, I delete a wrong reply which include your reply as a child reply.

    I understand you are testing original samples in NCS 2.5.2. If reinstalling NCS and Toolchain do not solve the issue. It seems VS Code is the biggest suspect.

    Did you tried to reinstall the nRF Connect extensions and create a new workspace to do building job? This could probably help.

    Best regards,

    Charlie

Children
Related