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.

How to fix the problem encountered if TIVA_Ware ver2.1.x is adopted ?

Other Parts Discussed in Thread: EK-TM4C123GXL, TM4C123GH6PM

Dear Sir/Madam,

        Following is the Console messages while builiding Lab2 of TM4C123G_Launchpad_Workshop under CCS_ver5.5. At first, I was wondering if there is any step missed; after TIVA_Ware ver1.1 installed in different location (separating from ver2.1.x) & modify the Path//Build Variables, original 5 errors were solved & Debug perspective works as expected. Could you tell us how to fix this problem if TIVA_Ware ver2.1.x is adopted (rather than ver1.1), Thank you !

                                                          Regards,        William Wu

[ Console messages ]

error #16004-D: file "C:/ti/TivaWare_C_Series-2.1.1.71/driverlib/ccs/Debug/driverlib.lib<gpio.obj>" has a Tag_PCS_config attribute value of "1" that is different than one previously seen ("0"); combining incompatible files

error #16004-D: file "C:/ti/TivaWare_C_Series-2.1.1.71/driverlib/ccs/Debug/driverlib.lib<interrupt.obj>" has a Tag_PCS_config attribute value of "1" that is different than one previously seen ("0"); combining incompatible files

error #16004-D: file "C:/ti/TivaWare_C_Series-2.1.1.71/driverlib/ccs/Debug/driverlib.lib<sysctl.obj>" has a Tag_PCS_config attribute value of "1" that is different than one previously seen ("0"); combining incompatible files

>> Compilation failure
error #16004-D: file "C:/ti/TivaWare_C_Series-2.1.1.71/driverlib/ccs/Debug/driverlib.lib<cpu.obj>" has a Tag_PCS_config attribute value of "1" that is different than one previously seen ("0"); combining incompatible files

error #10010: errors encountered during linking; "lab2.out" not built
  • Hello William,

    Can you please share your project as the issue seems to be something else.

    Regards
    Amit
  • Wu William1 said:
    error #16004-D: file "C:/ti/TivaWare_C_Series-2.1.1.71/driverlib/ccs/Debug/driverlib.lib<gpio.obj>" has a Tag_PCS_config attribute value of "1" that is different than one previously seen ("0"); combining incompatible files

    Which version of the TI ARM compiler are you using in CCS 5.5?

    I have seen other threads with a similar error which was caused  by the version of the TI ARM compiler used in the project being older than the version used to compile the library. E.g. see  https://e2e.ti.com/support/embedded/tirtos/f/355/t/365540

    From using armofd, the driverlib.lib library in TivaWare 2.1.1.71 has been compiled with TI ARM compiler v5.1.8. I.e. upgrading the TI ARM compiler to version 5.1.8 or later may allow TivaWare 2.1.1.71 to be used.

    [I haven't tried different compiler versions to check for compatibility]

  • Chester Gillon said:
    I haven't tried different compiler versions to check for compatibility

    Imported the qs-rgb project for EK-TM4C123GXL from TivaWare 2.1.1.71 into CCS 6.0 and tried different installed TI ARM compiler versions:

    a) With v4.9.9 compiled and linked without error.

    b) With v5.0.8 compiled and linked without error.

    c) With 5.0.10 the linker crashed:

    Invoking: ARM Linker'

    "C:/ti_ccs6_0/ccsv6/tools/compiler/arm_5.0.10/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --define=UART_BUFFERED --diag_warning=225 --display_error_number --gen_func_subsections=on --ual -z --stack_size=2048 -m"qs-rgb_ccs.map" --heap_size=0 -i"C:/ti_ccs6_0/ccsv6/tools/compiler/arm_5.0.10/lib" -i"C:/ti_ccs6_0/ccsv6/tools/compiler/arm_5.0.10/include" --reread_libs --warn_sections --display_error_number --xml_link_info="qs-rgb_linkInfo.xml" --rom_model -o "qs-rgb.out" "./qs-rgb.obj" "./rgb_commands.obj" "./startup_ccs.obj" "./utils/cmdline.obj" "./utils/uartstdio.obj" "./utils/ustdlib.obj" "./drivers/buttons.obj" "./drivers/rgb.obj" "../qs-rgb_ccs.cmd" -l"libc.a" -l"C:/ti_ccs6_0/TivaWare_C_Series-2.1.1.71/examples/boards/ek-tm4c123gxl/qs-rgb/ccs/../../../../../driverlib/ccs/Debug/driverlib.lib" -l"C:/ti_ccs6_0/TivaWare_C_Series-2.1.1.71/examples/boards/ek-tm4c123gxl/qs-rgb/ccs/../../../../../usblib/ccs/Debug/usblib.lib"
    <Linking>

    INTERNAL ERROR: C:\ti_ccs6_0\ccsv6\tools\compiler\arm_5.0.10\bin\armlnk.exe experienced an unhandled exception


    This is a serious problem. Please contact Customer
    Support with this message and a copy of the input file
    and help us to continue to make the tools more robust.

    d) With v5.1.5 compiled and linked without error.

    i.e. while got a link failure with v5.0.10 this didn't repeat the original error.

  • Hi, I've update the "ARM Compiler Tools" from v5.1.1 to 5.1.12 (latest version), the error messages remain showing in the Console. It seems like there may exist other issues we haven't noticed yet.

    Anyway, Thanks for your kindly help ! I will keep using TIVAWare_ver1.1 for now as long as Graphics_LIB & NFC_LIB are not utilized.
    Regards, William
  • Hello William,

    That is not the correct method. The TivaWare software release must be seamless from 1.x ti 2.x versions. As we add features and new devices, you would be potentially be missing out on the upgrades and making migration even more difficult.

    Regards
    Amit
  • Wu William1 said:
    Hi, I've update the "ARM Compiler Tools" from v5.1.1 to 5.1.12 (latest version), the error messages remain showing in the Console. It seems like there may exist other issues we haven't noticed yet.

    Just to clarify, you still had the errors in the Console after:

    a) Installing ARM compiler tools v5.1.12 in CCS.

    b) In the project properties -> General -> Advanced Settings changed the compiler version from TI v5.1.1 to TI v.5.1.12, which sets the compiler version to be used for the project.

    [Since there can be multiple compiler versions installed in CCS, but the actual version used for each project can be different]

    c) Rebuilding the project.

  • Hi, Chester :

           After Compiler tools changed from v5.1.1 to v.5.1.12 in step(b), all the error messages are disappeared. Thanks for your helpful guidance during past 2 days, ^_^

                                                                              ~ Sincerely ~        William

    Chester Gillon said:
    Wu William1
    Hi, I've update the "ARM Compiler Tools" from v5.1.1 to 5.1.12 (latest version), the error messages remain showing in the Console. It seems like there may exist other issues we haven't noticed yet.

    Just to clarify, you still had the errors in the Console after:

    a) Installing ARM compiler tools v5.1.12 in CCS.

    b) In the project properties -> General -> Advanced Settings changed the compiler version from TI v5.1.1 to TI v.5.1.12, which sets the compiler version to be used for the project.

    [Since there can be multiple compiler versions installed in CCS, but the actual version used for each project can be different]

    c) Rebuilding the project.