This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CODECOMPOSER: CCS Headless build fails because of missing Compiler installation

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: SYSCONFIG, CCSTUDIO

Tool/software:

Dear TI Team,

due to my project I am experimenting on a commadline build for a CI/CD Implementation. One of my maingoals is to build the project without a dependency to the OS of the local development machine.

I try to build my local CCS project on a Buildserver where I use the cmdline interface of CCS.

My local machine is Windows based (Windows 10, CCS Version: 12.0.0.00009) while the build server is linux based (Ubuntu 22.04.4 LTS, CCS Version: 12.0.0.00009).

I mainly used the Documentation from Create and Build Projects Using Command Line and Code Composer Studio Installer Usage.

I installed TI MCU+ SDK, sysconfig and TI Arm Clang Compiler to ~/ti. After that I installed CCS into ~/ti, too.

The Versions are the same as used on the local Windows build.

ortfeld@Buildserver:~/ti/ccs12.0.0/ccs/eclipse$ ls -l ~/ti
total 24
drwxr-xr-x 4 ortfeld 25830 4096 Jun  7 14:00 ccs12.0.0
drwxrwxrwx 2 ortfeld 25830 4096 Jun  7 14:00 CCSExternalReferences
drwxr-xr-x 8 ortfeld 25830 4096 Jun  7 10:08 mcu_plus_sdk_am64x_09_01_00_41
drwxr-xr-x 8 ortfeld 25830 4096 Jun  7 10:03 sysconfig_1.18.0
drwxr-xr-x 6 ortfeld 25830 4096 Jun  7 13:38 ti-cgt-armllvm_3.2.0.LTS
drwxrwxrwx 3 ortfeld 25830 4096 Jun  7 13:58 tirex-localserver-3.7.1

I copied my CCS project to the buildserver and imported it to the local workspace with ./eclipse -noSplash -data ~/ccs-workspace/ -application com.ti.ccstudio.apps.projectImport -ccs.location ~/<PathTo-Project>/prj

I tried to build the project, but it fails because CCS can't find the required compiler:

ortfeld@Buildserver:~/ti/ccs12.0.0/ccs/eclipse$ ./eclipse -noSplash -data ~/ccs-workspace/ -application com.ti.ccstudio.apps.projectBuild -ccs.projects prj
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CCS headless build starting... [Fri Jun 07 14:03:18 CEST 2024] 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

================================================================================
Pre processing...


================================================================================
Building...


**** Clean-only build of configuration Debug for project prj ****

/home/ortfeld/ti/ccs12.0.0/ccs/utils/bin/gmake -k -j 8 clean -O 
 
rm -rf  "syscfg/ti_dpl_config.h" "syscfg/ti_drivers_config.h" "syscfg/ti_drivers_open_close.h" "syscfg/ti_board_config.h" "syscfg/ti_board_open_close.h" "syscfg/ti_enet_config.h" "syscfg/ti_enet_open_close.h" "syscfg/ti_enet_lwipif.h" "syscfg/ti_pru_io_config.inc"  "freertos.hex"  "syscfg/ti_dpl_config.c" "syscfg/ti_drivers_config.c" "syscfg/ti_drivers_open_close.c" "syscfg/ti_pinmux_config.c" "syscfg/ti_power_clock_config.c" "syscfg/ti_board_config.c" "syscfg/ti_board_open_close.c" "syscfg/ti_enet_config.c" "syscfg/ti_enet_open_close.c" "syscfg/ti_enet_soc.c" "syscfg/ti_enet_lwipif.c"  "freertos.elf"
rm -rf "syscfg/ti_dpl_config.o" "syscfg/ti_drivers_config.o" "syscfg/ti_drivers_open_close.o" "syscfg/ti_pinmux_config.o" "syscfg/ti_power_clock_config.o" "syscfg/ti_board_config.o" "syscfg/ti_board_open_close.o" "syscfg/ti_enet_config.o" "syscfg/ti_enet_open_close.o" "syscfg/ti_enet_soc.o" "syscfg/ti_enet_lwipif.o" "<...more files...>" 
rm -rf "syscfg/ti_dpl_config.d" "syscfg/ti_drivers_config.d" "syscfg/ti_drivers_open_close.d" "syscfg/ti_pinmux_config.d" "syscfg/ti_power_clock_config.d" "syscfg/ti_board_config.d" "syscfg/ti_board_open_close.d" "syscfg/ti_enet_config.d" "syscfg/ti_enet_open_close.d" "syscfg/ti_enet_soc.d" "syscfg/ti_enet_lwipif.d" "<...more files...>"
rm -rf  "syscfg/"
Finished clean


**** Build Finished ****
Buildfile generation error occurred..
Product ti_cgt_tiarmclang v3.2.0.00 is not currently installed and no compatible version is available. Please install this product or a compatible version.
Build stopped..


================================================================================
CCS headless build complete! 1 out of 1 projects have errors.

How can this problem be tackled? Is there a command telling CCS where the Compiler is installed? I tried to add a link or move the compiler directory ti-cgt-armllvm_3.2.0.LTS itself to ~/ti/ccs12.0.0/tools/compiler, but it didn't helped.

Is it possible that there is a dependency left in the project settings from the local windows project.

Is there more documentation or a guideline how to implement such a CCS headless build for a CI/CD Pipeline on a buildserver?

Many thanks in advance!

Daniel Ortfeld

  • Hello,

    Is there a command telling CCS where the Compiler is installed?

    Yes, see: https://software-dl.ti.com/ccs/esd/documents/ccs_projects-command-line.html

    See the FAQ "Is there a command line option to specify a path for newly installed version of compiler tools so CCS can detect it?"

    Is there more documentation or a guideline how to implement such a CCS headless build for a CI/CD Pipeline on a buildserver?

    There is no specific document from TI regarding this that I am aware of.

    Thanks

    ki

  • Hello,

    thanks for the link to the FAQ! I tried both suggestions but my project can still not be built.

    1. Add the Compiler Path to CCS with the suggested command: $ ./eclipse --nosplash -date ~/ccs-workspace -application com.ti.common.core.initialize -ccs.toolDiscoveryPath "~/ti/ti-cgt-armllvm_3.2.0.LTS"

    2. Reinstall the Compiler into the CCS installation:

    $ ls -l ~/ti/ccs12.0.0/ccs/tools/compiler/
    total 20
    drwxr-xr-x 3 ortfeld 25830 4096 Jun  7 13:59 dmed
    drwxr-xr-x 6 ortfeld 25830 4096 Jun  7 13:58 ti-cgt-arm_20.2.6.LTS
    drwxr-xr-x 5 ortfeld 25830 4096 Jun  7 13:58 ti-cgt-armllvm_2.1.0.LTS
    drwxr-xr-x 6 ortfeld 25830 4096 Jun 11 09:16 ti-cgt-armllvm_3.2.0.LTS
    drwxr-xr-x 6 ortfeld 25830 4096 Jun  7 13:58 ti-cgt-c6000_8.3.12

    (I tried to build the project between step 1 and 2...)

    The build process still ends up with the same error message as before:

    ...
    **** Build Finished ****
    Buildfile generation error occurred..
    Product ti_cgt_tiarmclang v3.2.0.00 is not currently installed and no compatible version is available. Please install this product or a compatible version.
    Build stopped..

    Am I doing something wrong? Do you have some more Ideas?

    Thank you for any other suggestions!
    Daniel

  • The SDK, sysconfg, and compiler that is in the ~/ti folder, did you download the installers for them from ti.com and also manually installed each?

  • Yes, that's what I did.

  • Ok, I will need to try setting this environment up and see if I can reproduce this issue.

  • Hello, 
    were you able to reproduce the issue?

    Thanks for further support!

  • Sorry for the delay, I have not yet been able to reproduce this issue.

  • Hello,

    I am still waiting for the solution.
    Compared to the Classification "TI Thinks Resolved", this problem still exists.

    We have a product resp. prototype with the TI AM64, and we need this headless build approach to implement our software provision for the subcores of the AM64. This is a very disappointing situation.

  • Ok, I will need to try setting this environment up and see if I can reproduce this issue.

    Sorry for the delay. I was able to start with a clean new Ubuntu 22.04 LTS VM.

    I then downloaded in installed: CCS 12.0.0, MCU+ SDK AM64x 9.01.00.41, SysConfig 1.18.0, Clang compiler 3.2.0

    All in ~/ti

    When I tried to import an example from the SDK, I got the below error:

    This is interesting because my warning is different than yours. The CCS import wizard is looking for a specific string for the 3.2.0 compiler (TICLANG_3.2.0) and can't find it so it defaults to a different 3.2.0 string (TICLANG_3.2.0.LTS) which is discovered. 

    When I check my workspace folder, I see that the project folder for the example exists in there.

    Then when I build the project, it will actually build correctly since it is using the TICLANG_3.2.0.LTS it discovered.

    There is some mismatch with the names but it is not impacting my build.

    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    CCS headless build starting... [Tue Jul 02 15:49:46 EDT 2024] 
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    ================================================================================
    Pre processing...
    
    
    ================================================================================
    Building...
    
    
    **** Build of configuration Debug for project empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang ****
    
    /home/sdoapps/ti/ccs12.0.0/ccs/utils/bin/gmake -k -j 8 all -O 
     
    Building file: "../example.syscfg"
    Invoking: SysConfig
    "/home/sdoapps/ti/sysconfig_1.18.0/sysconfig_cli.sh" -s "/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/.metadata/product.json" --script "/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/example.syscfg" --context "r5fss0-0" -o "syscfg" --part Default --package ALV --compiler ticlang
    Running script...
    Validating...
    info: CONFIG_MPU_REGION3(/kernel/dpl/mpu_armv7) attributes: Region shared among cores is marked as cached. 
    info: /kernel/dpl/debug_log uartLog.baudRate: Actual Baudrate Possible: 115385 (0 % error)
    Generating Code (example.syscfg)...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_dpl_config.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_dpl_config.h...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_drivers_config.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_drivers_config.h...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_drivers_open_close.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_drivers_open_close.h...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_pinmux_config.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_power_clock_config.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_board_config.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_board_config.h...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_board_open_close.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_board_open_close.h...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_config.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_config.h...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_open_close.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_open_close.h...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_soc.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_lwipif.c...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_lwipif.h...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_pru_io_config.inc...
    Writing /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/linker.cmd...
    Finished building: "../example.syscfg"
     
    Building file: "../empty.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"empty.d_raw" -MT"empty.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"empty.o" "../empty.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "../empty.c"
     
    Building file: "syscfg/ti_pinmux_config.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_pinmux_config.d_raw" -MT"syscfg/ti_pinmux_config.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_pinmux_config.o" "syscfg/ti_pinmux_config.c"
    Finished building: "syscfg/ti_pinmux_config.c"
     
    Building file: "syscfg/ti_drivers_open_close.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_open_close.d_raw" -MT"syscfg/ti_drivers_open_close.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_drivers_open_close.o" "syscfg/ti_drivers_open_close.c"
    Finished building: "syscfg/ti_drivers_open_close.c"
     
    Building file: "syscfg/ti_drivers_config.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c"
    Finished building: "syscfg/ti_drivers_config.c"
     
    Building file: "syscfg/ti_dpl_config.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_dpl_config.d_raw" -MT"syscfg/ti_dpl_config.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_dpl_config.o" "syscfg/ti_dpl_config.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_dpl_config.c"
     
    Building file: "syscfg/ti_power_clock_config.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_power_clock_config.d_raw" -MT"syscfg/ti_power_clock_config.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_power_clock_config.o" "syscfg/ti_power_clock_config.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_power_clock_config.c"
     
    Building file: "syscfg/ti_enet_config.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_config.d_raw" -MT"syscfg/ti_enet_config.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_config.o" "syscfg/ti_enet_config.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_enet_config.c"
     
    Building file: "syscfg/ti_enet_open_close.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_open_close.d_raw" -MT"syscfg/ti_enet_open_close.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_open_close.o" "syscfg/ti_enet_open_close.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_enet_open_close.c"
     
    Building file: "syscfg/ti_enet_soc.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_soc.d_raw" -MT"syscfg/ti_enet_soc.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_soc.o" "syscfg/ti_enet_soc.c"
    Finished building: "syscfg/ti_enet_soc.c"
     
    Building file: "syscfg/ti_board_config.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_config.d_raw" -MT"syscfg/ti_board_config.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_board_config.o" "syscfg/ti_board_config.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_board_config.c"
     
    Building file: "syscfg/ti_enet_lwipif.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_lwipif.d_raw" -MT"syscfg/ti_enet_lwipif.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_lwipif.o" "syscfg/ti_enet_lwipif.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_enet_lwipif.c"
     
    Building file: "syscfg/ti_board_open_close.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_open_close.d_raw" -MT"syscfg/ti_board_open_close.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_board_open_close.o" "syscfg/ti_board_open_close.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_board_open_close.c"
     
    Building file: "../main.c"
    Invoking: Arm Compiler
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"main.d_raw" -MT"main.o" -I"/home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"main.o" "../main.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "../main.c"
     
    Building target: "empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.out"
    Invoking: Arm Linker
    "/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"empty.Debug.map" -Wl,-i"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/nortos/lib" -Wl,-i"/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/source/drivers/lib" -Wl,-i"/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.out" "./empty.o" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./main.o" -Wl,-l"syscfg/linker.cmd"  -Wl,-lnortos.am64x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am64x.r5f.ti-arm-clang.debug.lib -Wl,-llibc.a -Wl,-llibsysbm.a 
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    Finished building target: "empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.out"
     
    /home/sdoapps/ti/ccs12.0.0/ccs/utils/bin/gmake -C /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang -f makefile_ccs_bootimage_gen OUTNAME=empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang PROFILE=Debug MCU_PLUS_SDK_PATH=/home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41 CG_TOOL_ROOT=/home/sdoapps/ti/ti-cgt-armllvm_3.2.0.LTS CCS_INSTALL_DIR=/home/sdoapps/ti/ccs12.0.0/ccs CCS_IDE_MODE=desktop DEVICE=am64x
    Boot image: am64x:r5fss0-0:nortos:ti-arm-clang /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage ...
    /home/sdoapps/ti/ccs12.0.0/ccs/tools/node/node /home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/out2rprc/elf2rprc.js Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.out >> Debug/temp_stdout_Debug.txt
    cp empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc
    cp /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc_tmp
    rm -f /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc
    /home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/xipGen/xipGen.out -i /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc_tmp -o /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc -x /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc_xip --flash-start-addr 0x60000000 -v > Debug/temp_stdout_Debug.txt
    /home/sdoapps/ti/ccs12.0.0/ccs/tools/node/node /home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc@4  >> Debug/temp_stdout_Debug.txt
    /home/sdoapps/ti/ccs12.0.0/ccs/tools/node/node /home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage_xip /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc_xip@4  >> Debug/temp_stdout_Debug.txt
    python3 /home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/signing/appimage_x509_cert_gen.py --bin /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage --authtype 1 --key /home/sdoapps/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/signing/rom_degenerateKey.pem --output /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage.hs_fs
    Generating certificate for /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage ...
    rm -f /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage
    rm -f /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc_tmp
    Boot image: am64x:r5fss0-0:nortos:ti-arm-clang /home/sdoapps/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage.hs_fs Done !!!
    .
     
    
    **** Build Finished ****
    
    
    ================================================================================
    CCS headless build complete! 0 out of 1 projects have errors.
    

    The question is why you cannot even get to this point.

    One thing I would like to confirm is if you resolved all the dependencies mentioned in: https://software-dl.ti.com/ccs/esd/documents/ccsv12_linux_host_support.html

    If so, then can you try importing the same SDK example I imported in: ~/ti/mcu_plus_sdk_am64x_09_01_00_41/examples/empty/am64x-evm/r5fss0-0_nortos/ti-arm-clang

    Do you have the same issue?

  • Hello Ki,

    Thanks for your support and reproducing my setup!

    Yes, the dependencies are all installed, I confirmed that.

    I am also able to import and build the example from the mcu+sdk:

    Import step:

    ortfeld@Buildserver:~/ti/ccs12.0.0/ccs/eclipse$ ./eclipse -noSplash -data ~/ccs-workspace/ -application com.ti.ccstudio.apps.projectImport -ccs.location ~/ti/mcu_plus_sdk_am64x_09_01_00_41/examples/empty/am64x-evm/r5fss0-0_nortos/ti-arm-clang/example.projectspec 
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    
    --------------------------------------------------------------------------------
    Importing project from '/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/examples/empty/am64x-evm/r5fss0-0_nortos/ti-arm-clang/example.projectspec'...
    
        NOTE: Compiler version 'TICLANG_3.2.0' is not currently installed! - defaulting to 'TICLANG_3.2.0.LTS'.
    
    Done!

    Build Step:

    ortfeld@Buildserver:~/ti/ccs12.0.0/ccs/eclipse$ ./eclipse -noSplash -data ~/ccs-workspace/ -application com.ti.ccstudio.apps.projectBuild -ccs.projects empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    CCS headless build starting... [Wed Jul 03 12:19:47 CEST 2024] 
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    ================================================================================
    Pre processing...
    
    
    ================================================================================
    Building...
    
    
    **** Build of configuration Debug for project empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang ****
    
    /home/ortfeld/ti/ccs12.0.0/ccs/utils/bin/gmake -k -j 8 all -O 
     
    Building file: "../example.syscfg"
    Invoking: SysConfig
    "/home/ortfeld/ti/sysconfig_1.18.0/sysconfig_cli.sh" -s "/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/.metadata/product.json" --script "/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/example.syscfg" --context "r5fss0-0" -o "syscfg" --part Default --package ALV --compiler ticlang
    Running script...
    Validating...
    info: CONFIG_MPU_REGION3(/kernel/dpl/mpu_armv7) attributes: Region shared among cores is marked as cached.
    info: /kernel/dpl/debug_log uartLog.baudRate: Actual Baudrate Possible: 115385 (0 % error)
    Generating Code (example.syscfg)...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_dpl_config.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_dpl_config.h...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_drivers_config.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_drivers_config.h...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_drivers_open_close.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_drivers_open_close.h...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_pinmux_config.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_power_clock_config.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_board_config.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_board_config.h...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_board_open_close.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_board_open_close.h...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_config.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_config.h...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_open_close.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_open_close.h...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_soc.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_lwipif.c...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_enet_lwipif.h...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/ti_pru_io_config.inc...
    Writing /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg/linker.cmd...
    Finished building: "../example.syscfg"
    
    Building file: "syscfg/ti_drivers_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_drivers_config.c"
    
    Building file: "syscfg/ti_power_clock_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_power_clock_config.d_raw" -MT"syscfg/ti_power_clock_config.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_power_clock_config.o" "syscfg/ti_power_clock_config.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_power_clock_config.c"
    
    Building file: "../empty.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"empty.d_raw" -MT"empty.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"empty.o" "../empty.c"
    Finished building: "../empty.c"
    
    Building file: "syscfg/ti_pinmux_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_pinmux_config.d_raw" -MT"syscfg/ti_pinmux_config.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_pinmux_config.o" "syscfg/ti_pinmux_config.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_pinmux_config.c"
    
    Building file: "syscfg/ti_board_open_close.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_open_close.d_raw" -MT"syscfg/ti_board_open_close.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_board_open_close.o" "syscfg/ti_board_open_close.c"
    Finished building: "syscfg/ti_board_open_close.c"
    
    Building file: "syscfg/ti_dpl_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_dpl_config.d_raw" -MT"syscfg/ti_dpl_config.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_dpl_config.o" "syscfg/ti_dpl_config.c"
    Finished building: "syscfg/ti_dpl_config.c"
    
    Building file: "syscfg/ti_board_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_config.d_raw" -MT"syscfg/ti_board_config.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_board_config.o" "syscfg/ti_board_config.c"
    Finished building: "syscfg/ti_board_config.c"
    
    Building file: "syscfg/ti_drivers_open_close.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_open_close.d_raw" -MT"syscfg/ti_drivers_open_close.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_drivers_open_close.o" "syscfg/ti_drivers_open_close.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "syscfg/ti_drivers_open_close.c"
    
    Building file: "syscfg/ti_enet_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_config.d_raw" -MT"syscfg/ti_enet_config.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_config.o" "syscfg/ti_enet_config.c"
    Finished building: "syscfg/ti_enet_config.c"
    
    Building file: "syscfg/ti_enet_open_close.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_open_close.d_raw" -MT"syscfg/ti_enet_open_close.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_open_close.o" "syscfg/ti_enet_open_close.c"
    Finished building: "syscfg/ti_enet_open_close.c"
    
    Building file: "syscfg/ti_enet_soc.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_soc.d_raw" -MT"syscfg/ti_enet_soc.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_soc.o" "syscfg/ti_enet_soc.c"
    Finished building: "syscfg/ti_enet_soc.c"
    
    Building file: "syscfg/ti_enet_lwipif.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_lwipif.d_raw" -MT"syscfg/ti_enet_lwipif.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"syscfg/ti_enet_lwipif.o" "syscfg/ti_enet_lwipif.c"
    Finished building: "syscfg/ti_enet_lwipif.c"
    
    Building file: "../main.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"main.d_raw" -MT"main.o" -I"/home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/syscfg"   -o"main.o" "../main.c"
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    tiarmclang: warning: argument unused during compilation: '-gstrict-dwarf' [-Wunused-command-line-argument]
    Finished building: "../main.c"
    
    Building target: "empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.out"
    Invoking: Arm Linker
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -DSOC_AM64X -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"empty.Debug.map" -Wl,-i"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/nortos/lib" -Wl,-i"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/drivers/lib" -Wl,-i"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.out" "./empty.o" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./main.o" -Wl,-l"syscfg/linker.cmd"  -Wl,-lnortos.am64x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am64x.r5f.ti-arm-clang.debug.lib -Wl,-llibc.a -Wl,-llibsysbm.a
    tiarmclang: warning: Strict DWARF is not supported. [-Winvalid-command-line-argument]
    Finished building target: "empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.out"
     
    /home/ortfeld/ti/ccs12.0.0/ccs/utils/bin/gmake -C /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang -f makefile_ccs_bootimage_gen OUTNAME=empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang PROFILE=Debug MCU_PLUS_SDK_PATH=/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41 CG_TOOL_ROOT=/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS CCS_INSTALL_DIR=/home/ortfeld/ti/ccs12.0.0/ccs CCS_IDE_MODE=desktop DEVICE=am64x
    Boot image: am64x:r5fss0-0:nortos:ti-arm-clang /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage ...
    /home/ortfeld/ti/ccs12.0.0/ccs/tools/node/node /home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/out2rprc/elf2rprc.js Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.out >> Debug/temp_stdout_Debug.txt
    cp empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc
    cp /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc_tmp
    rm -f /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc
    /home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/xipGen/xipGen.out -i /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc_tmp -o /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc -x /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc_xip --flash-start-addr 0x60000000 -v > Debug/temp_stdout_Debug.txt
    /home/ortfeld/ti/ccs12.0.0/ccs/tools/node/node /home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc@4  >> Debug/temp_stdout_Debug.txt
    /home/ortfeld/ti/ccs12.0.0/ccs/tools/node/node /home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/multicoreImageGen/multicoreImageGen.js --devID 55 --out /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage_xip /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc_xip@4  >> Debug/temp_stdout_Debug.txt
    python3 /home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/signing/appimage_x509_cert_gen.py --bin /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage --authtype 1 --key /home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/tools/boot/signing/rom_degenerateKey.pem --output /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage.hs_fs
    Generating certificate for /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage ...
    rm -f /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage
    rm -f /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.rprc_tmp
    Boot image: am64x:r5fss0-0:nortos:ti-arm-clang /home/ortfeld/ccs-workspace/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang/Debug/empty_am64x-evm_r5fss0-0_nortos_ti-arm-clang.appimage.hs_fs Done !!!
    .
    
    
    **** Build Finished ****
    
    
    ================================================================================
    CCS headless build complete! 0 out of 1 projects have errors.

    Both steps seem to be same with your output. I also see the Note that it defaults to the TICLANG_3.2.0.LTS Compiler during import.

    I wonder if it matters, whether my project to be imported is initially created with a Linux or Windows based system?

    I gave it a fresh setup, trying a project created on a Linux machine and one created on a windows machine.

    For the project initially created on windows it is still the same behaviour as described in my first post (This was also a windows based project).

    The project created on the linux machine can not even be imported:

    ortfeld@Buildserver:~/ti/ccs12.0.0/ccs/eclipse$ ./eclipse -noSplash -data ~/ccs-workspace2/ -application com.ti.ccstudio.apps.projectImport -ccs.location ~/ccs-projects/linux-based/ccs12-test/r5f_freertos/prj/
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    
    --------------------------------------------------------------------------------
    Importing project from '/home/ortfeld/ccs-projects/linux-based/ccs12-test/r5f_freertos/prj/'...
    
      !ERROR: Import failed for project 'prj' because its meta-data cannot be interpreted. Please contact support.
    
    Done!

    Do you have any comments regarding the successful example or the linux vs. windows based project thoughts?

    Thank you!
    Daniel

  • Can you share your project? I mainly need the three .*project file in the project folder but having the contents of the whole project folder would be helpful. If you can zip the project folder and provide that, that would be helpful.

    You can send via private E2E message if your wish.

  • Can you share your project?

    Actually I probably don't need it. I can reproduce the issue with an project I imported to and built with CCS IDE (the same empty project) windows.

    I think I have an inking of the issue. For the project you are trying to import... I assume you created the project and build it using the CCS IDE. Did you grab the SDK and clang compiler from CCS Resource Explorer instead of manually downloading/installing the standalone installers for them?

  • Update - I have been testing a bit and so far I see:

    • Importing a project created/built from CCS 12.0.0 Windows to my Linux environment. I get metadata issues
    • Importing a project created/built from CCS 12.0.0 Linux (this is a different Linux machine) to my Linux environment - works.

    I think this is reverse what is happening.

    I will also try with CCS 12.7.1 in case that version has some fix. 

  • I will also try with CCS 12.7.1 in case that version has some fix. 

    CCS 12.7.1 seems to work much better. The same projects created with CCS 12.0.0 IDE (from both Windows and Linux) import fine into my CCS 12.7.1 Linux environment. Can you try updating the CCS version?

  • Thanks for your further research!

    Regarding your question asking about the way I created projects and how I installed the Tools.
    I installed the Tools from the download page for all 3 setups (Buildserver and my desktop setups) and not from the Resource Explorer.
    The projects were created with Code Composer Studio IDE and GUI.

    Following your experiment, I installed CCS 12.7.1 on my Buildserver and tried to import an build my projects.

    First of all, this was the first time a project builds successful with the headless build approach on my side! Slight smile


    The behaviour is similar to your setup:

    Both types of projects (Windows and Linux based) can be imported. I don't have metadata issues.

    In both cases I don't see the note, that the Compiler defaults to TICLANG_3.2.0.LTS, which appeared at the import from of the example project from the SDK.

    Windows Project Import:

    ortfeld@Buildserver:~/ti/ccs12.7/ccs/eclipse$ ./eclipse -noSplash -data ~/ccs-ws-12.7/ -application com.ti.ccstudio.apps.projectImport -ccs.location ~/ccs-projects/windows-based/apps.interbus/hw_compact3/r5f_freertos/prj/
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    
    --------------------------------------------------------------------------------
    Importing project from '/home/ortfeld/ccs-projects/windows-based/apps.interbus/hw_compact3/r5f_freertos/prj/'...
    
    
    Done!

    Linux Project Import:

    ortfeld@Buildserver:~/ti/ccs12.7/ccs/eclipse$ ./eclipse -noSplash -data ~/ccs-ws-12.7/ -application com.ti.ccstudio.apps.projectImport -ccs.location ~/ccs-projects/linux-based/ccs12-test/hw_compact3/r5f_freertos/prj/
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    
    --------------------------------------------------------------------------------
    Importing project from '/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_compact3/r5f_freertos/prj/'...
    
    
    Done!

    But in my case, only the linux based project can be built successful. The windows project still has the same error:

    Windows Project Build:

    ortfeld@Buildserver:~/ti/ccs12.7/ccs/eclipse$ ./eclipse -noSplash -data ~/ccs-ws-12.7/ -application com.ti.ccstudio.apps.projectBuild -ccs.projects prj
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    CCS headless build starting... [Thu Jul 04 10:19:52 CEST 2024] 
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    ================================================================================
    Pre processing...
    
    
    ================================================================================
    Building...
    
    
    **** Clean-only build of configuration Debug for project prj ****
    
    /home/ortfeld/ti/ccs12.7/ccs/utils/bin/gmake -k -j 8 clean -O 
     
    rm -rf  "syscfg/ti_dpl_config.h" "syscfg/ti_drivers_config.h" "syscfg/ti_drivers_open_close.h" "syscfg/ti_board_config.h" "syscfg/ti_board_open_close.h" "syscfg/ti_enet_config.h" "syscfg/ti_enet_open_close.h" "syscfg/ti_enet_lwipif.h" "syscfg/ti_pru_io_config.inc"  "syscfg/ti_dpl_config.c" "syscfg/ti_drivers_config.c" "syscfg/ti_drivers_open_close.c" "syscfg/ti_pinmux_config.c" "syscfg/ti_power_clock_config.c" "syscfg/ti_board_config.c" "syscfg/ti_board_open_close.c" "syscfg/ti_enet_config.c" "syscfg/ti_enet_open_close.c" "syscfg/ti_enet_soc.c" "syscfg/ti_enet_lwipif.c"  "freertos.elf"
    rm -rf "syscfg/ti_dpl_config.o" "syscfg/ti_drivers_config.o" "syscfg/ti_drivers_open_close.o" "syscfg/ti_pinmux_config.o" "syscfg/ti_power_clock_config.o" "syscfg/ti_board_config.o" "syscfg/ti_board_open_close.o" "syscfg/ti_enet_config.o" "syscfg/ti_enet_open_close.o" "syscfg/ti_enet_soc.o" "syscfg/ti_enet_lwipif.o" 
    rm -rf "syscfg/ti_dpl_config.d" "syscfg/ti_drivers_config.d" "syscfg/ti_drivers_open_close.d" "syscfg/ti_pinmux_config.d" "syscfg/ti_power_clock_config.d" "syscfg/ti_board_config.d" "syscfg/ti_board_open_close.d" "syscfg/ti_enet_config.d" "syscfg/ti_enet_open_close.d" "syscfg/ti_enet_soc.d" "syscfg/ti_enet_lwipif.d" 
    rm -rf  "syscfg"
    Finished clean
    
    
    **** Build Finished ****
    Buildfile generation error occurred..
    Product ti_cgt_tiarmclang v3.2.0.00 is not currently installed and no compatible version is available. Please install this product or a compatible version.
    Build stopped..
    
    
    ================================================================================
    CCS headless build complete! 1 out of 1 projects have errors.

    Linux Project Build:

    ortfeld@Buildserver:~/ti/ccs12.7/ccs/eclipse$ ./eclipse -noSplash -data ~/ccs-ws-12.7/ -application com.ti.ccstudio.apps.projectBuild -ccs.projects prj
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    CCS headless build starting... [Thu Jul 04 10:45:42 CEST 2024] 
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    ================================================================================
    Pre processing...
    
    
    ================================================================================
    Building...
    
    
    **** Clean-only build of configuration Debug for project prj ****
    
    /usr/bin/make -k -j 8 clean -O 
    
    rm -rf "syscfg/ti_dpl_config.h" "syscfg/ti_drivers_config.h" "syscfg/ti_drivers_open_close.h" "syscfg/ti_board_config.h" "syscfg/ti_board_open_close.h" "syscfg/ti_enet_config.h" "syscfg/ti_enet_open_close.h" "syscfg/ti_enet_lwipif.h" "syscfg/ti_pru_io_config.inc" "syscfg/ti_dpl_config.c" "syscfg/ti_drivers_config.c" "syscfg/ti_drivers_open_close.c" "syscfg/ti_pinmux_config.c" "syscfg/ti_power_clock_config.c" "syscfg/ti_board_config.c" "syscfg/ti_board_open_close.c" "syscfg/ti_enet_config.c" "syscfg/ti_enet_open_close.c" "syscfg/ti_enet_soc.c" "syscfg/ti_enet_lwipif.c" "freertos.elf"
    rm -rf "syscfg/ti_dpl_config.o" "syscfg/ti_drivers_config.o" "syscfg/ti_drivers_open_close.o" "syscfg/ti_pinmux_config.o" "syscfg/ti_power_clock_config.o" "syscfg/ti_board_config.o" "syscfg/ti_board_open_close.o" "syscfg/ti_enet_config.o" "syscfg/ti_enet_open_close.o" "syscfg/ti_enet_soc.o" "syscfg/ti_enet_lwipif.o" "ibs_pcp/coding.o" "ibs_pcp/pdl_if.o" "ibs_pcp/pdl_mac.o" "ibs_pcp/receive.o" "ibs_pcp/rq_b_if.o" "ibs_pcp/transm.o" "ipc_rpmsg_ti/ipc_rpmsg.o" "src/common/ipc_driver.o" "src/common/ipc_msgq.o" "src/common/ipc_pcp_test.o" "src/common/ipc_pdo.o" "src/freertos_main.o" "src/freertos_para.o" "src/ibs_pcp.o" "src/kontiki/bg_norm.o" "src/kontiki/messages.o" "src/kontiki/msg_queue_list.o" "src/kontiki/objectdictionary.o" "src/kontiki/pd_buff.o" "src/kontiki/service_client.o" "src/kontiki/service_slv.o" "src/kontiki/timer.o"
    rm -rf "syscfg/ti_dpl_config.d" "syscfg/ti_drivers_config.d" "syscfg/ti_drivers_open_close.d" "syscfg/ti_pinmux_config.d" "syscfg/ti_power_clock_config.d" "syscfg/ti_board_config.d" "syscfg/ti_board_open_close.d" "syscfg/ti_enet_config.d" "syscfg/ti_enet_open_close.d" "syscfg/ti_enet_soc.d" "syscfg/ti_enet_lwipif.d" "ibs_pcp/coding.d" "ibs_pcp/pdl_if.d" "ibs_pcp/pdl_mac.d" "ibs_pcp/receive.d" "ibs_pcp/rq_b_if.d" "ibs_pcp/transm.d" "ipc_rpmsg_ti/ipc_rpmsg.d" "src/common/ipc_driver.d" "src/common/ipc_msgq.d" "src/common/ipc_pcp_test.d" "src/common/ipc_pdo.d" "src/freertos_main.d" "src/freertos_para.d" "src/ibs_pcp.d" "src/kontiki/bg_norm.d" "src/kontiki/messages.d" "src/kontiki/msg_queue_list.d" "src/kontiki/objectdictionary.d" "src/kontiki/pd_buff.d" "src/kontiki/service_client.d" "src/kontiki/service_slv.d" "src/kontiki/timer.d"
    rm -rf "syscfg"
    Finished clean
    
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project prj ****
    
    /usr/bin/make -k -j 8 all -O 
    
    Building file: "../<boardname>.syscfg"
    Invoking: SysConfig
    "/home/ortfeld/ti/sysconfig_1.18.0/sysconfig_cli.sh" --script "/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/<boardname>.syscfg" -o "syscfg" -s "/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/.metadata/product.json" --context "r5fss0-0" --part Default --package ALV --compiler ticlang
    Running script...
    Validating...
    Generating Code (<boardname>.syscfg)...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_dpl_config.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_dpl_config.h...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_drivers_config.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_drivers_config.h...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_drivers_open_close.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_drivers_open_close.h...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_pinmux_config.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_power_clock_config.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_board_config.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_board_config.h...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_board_open_close.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_board_open_close.h...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_enet_config.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_enet_config.h...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_enet_open_close.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_enet_open_close.h...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_enet_soc.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_enet_lwipif.c...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_enet_lwipif.h...
    Writing /home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg/ti_pru_io_config.inc...
    Finished building: "../<boardname>.syscfg"
    
    Building file: "syscfg/ti_enet_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_config.d_raw" -MT"syscfg/ti_enet_config.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_enet_config.o" "syscfg/ti_enet_config.c"
    Finished building: "syscfg/ti_enet_config.c"
    
    Building file: "syscfg/ti_enet_open_close.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_open_close.d_raw" -MT"syscfg/ti_enet_open_close.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_enet_open_close.o" "syscfg/ti_enet_open_close.c"
    Finished building: "syscfg/ti_enet_open_close.c"
    
    Building file: "syscfg/ti_enet_soc.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_soc.d_raw" -MT"syscfg/ti_enet_soc.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_enet_soc.o" "syscfg/ti_enet_soc.c"
    Finished building: "syscfg/ti_enet_soc.c"
    
    Building file: "syscfg/ti_enet_lwipif.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_enet_lwipif.d_raw" -MT"syscfg/ti_enet_lwipif.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_enet_lwipif.o" "syscfg/ti_enet_lwipif.c"
    Finished building: "syscfg/ti_enet_lwipif.c"
    
    Building file: "syscfg/ti_power_clock_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_power_clock_config.d_raw" -MT"syscfg/ti_power_clock_config.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_power_clock_config.o" "syscfg/ti_power_clock_config.c"
    Finished building: "syscfg/ti_power_clock_config.c"
    
    Building file: "syscfg/ti_board_open_close.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_open_close.d_raw" -MT"syscfg/ti_board_open_close.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_board_open_close.o" "syscfg/ti_board_open_close.c"
    Finished building: "syscfg/ti_board_open_close.c"
    
    Building file: "syscfg/ti_dpl_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_dpl_config.d_raw" -MT"syscfg/ti_dpl_config.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_dpl_config.o" "syscfg/ti_dpl_config.c"
    Finished building: "syscfg/ti_dpl_config.c"
    
    Building file: "syscfg/ti_drivers_open_close.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_open_close.d_raw" -MT"syscfg/ti_drivers_open_close.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_drivers_open_close.o" "syscfg/ti_drivers_open_close.c"
    Finished building: "syscfg/ti_drivers_open_close.c"
    
    Building file: "syscfg/ti_pinmux_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_pinmux_config.d_raw" -MT"syscfg/ti_pinmux_config.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_pinmux_config.o" "syscfg/ti_pinmux_config.c"
    Finished building: "syscfg/ti_pinmux_config.c"
    
    Building file: "syscfg/ti_board_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_board_config.d_raw" -MT"syscfg/ti_board_config.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_board_config.o" "syscfg/ti_board_config.c"
    Finished building: "syscfg/ti_board_config.c"
    
    Building file: "syscfg/ti_drivers_config.c"
    Invoking: Arm Compiler
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 <...>
    -I<...> -I"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/include/c" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/FreeRTOS-Kernel/include" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/config/am64x/r5f" -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -MMD -MP -MF"syscfg/ti_drivers_config.d_raw" -MT"syscfg/ti_drivers_config.o" -I"/home/ortfeld/ccs-projects/linux-based/ccs12-test/hw_<boardname>/r5f_freertos/prj/Debug/syscfg"   -o"syscfg/ti_drivers_config.o" "syscfg/ti_drivers_config.c"
    Finished building: "syscfg/ti_drivers_config.c"
    
    ....
    // More files where build here //
    ....
    
    Building target: "freertos.elf"
    Invoking: Arm Linker
    "/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/bin/tiarmclang" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -O0 -DSOC_AM64X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"freertos.Debug.map" -Wl,-i"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/kernel/freertos/lib" -Wl,-i"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/drivers/lib" -Wl,-i"/home/ortfeld/ti/mcu_plus_sdk_am64x_09_01_00_41/source/board/lib" -Wl,-i"/home/ortfeld/ti/ti-cgt-armllvm_3.2.0.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="prj_linkInfo.xml" -Wl,--ram_model -o "freertos.elf" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "..." "../src/linker.cmd"  -Wl,-lfreertos.am64x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am64x.r5f.ti-arm-clang.debug.lib -Wl,-lboard.am64x.r5f.ti-arm-clang.debug.lib -Wl,-llibc.a
    Finished building target: "freertos.elf"
     
    
    **** Build Finished ****
    
    
    ================================================================================
    CCS headless build complete! 0 out of 1 projects have errors.

    I looked for differences in the project files (.project, .cproject, .ccsproject).

    The .ccsproject file is identical and the .project is more or less identical, there is only one relativ to an absolute path replacement.

    The main differencies in the .cproject is a different Compiler Version Property in the Windows project, whcih says Version 3.0 is used:

    But the Compiler version is set to 3.2.0, which corresponds to the Error Message during Build (is looking for 3.2.0):

    For me in personal it would be fine to build my projects on linux, but my Colleagues use windows. My hope with the headless build approach is to get rid of the Host OS Dependency and build the projects on a project basis.

    I believe there is only a short missconfiguration in my windows project.

    Should I try to set up CCS12.7.1 on my Windows machine, migrate the project to the new Version and try to build it with the buildserver? Will this help or do you have another approach?

    Thanks!

    Daniel

  • Can you provide your Windows project with the failure? 

  • Hello Ki,

    I am afraid I can not share this project, because there is lots of company specific IP in it.

    Meanwhile I work on setting this project up new on Windows with CCS Version 12.7.1 and try to build it afterwords with the lunux buildserver.

    I keep you updated, how this works! Slight smile

    Thanks!
    Daniel

  • I am afraid I can not share this project, because there is lots of company specific IP in it.

    I understand. Please note that I don't necessarily need the actual project. In fact I prefer a stripped down one as much as possible. I just need to be able to reproduce the issue with the project.

    Meanwhile I work on setting this project up new on Windows with CCS Version 12.7.1 and try to build it afterwords with the lunux buildserver.

    Ok, keep me posted!

  • Hello KI,

    some updates from my side:

    1. 

    I recreated my project from scratch with CCS 12.7.1. It can be built on my windows host in the GUI but not on the Linux Buildserver in the cmdline

    The error is still the same as before:

    So it seems this problem has nothing to do with the CCS version, the project is originally created with. It seems to be only a problem regarding the installed Compilers and the compilers set to be used in the project.

    In the project, the Compiler is set as follows:

    The Compiler ist installed unter C:\ti\ti_cgt_tiarmclang_3.2.0.LTS

    In the Error Message on the buildserver, it says that ti_cgt_tiarmlang is not installed, which is true:

    On Linux the compiler is called ti-cgt-armllvm (compared to ti_cgt_tiarmclang on windows).

    Are these two different compilers? Is there a Compiler which can be used on bot OS's? I the ti_cgt_tiarmclang Compiler available for Linux?

    Searching for the TI Arm Clang Compiler (ti_cgt_tiarmclang) I can not find it again on the website, but I can find the ti_cgt_armllvm for windows and Linux here: ARM-CGT-CLANG/3.2.0.LTS

    However when I install this Compiler on my Windows host, it is not discovered in the CCS Gui:

    How can I make this compiler be discovered? (The Refresh Button doesn't help ...)

    For me these two approaches seems promising to fix the problems.

    2. 

    I also tried to build my project in the commandline on the same windows host where I build the project in the GUI. (I just wanted to see if the project can be build without GUI...)

    I also face some problems here, building the existing project in the existing workspace:

    Trying to import the existing project into a new workspace also fails with a similar issue:

    I wonder, why it expects the .metadata folder in the location where the project resides. This should be inside the workspace but not in the project location.

    I also tried powershell and git shell, but they also don't work.

    Do I use wrong commands on windows? May you share the correct commands here?

    Thanks for further help and research!

    I will in parallel work on stripping down the project, so it can be shared with you. 

    Daniel

  • Are these two different compilers? Is there a Compiler which can be used on bot OS's? I the ti_cgt_tiarmclang Compiler available for Linux?

    They are all the same compiler. It seems like sometimes ti-cgt-armllvm and ti_cgt_tiarmclang names are used for the folder. They may also be packaged differently (though they are all the same compiler). This is all so confusing.

    Do I use wrong commands on windows? May you share the correct commands here?

    Remove the last backslash for both that workspace path and the project path being imported.

    I will in parallel work on stripping down the project, so it can be shared with you. 

    This will be helpful. Please note that the project can be extremely simple. As basic as a "hello world" project. It just needs to be able to reproduce the issue.

    Thanks

    ki

  • The Compiler ist installed unter C:\ti\ti_cgt_tiarmclang_3.2.0.LTS

    Where did you get the installer for that one? Did you use the default installation folder name?

  • Yep. I had the same Question, because I was not able to find it again. 
    I guess I downloaded it via the MCU+SDK description from here: AM64x MCU+ SDK: Download, Install and Setup SDK and Tools (ti.com)
    I used an earlier Version of the SDK (09_01_00_41), but I can no longer access the documentation for this SDK Version, as it is now at 09.02.01.

    Thanks for the hint with the last Slashes in the paths. When I remove this, I was able to build the projects headless in the commandline on the same windows host where I built the projects in the GUI!

    Additionally, I further experimented with the Compilers from here ARM-CGT-CLANG IDE, configuration, compiler or debugger | TI.com (the ti-cgt-armllvm_3.2.0.LTS variant). 

    I installed this Compiler under C:\ti:

    As seen in my last post, I am not able to add this new Compiler to CCS (previous variant was ti_cgt_tiarmclang_3.2.0.LTS).

    So I uninstalled CCS 12.7.1 and reinstalled it. After that the Compiler is available in CCS, at least in the main settings:

    As expected, my project(s) fails to build, because the Compiler set in the project is missing:

    Trying to switch to the ti-cgt-armllvm_3.2.0.LTS Compiler is not possible, as I can not add this Compiler.

    I found out, that removing the compiler completely from the Product page will lead to a successful project build with the new ti-cgt-armllvm_3.2.0.LTS Compiler, proven in the console:

     

    And now finally the good news:

    I tried building this Windows project on my Linux Buildserver, where the same Compiler is installed, but in the linux variant.

    I can now import this project and build it! 

    This was quite a mess in my opinion (sorry to say that...) Anyway, Thanks for your help during this testing and debugging section!!

    I hope the screenshots are sufficient for anyone else facing this problem/phenomena!

    Daniel

  • I can now import this project and build it! 

    Excellent. And thank you for sharing the details!

    This was quite a mess in my opinion (sorry to say that...)

    This is a mess. While the compilers are all the same, how they are being packaged are different. I think this is causing confusion. We will need to look into this.