Found assembler: arm-zephyr-eabi-gcc.exe.

toochain:3.0.2  sdk3.0.2  nrf connect

Every time I build, it gets stuck here: Found assembler: C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe. Below is the complete log:

_ptx/build_1/esb_ptx/zephyr/dts.cmake
Parsing C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/Kconfig
Loaded configuration 'C:/ncs/v3.0.2/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig'
Merged configuration 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/prj.conf'
Merged configuration 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/boards/nrf54l15dk_nrf54l15_cpuapp.conf'
Merged configuration 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build_1/esb_ptx/zephyr/.config.sysbuild'
Configuration saved to 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build_1/esb_ptx/zephyr/.config'
Kconfig header saved to 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build_1/esb_ptx/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe

why?

Parents
  • Hello,

    What do you mean by "the build gets stuck at this point"? Does that mean the build doesn’t progress beyond this step?

    I tried building the same sample here using the build configuration nRF54L15dk/nrf54L15/cpuapp, and I was able to build the esb_ptx sample from the SDK successfully. Please find my build log below.

    Executing task: nRF Connect: Generate config nrf54l15dk/nrf54l15/cpuapp for c:\ncs\v3.0.2\nrf\samples\esb\esb_ptx 
    
    Building esb_ptx
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build c:/ncs/v3.0.2/nrf/samples/esb/esb_ptx --pristine --board nrf54l15dk/nrf54l15/cpuapp --sysbuild -- -DBOARD_ROOT=c:/ncs/v3.0.2/nrf/samples/esb/esb_ptx"
    
    -- west build: generating a build system
    Loading Zephyr module(s) (Zephyr base): sysbuild_default
    -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v3.0.2/zephyr/.cache
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
    Parsing C:/ncs/v3.0.2/zephyr/share/sysbuild/Kconfig
    Loaded configuration 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/_sysbuild/empty.conf'
    Merged configuration 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/_sysbuild/empty.conf'
    Configuration saved to 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/_sysbuild/autoconf.h'
    -- 
       *****************************
       * Running CMake for esb_ptx *
       *****************************
    
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx
    -- CMake version: 3.21.0
    -- Found Python3: C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe (found suitable version "3.12.4", minimum required is "3.10") found components: Interpreter 
    -- Cache files will be written to: C:/ncs/v3.0.2/zephyr/.cache
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.2/zephyr)
    -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
    -- Board: nrf54l15dk, qualifiers: nrf54l15/cpuapp
    -- Found host-tools: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found toolchain: zephyr 0.17.0 (C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk)
    -- Found Dtc: C:/ncs/toolchains/0b393f9e1b/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6") 
    -- Found BOARD.dts: C:/ncs/v3.0.2/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.dts
    -- Generated zephyr.dts: C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/esb_ptx/zephyr/zephyr.dts
    -- Generated pickled edt: C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/esb_ptx/zephyr/edt.pickle
    -- Generated zephyr.dts: C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/esb_ptx/zephyr/zephyr.dts
    -- Generated devicetree_generated.h: C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/esb_ptx/zephyr/include/generated/zephyr/devicetree_generated.h
    -- Including generated dts.cmake file: C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/esb_ptx/zephyr/dts.cmake
    Parsing C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/Kconfig
    Loaded configuration 'C:/ncs/v3.0.2/zephyr/boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp_defconfig'
    Merged configuration 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/prj.conf'
    Merged configuration 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/boards/nrf54l15dk_nrf54l15_cpuapp.conf'
    Merged configuration 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/esb_ptx/zephyr/.config.sysbuild'
    Configuration saved to 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/esb_ptx/zephyr/.config'
    Kconfig header saved to 'C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/esb_ptx/zephyr/include/generated/zephyr/autoconf.h'
    -- Found GnuLd: c:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version "2.38") 
    -- The C compiler identification is GNU 12.2.0
    -- The CXX compiler identification is GNU 12.2.0
    -- The ASM compiler identification is GNU
    -- Found assembler: C:/ncs/toolchains/0b393f9e1b/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
    =========== Generating psa_crypto_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== End psa_crypto_config ===============
    =========== Generating psa_crypto_library_config ===============
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Backup: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Backup: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Backup: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Backup: CONFIG_MBEDTLS_THREADING: False
    Backup: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== Checkpoint: backup ===============
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_C: True
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER: False
    Restore: CONFIG_MBEDTLS_PSA_CRYPTO_SPM: False
    Restore: CONFIG_MBEDTLS_USE_PSA_CRYPTO: True
    Restore: CONFIG_MBEDTLS_PLATFORM_PRINTF_ALT: False
    Restore: CONFIG_MBEDTLS_THREADING: False
    Restore: CONFIG_MBEDTLS_THREADING_ALT: True
    =========== End psa_crypto_library_config ===============
    CMake Warning at C:/ncs/v3.0.2/zephyr/CMakeLists.txt:2180 (message):
      __ASSERT() statements are globally ENABLED
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/esb_ptx
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build
    -- west build: building application
    [4/275] Generating include/generated/zephyr/version.h
    -- Zephyr version: 4.0.99 (C:/ncs/v3.0.2/zephyr), build: v4.0.99-ncs1-2
    [275/275] Linking C executable zephyr\zephyr.elf
    Memory region         Used Size  Region Size  %age Used
               FLASH:       50264 B      1428 KB      3.44%
                 RAM:        9840 B       188 KB      5.11%
            IDT_LIST:          0 GB        32 KB      0.00%
    Generating files from C:/ncs/v3.0.2/nrf/samples/esb/esb_ptx/build/esb_ptx/zephyr/zephyr.elf for board: nrf54l15dk
    [10/10] Generating ../merged.hex
     *  Terminal will be reused by tasks, press any key to close it. 
    

    Kind regards,
    Abhijith

  • yes,the build doesn’t progress beyond this step,there must be something wrong with my local environment, but I’m not sure how to troubleshoot it. Could you please provide some ideas or steps for diagnosing the issue?

Reply Children
No Data
Related