Skip to content

Cmake 3.19 breaks Zephyr RTOS - Getting: Assertion Failed: The toolchain is unable to build a dummy C file. in Segger Embedded Studio nRF-Nordic

Hi again,

This is a continuation to the previous issue I logged a day ago: #21505 (closed)

Updating "python.make" ... solved the 1st issue ... but not everything.

As someone already has written on stack overflow: https://stackoverflow.com/questions/64985685/assertion-failed-the-toolchain-is-unable-to-build-a-dummy-c-file

I am having the exakt same issue on macOS 10.15 (he's experiencing it on Win-Tel...)

I rolled back my Homebrew to the suggested 3.17.2 ... and the entire SES IDE works now ... I also testing it with 3.18.4 (the last one in brew, before switching to 3.19), and it too seems to be working as 3.17.2.

**The is logged in this places:**
Same cmake issue? logged: #21497 (closed)

nRF's DevZone: https://devzone.nordicsemi.com/f/nordic-q-a/68845/cmake-3-19-breaks-zephyr-rtos---getting-assertion-failed-the-toolchain-is-unable-to-build-a-dummy-c-file-in-segger-embedded-studio-nrf-nordic

Zephyr: https://github.com/zephyrproject-rtos/zephyr/issues/30232

A fix?: https://github.com/zephyrproject-rtos/zephyr/pull/30272

Cheers, Daniel.

Edited by danieleftodi
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information