This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to build any sample projects with nrf9160 on Mac OS 10.15.2 - Assertion failed: The toolchain is unable to build a dummy C file

Somehow my account got deleted and so did my ticket.
I had to re-register my account an i'm creating this ticket again:

nrf9160_pca10090ns.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)

nrf9160_pca10090ns.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)

CMake Error at /Users/Mark/Documents/zephr/ncs/zephyr/cmake/extensions.cmake:1457 (message):

Assertion failed: The toolchain is unable to build a dummy C file. See

CMakeError.log.

Call Stack (most recent call first):

/Users/Mark/Documents/zephr/ncs/zephyr/CMakeLists.txt:42 (assert)

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags:  

The output was:
1
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: -c 

The output was:
1
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: -Aa 

The output was:
1
<command-line>: error: missing '(' after predicate


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: -D__CLASSIC_C__ 

The output was:
1
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 

The output was:
1
arm-none-eabi-gcc: error: unrecognized command line option '--target=arm-arm-none-eabi'


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags:  

The output was:
1
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: -c 

The output was:
1
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: -Aa 

The output was:
1
<command-line>: error: missing '(' after predicate


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: -D__CLASSIC_C__ 

The output was:
1
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 

The output was:
1
arm-none-eabi-gcc: error: unrecognized command line option '--target=arm-arm-none-eabi'


Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
Checking whether the C compiler is IAR using "" did not match "IAR .+ Compiler":
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags:  

The output was:
1
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: -c 

The output was:
1
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: --c++ 

The output was:
1
arm-none-eabi-gcc: error: unrecognized command line option '--c++'


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: --ec++ 

The output was:
1
arm-none-eabi-gcc: error: unrecognized command line option '--ec++'; did you mean '-Weffc++'?


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 

The output was:
1
arm-none-eabi-gcc: error: unrecognized command line option '--target=arm-arm-none-eabi'


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags:  

The output was:
1
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: -c 

The output was:
1
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: --c++ 

The output was:
1
arm-none-eabi-gcc: error: unrecognized command line option '--c++'


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: --ec++ 

The output was:
1
arm-none-eabi-gcc: error: unrecognized command line option '--ec++'; did you mean '-Weffc++'?


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/gnuarmemb/bin/arm-none-eabi-gcc 
Build flags: 
Id flags: --target=arm-arm-none-eabi;-mcpu=cortex-m3 

The output was:
1
arm-none-eabi-gcc: error: unrecognized command line option '--target=arm-arm-none-eabi'


Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
Performing C SOURCE FILE Test check_C__nostartfiles__nostdlib__isystem___opt_gnuarmemb_bin____lib_gcc_arm_none_eabi_8_3_1_include___isystem___opt_gnuarmemb_bin____lib_gcc_arm_none_eabi_8_3_1_include_fixed___Wl___unresolved_symbols_ignore_in_object_files__Wl___entry_0 failed with the following output:
Change Dir: /Users/Mark/Documents/zephr/ncs/nrf/samples/nrf9160/at_client/build_nrf9160_pca10090ns/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/local/bin/ninja cmTC_6fed0 && [1/2] Building C object CMakeFiles/cmTC_6fed0.dir/src.c.obj
FAILED: CMakeFiles/cmTC_6fed0.dir/src.c.obj 
/opt/gnuarmemb/bin/arm-none-eabi-gcc   -Dcheck_C__nostartfiles__nostdlib__isystem___opt_gnuarmemb_bin____lib_gcc_arm_none_eabi_8_3_1_include___isystem___opt_gnuarmemb_bin____lib_gcc_arm_none_eabi_8_3_1_include_fixed___Wl___unresolved_symbols_ignore_in_object_files__Wl___entry_0 -nostartfiles -nostdlib -isystem "/opt/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/include" -isystem "/opt/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/include-fixed" -Wl,--unresolved-symbols=ignore-in-object-files -Wl,--entry=0 -o CMakeFiles/cmTC_6fed0.dir/src.c.obj   -c src.c
clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?
ninja: build stopped: subcommand failed.


Source file was:
int main(void) { return 0; }
The target system is: Generic - 2.2.0 - arm
The host system is: Darwin - 19.2.0 - x86_64
Checking whether the ASM compiler is GNU using "--version" matched "(GNU assembler)|(GCC)|(Free Software Foundation)":
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 8-2019-q3-update) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Using ccs 1.2

using west.0.7.2

Tried deleting ~/Library/Caches/zephyr

This is where the last ticket left off.

Parents
  • Yes, I have tried deleting the cache.  I have verified the NRF git is on the master and current, i have made sure my west is updated.

    The issue has to do with clang error -meabi=5

  • From the output it looks like there is an issue with the linker search path:

    clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?

    Had someone internally to verify that it works:

    -- Zephyr version: 2.2.0
    -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3.6")
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
    -- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
    nrf9160_pca10090ns.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)
    nrf9160_pca10090ns.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)
    Devicetree header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/devicetree_unfixed.h'
    Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
    /Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
    /Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
    Loaded configuration '/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig'
    Merged configuration '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/prj.conf'
    Configuration saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/.config'
    Kconfig header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
    -- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
    Changed board to secure nrf9160_pca10090 (NOT NS)
    === child image spm - nrf9160_pca10090 begin ===
    -- Zephyr version: 2.2.0
    -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3.6")
    -- Selected BOARD nrf9160_pca10090
    -- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
    -- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
    -- Overlaying /Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
    nrf9160_pca10090.dts.pre.tmp:91.42-103.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@50000000/kmu@39000)
    nrf9160_pca10090.dts.pre.tmp:200.18-206.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/uart@a000: duplicate unit-address (also used in node /soc/peripheral@50000000/i2c@a000)
      also defined at nrf9160_pca10090.dts.pre.tmp:528.8-531.3
      also defined at nrf9160_pca10090.dts.pre.tmp:625.8-627.3
    nrf9160_pca10090.dts.pre.tmp:340.19-346.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)
    Devicetree header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/devicetree_unfixed.h'
    Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
    /Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
    /Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
    Loaded configuration '/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig'
    Merged configuration '/Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/prj.conf'
    Configuration saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/.config'
    Kconfig header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
    -- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm
    === child image spm - nrf9160_pca10090 end ===
    CMake Warning at /Users/nordic/Programming/multi/zephyr/CMakeLists.txt:1511 (message):
      __ASSERT() statements are globally ENABLED
    
    Changed board to secure nrf9160_pca10090 (NOT NS)
    And pm_domains are nrf9160_pca10090
    Loading from nrf9160_pca10090
    -- header_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/pm_config.h;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/pm_config.h
    -- pm_out_partition_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/partitions_nrf9160_pca10090.yml
    -- Configuring done-- Zephyr version: 2.2.0
    -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3.6")
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
    -- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
    nrf9160_pca10090ns.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)
    nrf9160_pca10090ns.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)
    Devicetree header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/devicetree_unfixed.h'
    Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
    /Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
    /Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
    Loaded configuration '/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig'
    Merged configuration '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/prj.conf'
    Configuration saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/.config'
    Kconfig header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
    -- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
    Changed board to secure nrf9160_pca10090 (NOT NS)
    === child image spm - nrf9160_pca10090 begin ===
    -- Zephyr version: 2.2.0
    -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3.6")
    -- Selected BOARD nrf9160_pca10090
    -- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
    -- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
    -- Overlaying /Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
    nrf9160_pca10090.dts.pre.tmp:91.42-103.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@50000000/kmu@39000)
    nrf9160_pca10090.dts.pre.tmp:200.18-206.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/uart@a000: duplicate unit-address (also used in node /soc/peripheral@50000000/i2c@a000)
      also defined at nrf9160_pca10090.dts.pre.tmp:528.8-531.3
      also defined at nrf9160_pca10090.dts.pre.tmp:625.8-627.3
    nrf9160_pca10090.dts.pre.tmp:340.19-346.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)
    Devicetree header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/devicetree_unfixed.h'
    Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
    /Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
    /Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
    Loaded configuration '/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig'
    Merged configuration '/Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/prj.conf'
    Configuration saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/.config'
    Kconfig header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
    -- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm
    === child image spm - nrf9160_pca10090 end ===
    CMake Warning at /Users/nordic/Programming/multi/zephyr/CMakeLists.txt:1511 (message):
      __ASSERT() statements are globally ENABLED
    
    Changed board to secure nrf9160_pca10090 (NOT NS)
    And pm_domains are nrf9160_pca10090
    Loading from nrf9160_pca10090
    -- header_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/pm_config.h;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/pm_config.h
    -- pm_out_partition_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/partitions_nrf9160_pca10090.yml
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build
    -- Generating done
    -- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build

    (Darwin Kernel Version 19.3.0 root:xnu-6153.81.5~1/RELEASE_X86_64)



    [Tested with ZSH and Bash both works] OSX 10.15.3 (19D76). 


    It is most likely some user misconfiguration of the environment variables that you should look over to see if they are correct.

Reply
  • From the output it looks like there is an issue with the linker search path:

    clang: error: unknown argument '-meabi=5'; did you mean '-mabi=5'?

    Had someone internally to verify that it works:

    -- Zephyr version: 2.2.0
    -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3.6")
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
    -- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
    nrf9160_pca10090ns.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)
    nrf9160_pca10090ns.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)
    Devicetree header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/devicetree_unfixed.h'
    Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
    /Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
    /Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
    Loaded configuration '/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig'
    Merged configuration '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/prj.conf'
    Configuration saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/.config'
    Kconfig header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
    -- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
    Changed board to secure nrf9160_pca10090 (NOT NS)
    === child image spm - nrf9160_pca10090 begin ===
    -- Zephyr version: 2.2.0
    -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3.6")
    -- Selected BOARD nrf9160_pca10090
    -- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
    -- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
    -- Overlaying /Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
    nrf9160_pca10090.dts.pre.tmp:91.42-103.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@50000000/kmu@39000)
    nrf9160_pca10090.dts.pre.tmp:200.18-206.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/uart@a000: duplicate unit-address (also used in node /soc/peripheral@50000000/i2c@a000)
      also defined at nrf9160_pca10090.dts.pre.tmp:528.8-531.3
      also defined at nrf9160_pca10090.dts.pre.tmp:625.8-627.3
    nrf9160_pca10090.dts.pre.tmp:340.19-346.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)
    Devicetree header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/devicetree_unfixed.h'
    Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
    /Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
    /Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
    Loaded configuration '/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig'
    Merged configuration '/Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/prj.conf'
    Configuration saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/.config'
    Kconfig header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
    -- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm
    === child image spm - nrf9160_pca10090 end ===
    CMake Warning at /Users/nordic/Programming/multi/zephyr/CMakeLists.txt:1511 (message):
      __ASSERT() statements are globally ENABLED
    
    Changed board to secure nrf9160_pca10090 (NOT NS)
    And pm_domains are nrf9160_pca10090
    Loading from nrf9160_pca10090
    -- header_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/pm_config.h;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/pm_config.h
    -- pm_out_partition_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/partitions_nrf9160_pca10090.yml
    -- Configuring done-- Zephyr version: 2.2.0
    -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3.6")
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
    -- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns.dts as base
    nrf9160_pca10090ns.dts.pre.tmp:89.42-101.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@40000000/kmu@39000)
    nrf9160_pca10090ns.dts.pre.tmp:338.19-344.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@40000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@40000000/power@5000)
    Devicetree header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/devicetree_unfixed.h'
    Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
    /Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
    /Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
    Loaded configuration '/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090ns_defconfig'
    Merged configuration '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/prj.conf'
    Configuration saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/.config'
    Kconfig header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
    -- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
    Changed board to secure nrf9160_pca10090 (NOT NS)
    === child image spm - nrf9160_pca10090 begin ===
    -- Zephyr version: 2.2.0
    -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3.6")
    -- Selected BOARD nrf9160_pca10090
    -- Found west: /Users/nordic/Library/Python/3.7/bin/west (found suitable version "0.7.2", minimum required is "0.6.0")
    -- Loading /Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090.dts as base
    -- Overlaying /Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay
    nrf9160_pca10090.dts.pre.tmp:91.42-103.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/flash-controller@39000: duplicate unit-address (also used in node /soc/peripheral@50000000/kmu@39000)
    nrf9160_pca10090.dts.pre.tmp:200.18-206.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/uart@a000: duplicate unit-address (also used in node /soc/peripheral@50000000/i2c@a000)
      also defined at nrf9160_pca10090.dts.pre.tmp:528.8-531.3
      also defined at nrf9160_pca10090.dts.pre.tmp:625.8-627.3
    nrf9160_pca10090.dts.pre.tmp:340.19-346.3: Warning (unique_unit_address_if_enabled): /soc/peripheral@50000000/clock@5000: duplicate unit-address (also used in node /soc/peripheral@50000000/power@5000)
    Devicetree header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/devicetree_unfixed.h'
    Parsing /Users/nordic/Programming/multi/zephyr/Kconfig
    /Users/nordic/Programming/multi/nrf/lib/fprotect/Kconfig:27: WARNING: dt_hex_val is deprecated.
    /Users/nordic/Programming/multi/bootloader/mcuboot/zephyr/Kconfig:37: WARNING: dt_int_val is deprecated.
    Loaded configuration '/Users/nordic/Programming/multi/zephyr/boards/arm/nrf9160_pca10090/nrf9160_pca10090_defconfig'
    Merged configuration '/Users/nordic/Programming/multi/nrf/samples/nrf9160/spm/prj.conf'
    Configuration saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/.config'
    Kconfig header saved to '/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/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: /Users/nordic/Programming/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-gcc
    -- Cache files will be written to: /Users/nordic/Library/Caches/zephyr
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm
    === child image spm - nrf9160_pca10090 end ===
    CMake Warning at /Users/nordic/Programming/multi/zephyr/CMakeLists.txt:1511 (message):
      __ASSERT() statements are globally ENABLED
    
    Changed board to secure nrf9160_pca10090 (NOT NS)
    And pm_domains are nrf9160_pca10090
    Loading from nrf9160_pca10090
    -- header_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/spm/zephyr/include/generated/pm_config.h;/Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/zephyr/include/generated/pm_config.h
    -- pm_out_partition_files: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build/partitions_nrf9160_pca10090.yml
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build
    -- Generating done
    -- Build files have been written to: /Users/nordic/Programming/multi/nrf/samples/nrf9160/at_client/build

    (Darwin Kernel Version 19.3.0 root:xnu-6153.81.5~1/RELEASE_X86_64)



    [Tested with ZSH and Bash both works] OSX 10.15.3 (19D76). 


    It is most likely some user misconfiguration of the environment variables that you should look over to see if they are correct.

Children
No Data
Related