This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The toolchain is unable to build a dummy C file when building project with toolchain manager install

I've been trying to build blinky using the nRF SDK from the toolchain manager with no success on windows 10. I've previously been able to build projects so I'm not entirely sure what is causing this issue.  

I'm using the nRF connect VSCode extensions, the behavior is the same with Segger embedded studio.


Things I've tried:

- Clearing the cache (ncs\SDK_VERSION\zephyr\.cache)
- Fresh install of both nRF connect & SDK/toolchain (Uninstall connect, delete ncs, .nrf-connectapps & appdata, reinstalling VSCode extensions)
- SDK versions 1.7.0, 1.7.1 & 1.6.0
- Using an older version of CMake (3.17)
- Deleting build folder & using pristine build w/ VSCode 
- Error is the same with or without nRF connect command line tools

On trying to compile the blinky example (zephyr\samples\basic\blinky) to the board  actinius_icarus_ns (i've tried others e.g thingy:91 -- no success) the following error is thrown: 

CMake Error at c:\Users\USERNAME\Documents\ncs\v1.6.0\zephyr\samples\cmake\extensions.cmake:1746 (message):
  Assertion failed: The toolchain is unable to build a dummy C file.  See
  CMakeError.log.
Call Stack (most recent call first):
  c:\Users\USERNAME\Documents\ncs\v1.6.0\zephyr\samples\CMakeLists.txt:42 (assert)


I've attached the full build log:

 

> Executing task: nRF Connect: Build blinky/build (active) <

Building blinky
west build --build-dir c:\Users\USERNAME\Documents\ncs\v1.6.0\zephyr\samples\basic\blinky\build c:\Users\USERNAME\Documents\ncs\v1.6.0\zephyr\samples\basic\blinky --pristine --board actinius_icarus_ns -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONF_FILE:STRING="c:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky/prj.conf"

-- west build: generating a build system
Including boilerplate (Zephyr base): C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/cmake/app/boilerplate.cmake
-- Application: C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky
-- Zephyr version: 2.6.0-rc1 (C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr), build: v2.6.0-rc1-ncs1
-- Found Python3: C:/Users/USERNAME/Documents/ncs/v1.6.0/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
-- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
-- Board: actinius_icarus_ns
-- Cache files will be written to: C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/.cache
-- Found dtc: C:/Users/USERNAME/Documents/ncs/v1.6.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
-- Found toolchain: gnuarmemb (c:/Users/USERNAME/Documents/ncs/v1.6.0/toolchain/opt)
-- Found BOARD.dts: C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns.dts
-- Generated zephyr.dts: C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky/build/zephyr/include/generated/device_extern.h
Parsing C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/Kconfig
Loaded configuration 'C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns_defconfig'
Merged configuration 'c:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky/prj.conf'
Configuration saved to 'C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky/build/zephyr/.config'
Kconfig header saved to 'C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/USERNAME/Documents/ncs/v1.6.0/toolchain/opt/bin/arm-none-eabi-gcc.exe
CMake Error at c:\Users\USERNAME\Documents\ncs\v1.6.0\zephyr\samples\cmake\extensions.cmake:1746 (message):
  Assertion failed: The toolchain is unable to build a dummy C file.  See
  CMakeError.log.
Call Stack (most recent call first):
  c:\Users\USERNAME\Documents\ncs\v1.6.0\zephyr\samples\CMakeLists.txt:42 (assert)


-- Configuring incomplete, errors occurred!
See also "C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky/build/CMakeFiles/CMakeError.log".
FATAL ERROR: command exited with status 1: 'c:\Users\USERNAME\Documents\ncs\v1.6.0\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\Users\USERNAME\Documents\ncs\v1.6.0\toolchain\opt\bin\python.exe' '-Bc:\Users\USERNAME\Documents\ncs\v1.6.0\zephyr\samples\basic\blinky\build' '-Sc:\Users\USERNAME\Documents\ncs\v1.6.0\zephyr\samples\basic\blinky' -GNinja -DBOARD=actinius_icarus_ns -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONF_FILE:STRING=c:/Users/USERNAME/Documents/ncs/v1.6.0/zephyr/samples/basic/blinky/prj.conf
The terminal process terminated with exit code: 1.

Just wondering if maybe someone has experienced a similar issue? There is old threads with the same error but it seems to be a solved issue & none of the fixes are working (at least for me)


Thanks

Parents
  • Hello, 

    Looking at the log output you have attached, the path of nRF Connect SDK (NCS) is fairly long. How long is the username? Please try moving the NCS folder to e.g. C:\NCS\v1.6.0

    Kind regards,
    Øyvind

  • Thanks for the quick response 

    I've just tried this now sadly no success. Same error.

    Matt

    Terminal will be reused by tasks, press any key to close it.
    
    > Executing task: nRF Connect: Generate config actinius_icarus_ns for c:\ncs\v1.6.0\zephyr\samples\basic\blinky <
    
    Building blinky
    west build --build-dir c:\ncs\v1.6.0\zephyr\samples\basic\blinky\build_2 c:\ncs\v1.6.0\zephyr\samples\basic\blinky --pristine --board actinius_icarus_ns -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE"
    
    -- west build: generating a build system
    Including boilerplate (Zephyr base): C:/ncs/v1.6.0/zephyr/cmake/app/boilerplate.cmake
    -- Application: C:/ncs/v1.6.0/zephyr/samples/basic/blinky
    -- Zephyr version: 2.6.0-rc1 (C:/ncs/v1.6.0/zephyr), build: v2.6.0-rc1-ncs1
    -- Found Python3: C:/ncs/v1.6.0/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
    -- Board: actinius_icarus_ns
    -- Cache files will be written to: C:/ncs/v1.6.0/zephyr/.cache
    -- Found dtc: C:/ncs/v1.6.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (c:/ncs/v1.6.0/toolchain/opt)
    -- Found BOARD.dts: C:/ncs/v1.6.0/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns.dts
    -- Generated zephyr.dts: C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build_2/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build_2/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build_2/zephyr/include/generated/device_extern.h
    Parsing C:/ncs/v1.6.0/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v1.6.0/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns_defconfig'
    Merged configuration 'C:/ncs/v1.6.0/zephyr/samples/basic/blinky/prj.conf'
    Configuration saved to 'C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build_2/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build_2/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 9.2.1
    -- The CXX compiler identification is GNU 9.2.1
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/v1.6.0/toolchain/opt/bin/arm-none-eabi-gcc.exe
    CMake Error at c:\ncs\v1.6.0\zephyr\samples\cmake\extensions.cmake:1746 (message):
      Assertion failed: The toolchain is unable to build a dummy C file.  See
      CMakeError.log.
    Call Stack (most recent call first):
      c:\ncs\v1.6.0\zephyr\samples\CMakeLists.txt:42 (assert)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build_2/CMakeFiles/CMakeOutput.log".
    See also "C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build_2/CMakeFiles/CMakeError.log".
    FATAL ERROR: command exited with status 1: 'c:\ncs\v1.6.0\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\ncs\v1.6.0\toolchain\opt\bin\python.exe' '-Bc:\ncs\v1.6.0\zephyr\samples\basic\blinky\build_2' '-Sc:\ncs\v1.6.0\zephyr\samples\basic\blinky' -GNinja -DBOARD=actinius_icarus_ns -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=NONE
    The terminal process terminated with exit code: 1.
    
    

  • This is the output when running the west command w/ bash.

    USERNAME@DESKTOP-504FJCV MINGW64 /c/ncs/v1.6.0/zephyr/samples/basic/blinky ((v2.6.0-rc1-ncs1))
    $  west build --build-dir c:/ncs/v1.6.0/zephyr/samples/basic/blinky/build c:/ncs/v1.6.0/zephyr/samples/basic/blinky --pristine --board actinius_icarus_ns -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONF_FILE:STRING="c:/ncs/v1.6.0/zephyr/samples/basic/blinky/prj.conf"
    -- west build: making build dir c:\ncs\v1.6.0\zephyr\samples\basic\blinky\build pristine
    
    -- west build: generating a build system
    Including boilerplate (Zephyr base): C:/ncs/v1.6.0/zephyr/cmake/app/boilerplate.cmake
    -- Application: C:/ncs/v1.6.0/zephyr/samples/basic/blinky
    -- Zephyr version: 2.6.0-rc1 (C:/ncs/v1.6.0/zephyr), build: v2.6.0-rc1-ncs1
    -- Found Python3: C:/ncs/v1.6.0/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Found west (found suitable version "0.11.0", minimum required is "0.7.1")
    -- Board: actinius_icarus_ns
    -- Cache files will be written to: C:/ncs/v1.6.0/zephyr/.cache
    -- Found dtc: C:/ncs/v1.6.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (C:/ncs/v1.6.0/toolchain/opt)
    -- Found BOARD.dts: C:/ncs/v1.6.0/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns.dts
    -- Generated zephyr.dts: C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build/zephyr/include/generated/device_extern.h
    Parsing C:/ncs/v1.6.0/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v1.6.0/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns_defconfig'
    Merged configuration 'c:/ncs/v1.6.0/zephyr/samples/basic/blinky/prj.conf'
    Configuration saved to 'C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 9.2.1
    -- The CXX compiler identification is GNU 9.2.1
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/v1.6.0/toolchain/opt/bin/arm-none-eabi-gcc.exe
    CMake Error at ../../../cmake/extensions.cmake:1746 (message):
      Assertion failed: The toolchain is unable to build a dummy C file.  See
      CMakeError.log.
    Call Stack (most recent call first):
      ../../../CMakeLists.txt:42 (assert)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build/CMakeFiles/CMakeOutput.log".
    See also "C:/ncs/v1.6.0/zephyr/samples/basic/blinky/build/CMakeFiles/CMakeError.log".
    FATAL ERROR: command exited with status 1: 'C:\ncs\v1.6.0\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=C:\ncs\v1.6.0\toolchain\opt\bin\python.exe' '-Bc:\ncs\v1.6.0\zephyr\samples\basic\blinky\build' '-Sc:\ncs\v1.6.0\zephyr\samples\basic\blinky' -GNinja -DBOARD=actinius_icarus_ns -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONF_FILE:STRING=c:/ncs/v1.6.0/zephyr/samples/basic/blinky/prj.conf
    

    Has there been any update on your Windows 10 lately? 

    Likely but unsure. I'm not sure if there is a way to check.


    Is this a corporate computer? Are you installing on a corporate network? We have seen that type of issues earlier, just need to verify. Do  you have a anti-virus SW running? If so, is it possible to reinstall NCS with this SW paused? To ensure that the anti-virus is not blocking anything

    Personal computer, the only antivirus would be windows defender. 

    Steps I've taken:

    - Pause 'Real-time protection' in windows security.
    - Opened nRFConnect as Administrator 
    - Installed nRFConnect SDK v1.7.1 from the toolchain manager
    - Select the correct toolchain + SDK in vscode (opened from toolchain manager)
    - Create hello world application from sample
    - Create build config + run

    Same error occurs unfortunately 

    Thanks

  • Hi Matt, 

    I've discussed the issue internally based on the information you have provided. 

    In order for us to find the root cause of this, you will need to add some extra print statements in the zephyr\cmake\extensions.cmake file. Based on what version of nRF Connect SDK you are working on, the line numbers differ, but the following git diff should give you an indication. The plus (+) indicates what and where you need to add.

    @@ -1004,6 +1004,9 @@ function(zephyr_check_compiler_flag lang option check)
    # Check if the option is covered by any hardcoded check before doing
    # an automated test.
    zephyr_check_compiler_flag_hardcoded(${lang} "${option}" check exists)
    +
    + print(exists)
    +
    if(exists)
    set(check ${check} PARENT_SCOPE)
    return()
    @@ -1037,6 +1040,8 @@ function(zephyr_check_compiler_flag lang option check)
    set(key_string "${key_string}${option}_")
    set(key_string "${key_string}${CMAKE_REQUIRED_FLAGS}_")
    
    + print(key_string)
    +
    string(MD5 key ${key_string})
    

    I've tested here, and the output when building zephyr\samples\basic\blinky with the added prints above looks something like this:

    c:\NordicSemi\v1.7.1\zephyr\samples\basic\blinky>west build -b actinius_icarus_ns -d build_279314    
    -- west build: generating a build system
    Including boilerplate (Zephyr base): C:/NordicSemi/v1.7.1/zephyr/cmake/app/boilerplate.cmake
    -- Application: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky
    -- Using NCS Toolchain 1.7.0 for building. (C:/NordicSemi/v1.7.0/toolchain/cmake)
    -- Zephyr version: 2.6.99 (C:/NordicSemi/v1.7.1/zephyr), build: v2.6.99-ncs1-1
    -- Found Python3: C:/NordicSemi/v1.7.0/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
    -- Board: actinius_icarus_ns
    -- Cache files will be written to: C:/NordicSemi/v1.7.1/zephyr/.cache
    -- Found dtc: C:/NordicSemi/v1.7.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (C:/NordicSemi/v1.7.0/toolchain/opt)
    -- Found BOARD.dts: C:/NordicSemi/v1.7.1/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns.dts
    -- Generated zephyr.dts: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/zephyr/dts.cmake
    Parsing C:/NordicSemi/v1.7.1/zephyr/Kconfig
    Loaded configuration 'C:/NordicSemi/v1.7.1/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns_defconfig'
    Merged configuration 'C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/prj.conf'
    Configuration saved to 'C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/zephyr/.config'
    Kconfig header saved to 'C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 9.2.1
    -- The CXX compiler identification is GNU 9.2.1
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/NordicSemi/v1.7.0/toolchain/opt/bin/arm-none-eabi-gcc.exe
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 _
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 _
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 _
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wno-pointer-sign_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wpointer-arith_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wexpansion-to-defined_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wlogical-op_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wmissing-field-initializers_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wpacked-bitfield-compat_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wvla_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wpacked-bitfield-compat_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wvla_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wno-unused-but-set-variable_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Werror=implicit-int_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-mstack-protector-guard=global_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-freestanding_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-gdwarf-4_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--print-memory-usage_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -lasan_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -fsanitize=address_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -fsanitize=undefined_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mcpu=cortex-m33_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mthumb_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mabi=aapcs_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--gc-sections_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--build-id=none_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--sort-common=descending_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--sort-section=alignment_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -nostdlib_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -static_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -no-pie_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,-X_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,-N_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--orphan-handling=warn_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-asynchronous-unwind-tables_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-pie_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-pic_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-strict-overflow_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-reorder-functions_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-defer-pop_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fmacro-prefix-map=C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky=CMAKE_SOURCE_DIR_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fmacro-prefix-map=C:/NordicSemi/v1.7.1/zephyr=ZEPHYR_BASE_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fmacro-prefix-map=C:/NordicSemi/v1.7.1=WEST_TOPDIR_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-ffunction-sections_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fdata-sections_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    Changed board to secure actinius_icarus (NOT NS)
    
    === child image spm -  begin ===
    Including boilerplate (Zephyr base): C:/NordicSemi/v1.7.1/zephyr/cmake/app/boilerplate.cmake
    -- Application: C:/NordicSemi/v1.7.1/nrf/samples/spm
    -- Using NCS Toolchain 1.7.0 for building. (C:/NordicSemi/v1.7.0/toolchain/cmake)
    -- Zephyr version: 2.6.99 (C:/NordicSemi/v1.7.1/zephyr), build: v2.6.99-ncs1-1
    -- Found Python3: C:/NordicSemi/v1.7.0/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
    -- Board: actinius_icarus
    -- Cache files will be written to: C:/NordicSemi/v1.7.1/zephyr/.cache
    -- Found dtc: C:/NordicSemi/v1.7.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (C:/NordicSemi/v1.7.0/toolchain/opt)
    -- Found BOARD.dts: C:/NordicSemi/v1.7.1/zephyr/boards/arm/actinius_icarus/actinius_icarus.dts
    -- Generated zephyr.dts: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/spm/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/spm/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/spm/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/spm/zephyr/dts.cmake
    Parsing C:/NordicSemi/v1.7.1/zephyr/Kconfig
    Loaded configuration 'C:/NordicSemi/v1.7.1/zephyr/boards/arm/actinius_icarus/actinius_icarus_defconfig'
    Merged configuration 'C:/NordicSemi/v1.7.1/nrf/samples/spm/prj.conf'
    Merged configuration 'C:/NordicSemi/v1.7.1/nrf/subsys/partition_manager/partition_manager_enabled.conf'
    Merged configuration 'C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/spm/zephyr/misc/generated/extra_kconfig_options.conf'
    Configuration saved to 'C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/spm/zephyr/.config'
    Kconfig header saved to 'C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/spm/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 9.2.1
    -- The CXX compiler identification is GNU 9.2.1
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/NordicSemi/v1.7.0/toolchain/opt/bin/arm-none-eabi-gcc.exe
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 _
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 _
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 _
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wno-pointer-sign_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wpointer-arith_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wexpansion-to-defined_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wlogical-op_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wmissing-field-initializers_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wpacked-bitfield-compat_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wvla_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wpacked-bitfield-compat_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wvla_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Wno-unused-but-set-variable_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-Werror=implicit-int_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-mstack-protector-guard=global_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-freestanding_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-gdwarf-4_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--print-memory-usage_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -lasan_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -fsanitize=address_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -fsanitize=undefined_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mcpu=cortex-m33_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mthumb_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mabi=aapcs_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--gc-sections_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--build-id=none_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--sort-common=descending_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--sort-section=alignment_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -nostdlib_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -static_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -no-pie_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,-X_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,-N_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--orphan-handling=warn_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-asynchronous-unwind-tables_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-pie_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-pic_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-strict-overflow_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-reorder-functions_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fno-defer-pop_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fmacro-prefix-map=C:/NordicSemi/v1.7.1/nrf/samples/spm=CMAKE_SOURCE_DIR_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fmacro-prefix-map=C:/NordicSemi/v1.7.1/zephyr=ZEPHYR_BASE_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fmacro-prefix-map=C:/NordicSemi/v1.7.1=WEST_TOPDIR_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-ffunction-sections_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C_-fdata-sections_-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--out-implib=C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/spm/libspmsecureentries.a_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--cmse-implib_
    CMake Warning (dev) at C:/NordicSemi/v1.7.1/nrfxlib/nrf_security/cmake/extensions.cmake:652:
      Syntax Warning in cmake code at column 32
    
      Argument not separated from preceding token by whitespace.
    Call Stack (most recent call first):
      C:/NordicSemi/v1.7.1/nrfxlib/nrf_security/CMakeLists.txt:185 (include)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mcpu=cortex-m33_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mthumb_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mabi=aapcs_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mcpu=cortex-m33_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mthumb_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mabi=aapcs_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mcpu=cortex-m33_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mthumb_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -mabi=aapcs_
    CMake Warning at C:/NordicSemi/v1.7.1/zephyr/CMakeLists.txt:1612 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314/spm
    === child image spm -  end ===
    
    Dropping partition 'nrf_modem_lib_trace' since its size is 0.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/NordicSemi/v1.7.1/zephyr/samples/basic/blinky/build_279314
    -- west build: building application
    [5/169] Performing build step for 'spm_subimage'
    [206/213] Linking C executable zephyr\zephyr_prebuilt.elf
    
    [213/213] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:         64 KB        64 KB    100.00%
                SRAM:       11808 B        64 KB     18.02%
            IDT_LIST:          0 GB         2 KB      0.00%
    [161/169] Linking C executable zephyr\zephyr_prebuilt.elf
    
    [168/169] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       29372 B       960 KB      2.99%
                SRAM:        6552 B     178968 B      3.66%
            IDT_LIST:          0 GB         2 KB      0.00%
    [169/169] Generating zephyr/merged.hex

    The added print lines provides the following information:

    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_a0454aef08888105a6a9461b068e60bf_C__-nostartfiles -nostdlib -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/nordicsemi/v1.7.0/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 _

    If exists = 1, this indicates that zephyr/.cache is not deleted. Until we have found the issue, this will need to be deleted before every build.

    From keystring you should have -Wl,--unresolved-symbols=ignore-in-object-files which we expect to prevent this error: exit.c:(.text.exit+0x2c): undefined reference to `_exit'

    Let me know how this works for you.

    Kind regards,
    Øyvind

  • Thanks 

    I've added these two lines now and here is my complete output:

    > Executing task: nRF Connect: Build test/build (active) <
    
    Building test
    west build --build-dir z:\dev\nrf-tests\test\build z:\dev\nrf-tests\test --pristine --board actinius_icarus_ns -- -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONF_FILE:STRING="z:/dev/nrf-tests/test/prj.conf"
    
    -- west build: generating a build system
    Including boilerplate (Zephyr base): C:/ncs/v1.7.1/zephyr/cmake/app/boilerplate.cmake
    -- Application: Z:/dev/nrf-tests/test
    -- Zephyr version: 2.6.99 (C:/ncs/v1.7.1/zephyr), build: v2.6.99-ncs1-1
    -- Found Python3: C:/ncs/v1.7.1/toolchain/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter 
    -- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
    -- Board: actinius_icarus_ns
    -- Cache files will be written to: C:/ncs/v1.7.1/zephyr/.cache
    -- Found dtc: C:/ncs/v1.7.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (c:/ncs/v1.7.1/toolchain/opt)
    -- Found BOARD.dts: C:/ncs/v1.7.1/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns.dts
    -- Generated zephyr.dts: Z:/dev/nrf-tests/test/build/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: Z:/dev/nrf-tests/test/build/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: Z:/dev/nrf-tests/test/build/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: Z:/dev/nrf-tests/test/build/zephyr/dts.cmake
    Parsing C:/ncs/v1.7.1/zephyr/Kconfig
    Loaded configuration 'C:/ncs/v1.7.1/zephyr/boards/arm/actinius_icarus/actinius_icarus_ns_defconfig'
    Merged configuration 'z:/dev/nrf-tests/test/prj.conf'
    Configuration saved to 'Z:/dev/nrf-tests/test/build/zephyr/.config'
    Kconfig header saved to 'Z:/dev/nrf-tests/test/build/zephyr/include/generated/autoconf.h'
    -- The C compiler identification is GNU 9.2.1
    -- The CXX compiler identification is GNU 9.2.1
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/v1.7.1/toolchain/opt/bin/arm-none-eabi-gcc.exe
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C__-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 _
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C__-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 _
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C__-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 _
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Wno-pointer-sign_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Wpointer-arith_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Wexpansion-to-defined_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Wlogical-op_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Wmissing-field-initializers_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Wpacked-bitfield-compat_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Wvla_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Wpacked-bitfield-compat_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Wvla_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Wno-unused-but-set-variable_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-Werror=implicit-int_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-mstack-protector-guard=global_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-fno-freestanding_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C_-gdwarf-4_-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C__-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -Wl,--print-memory-usage_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C__-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -lasan_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C__-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -fsanitize=address_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C__-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -fsanitize=undefined_
    -- exists: 0
    -- key_string: 3_c18e7036a78edac5933054bd32c6fa6c_74644cf14b5d7b589419f20b79304cee_C__-nostartfiles -nostdlib -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include" -isystem "c:/ncs/v1.7.1/toolchain/opt/bin/../lib/gcc/arm-none-eabi/9.2.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0_
    CMake Error at C:\ncs\v1.7.1\zephyr\cmake\extensions.cmake:1774 (message):
      Assertion failed: The toolchain is unable to build a dummy C file.  See
      CMakeError.log.
    Call Stack (most recent call first):
      C:\ncs\v1.7.1\zephyr\CMakeLists.txt:42 (assert)
    
    
    -- Configuring incomplete, errors occurred!
    See also "Z:/dev/nrf-tests/test/build/CMakeFiles/CMakeOutput.log".
    See also "Z:/dev/nrf-tests/test/build/CMakeFiles/CMakeError.log".
    FATAL ERROR: command exited with status 1: 'c:\ncs\v1.7.1\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\ncs\v1.7.1\toolchain\opt\bin\python.exe' '-Bz:\dev\nrf-tests\test\build' '-Sz:\dev\nrf-tests\test' -GNinja -DBOARD=actinius_icarus_ns -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=On -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONF_FILE:STRING=z:/dev/nrf-tests/test/prj.conf
    The terminal process terminated with exit code: 1.
    
    Terminal will be reused by tasks, press any key to close it.
    

    The keystring seems to contain -Wl,--unresolved-symbols=ignore-in-object-files


    Matt 

    EDIT: wrong toolchain version, snipped updated

  • Matt, can you please try building the blinky sample in same path as NCS. 

    In your command prompt, go to blinky folder:
    cd c:\ncs\v1.7.1\zephyr\samples\basic\blinky and then run the following:

    west build -b actinius_icarus_ns -d build

    The previous comment had the path c:\Users\USERNAME\Documents\ncs\v1.7.1\, is this still on your computer? If so, please delete any other NCS folders to narrow down to one path. 

  • Hi ,
    Sorry for the late response.

    I have deleted the version of ncs in Documents.

    When running via a prompt the same error occurs (git bash).


    One thing to note: my command prompt seems to be broken. It won't open from System32/cmd.exe  so I'll try fix this and then get back to you with results

    Matt

Reply
  • Hi ,
    Sorry for the late response.

    I have deleted the version of ncs in Documents.

    When running via a prompt the same error occurs (git bash).


    One thing to note: my command prompt seems to be broken. It won't open from System32/cmd.exe  so I'll try fix this and then get back to you with results

    Matt

Children
Related