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.

TMS320F28379D: Compatibility issues between EABI libraries and the target output file format COFF

Part Number: TMS320F28379D
Other Parts Discussed in Thread: TI-CGT, C2000WARE

HELLO,

I have a question regarding the output format there is a compatibility issues between certain libraries and the target output file format in my project ,

warning #10373-D: library "../include/driverlib/ccs/Debug/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.
warning #10373-D: library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.
warning #10207-D: resolving index library "rts2800_fpu32_fast_supplement.lib" to "rts2800_fpu32_fast_supplement_coff.lib", but "rts2800_fpu32_fast_supplement_coff.lib" was not found
warning #10373-D: library "../include/driverlib/ccs/Debug/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.
warning #10373-D: library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.
Finished building target: ".out"

These are the warnings which i am facing and i went through TI forums related to this issue and tried the different ways by changing the files in include library file or command file as input in properties > c2000linker > file search path. 

And in properties > general > output format i have selected the field as legacy COFF .

Thanks and Regards,

Denzil.

  • CCS projects will by default use all .cmd or .lib files in its (recursively nested) project directory during build. Did you possibly include the driverlib folder inside your project directory? If so, you'll have to mark the driverlib/ccs folder as excluded from build, add it to the library search paths, and then manually select the desired driverlibXXX.lib in your include libraries (in this case, driverlib_coff.lib).

    As for the missing rts2800_fpu32_fast_supplement_coff.lib, this I'm not sure... it should be included by default in your CCS installation.

  • Denzil,

    If you are using COFF, then the driverlib and libraries should also be in COFF format. Pls ensure that only such libraires are included in the project

    Best Regards

    Siddharth

  • Hey Siddharth,

    Thanks for the information ,I have taken out driverlib_eabi.lib and driverlib.lib from the debug folder. But i am still facing the same error

    Description Resource Path Location Type
    #10373-D library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library. ETON C/C++ Problem

    What could be the possible way to solve this warning?

    Regards,

    Denzil

  • Denzil.

    Did you try doing a Project clean and then building it again?  Looks like there maybe some intermediate files generated by the previous build which are still in ELF format.

    Best Regards

    Siddharth

  • Hey Siddharth,

    I have cleaned and built the project multiple times, but the issues is not yet resolved. Could you please suggest us some documents to resolve this.

    For your information, we are currently using the TI-CGT 21.6.0 LTS compiler. 

    Warning:

    C:/ti/c2000/C2000Ware_4_03_00_00/driverlib/f2837xd/driverlib/ccs/Debug/driverlib.lib" "../include/driverlib/ccs/Debug/driverlib.lib" "../include/driverlib/ccs/Debug/driverlib_coff.lib" "../include/driverlib/ccs/Release/driverlib.lib" "../include/driverlib/ccs/Release/driverlib_coff.lib" "../include/driverlib/ccs/Release/driverlib_eabi.lib" "../lib/rts2800_fpu32_fast_supplement_coff.lib"  -llibc.a -l"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_fpu32.lib" -l"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_ml.lib"
    <Linking>
    warning #10373-D: library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.
    warning #10373-D: library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.
    Finished building target

    Thanks & Regards,

    Denzil

  • Denzil, 

    Pls share the entire console log. I still see "../include/driverlib/ccs/Release/driverlib_eabi.lib" been included in the project from the warning message that you have shared.

    Best Regards

    Siddharth

  • **** Build of configuration Debug for project xyz ****

    "C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 8 all -O

    Building file: "../xyz/board_setup.cpp"
    Invoking: C2000 Compiler
    "C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="D:/Vishwas/crd/include/driverlib" --include_path="C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xd/headers/include" --include_path="D:/Vishwas/crd/device" --include_path="D:/Vishwas/crd" --include_path="D:/Vishwas/crd/include" --include_path="C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --advice:performance=all --define=CPU1 --define=_FLASH --define=_LAUNCHXL_F28379D -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="xyz/board_setup.d_raw" --obj_directory="xyz"  "../xyz/board_setup.cpp"
    "../xyz/board_setup.cpp", line 515 (col. 71): advice #2615-D: (Performance) Use --fp_mode=relaxed to enable TMU hardware support for FP division.
    Finished building: "../xyz/board_setup.cpp"

    Building target: "xyz.out"
    Invoking: C2000 Linker
    "C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --advice:performance=all --define=CPU1 --define=_FLASH --define=_LAUNCHXL_F28379D -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi -z -m"xyz.map" --heap_size=0x200 --stack_size=0x200 --warn_sections -i"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib" -i"C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xd/common/cmd" -i"C:/ti/c2000/C2000Ware_4_03_00_00/device_support/f2837xd/headers/cmd" -i"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="xyz_linkInfo.xml" --rom_model -o "xyz.out" "./Fault_Handler.obj" "./InterruptHandlers.obj" "./can_transmit_receive.obj" "./main.obj" "./xyz/board_setup.obj" "./device/F2837xD_CodeStartBranch.obj" "./device/device.obj" "./include/driverlib/adc.obj" "./include/driverlib/asysctl.obj" "./include/driverlib/can.obj" "./include/driverlib/cmpss.obj" "./include/driverlib/cputimer.obj" "./include/driverlib/epwm.obj" "./include/driverlib/flash.obj" "./include/driverlib/gpio.obj" "./include/driverlib/interrupt.obj" "./include/driverlib/memcfg.obj" "./include/driverlib/sysctl.obj" "./include/driverlib/xbar.obj" "../2837x_FLASH_lnk_cpu1.cmd" "C:/ti/c2000/C2000Ware_4_03_00_00/driverlib/f2837xd/driverlib/ccs/Debug/driverlib.lib" "../include/driverlib/ccs/Debug/driverlib.lib" "../include/driverlib/ccs/Debug/driverlib_coff.lib" "../include/driverlib/ccs/Release/driverlib.lib" "../include/driverlib/ccs/Release/driverlib_coff.lib" "../include/driverlib/ccs/Release/driverlib_eabi.lib" "../lib/rts2800_fpu32_fast_supplement_coff.lib"  -llibc.a -l"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_fpu32.lib" -l"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_ml.lib"
    <Linking>
    warning #10373-D: library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.
    warning #10373-D: library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file.  Ensure you are using the proper library.
    Finished building target: "xyz.out"


    **** Build Finished ****

    Get support

  • Hi, 

    It still shows that driverlib_eabi.lib is included ( "../include/driverlib/ccs/Release/driverlib_eabi.lib" ). Pls check the project properties and ensure that it is removed.  

    Also, you can remove "driverlib.lib" from the project and only add "driverlib_coff.lib" and see if it helps in resolving this issue.

    Best Regards

    Siddharth