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.

Compiler/TDA3XEVM: "Submitting an issue" PDK for TDA3xx-evm

Part Number: TDA3XEVM
Other Parts Discussed in Thread: SYSBIOS, MATHLIB

Tool/software: TI C/C++ Compiler

Hi,

I just rebuild pdk with "BOARD=tda3xx-evm" and I got an error. I used the newest version of TI Arm compiler, but it was not resolved.

[Dos command]

gmake vps_examples_m2mSimcopLdcVtnf BOARD=tda3xx-evm CORE=ipu1_0

[LOG]
C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\drivers\pdk_01_08_01_06\packag
es\ti\build>gmake vps_examples_m2mSimcopLdcVtnf BOARD=tda3xx-evm CORE=ipu1_0
gmake -C C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_
06/packages/ti/drv/vps/examples/iss/m2mSimcopLdcVtnf xdc_configuro
gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/
drivers/pdk_01_08_01_06/packages/ti/drv/vps/examples/iss/m2mSimcopLdcVtnf'
# Invoking configuro...
c:/ti/ccsv7/utils/cygwin/mkdir -p C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_compone
nts/drivers/pdk_01_08_01_06/packages/ti/binary
C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/windows/xdctools_3_32
_01_22_core/xs xdc.tools.configuro --generationOnly -o C:/PROCESSOR_SDK_VISION_0
3_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/binary/vps_examples
_m2mSimcopLdcVtnf/obj/tda3xx-evm/ipu1_0/release/vps_examples_m2mSimcopLdcVtnf_co
nfiguro -t ti.targets.arm.elf.M4 -p "ti.platforms.evmTDA3XX:IPU_1_0" \
-r release -b C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/d
rivers/pdk_01_08_01_06/packages/ti/build/tda3xx/config_tda3xx.bld --ol C:/PROCES
SOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/bin
ary/vps_examples_m2mSimcopLdcVtnf/obj/tda3xx-evm/ipu1_0/release/vps_examples_m2m
SimcopLdcVtnf_configuro/linker_mod.cmd m2mSimcopLdcVtnf.cfg
configuring m2mSimcopLdcVtnf.xem4 from package/cfg/m2mSimcopLdcVtnf_pem4.cfg ...

# !!! Current build BOARD is [tda3xx-evm] !!!
# !!! Current build SOC is [tda3xx] !!!
# !!! Current build CORE is [ipu1_0] !!!
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
Build of libraries failed.error: xdc.cfg.SourceDir: "C:/PROCESSOR_SDK_VISION_03_
02_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/packages/xdc/cf
g/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source librari
es failed: exit status = 2:

"C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/bios_6_46_04_53/pack
ages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M", ERROR! at line 1937339231:

[E1500]
file access error: failed to open "m3_Hwi_asm_switch.obj" for
writing

INTERNAL ERROR: C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\cg_tools\windo
ws\ti-cgt-arm_16.9.2.LTS\bin\armasm.exe experienced a segmentation fault
while processing file C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_c
omponents/os_tools/bios_6_46_04_53/packages/ti/sysbios/family/arm/m3/Hwi_asm_swi
tch.sv7M line 1937339231

This is caused by a defect in the compiler itself. TI Customer
Support may be able to suggest a workaround to avoid this.

Upgrading to the newest version of the compiler may fix this problem.

Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler". See the link titled
"Submitting an issue". Include this ENTIRE error message and a
copy of the .pp file created when option --preproc_with_comment
(-ppc) is used.

gmake[1]: *** [m3_Hwi_asm_switch.obj] Error 1
gmake: *** [C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_
01_06/packages/ti/binary/vps_examples_m2mSimcopLdcVtnf/obj/tda3xx-evm/ipu1_0/rel
ease/vps_examples_m2mSimcopLdcVtnf_configuro/package/cfg/m2mSimcopLdcVtnf_pem4.s
rc/sysbios/sysbios.aem4] Error 2

js: "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/windows/xdctools
_3_32_01_22_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration faile
d!
xdctools_3_32_01_22_core\gmake.exe: *** [package/cfg/m2mSimcopLdcVtnf_pem4.xdl]
Error 1
xdctools_3_32_01_22_core\gmake.exe: *** Deleting file `package/cfg/m2mSimcopLdcV
tnf_pem4.xdl'
xdctools_3_32_01_22_core\gmake.exe: *** [package/cfg/m2mSimcopLdcVtnf_pem4.xdl]
Deleting file `package/cfg/m2mSimcopLdcVtnf_pem4.h'
xdctools_3_32_01_22_core\gmake.exe: *** [package/cfg/m2mSimcopLdcVtnf_pem4.xdl]
Deleting file `package/cfg/m2mSimcopLdcVtnf_pem4.c'
js: "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/windows/xdctools
_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configur
o: configuration failed due to earlier errors (status = 2); 'C:/PROCESSOR_SDK_VI
SION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/binary/vps_ex
amples_m2mSimcopLdcVtnf/obj/tda3xx-evm/ipu1_0/release/vps_examples_m2mSimcopLdcV
tnf_configuro/linker_mod.cmd' deleted.
gmake[1]: *** [C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_
08_01_06/packages/ti/binary/vps_examples_m2mSimcopLdcVtnf/obj/tda3xx-evm/ipu1_0/
release/vps_examples_m2mSimcopLdcVtnf_configuro/package/cfg/m2mSimcopLdcVtnf_pem
4.c] Error 1
gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/d
rivers/pdk_01_08_01_06/packages/ti/drv/vps/examples/iss/m2mSimcopLdcVtnf'
gmake: *** [vps_examples_m2mSimcopLdcVtnf] Error 2

Regards,
Kenshow

  • Hi Kenshow,

    can you check if any of the suggestions here can help you:
    processors.wiki.ti.com/.../Processor_SDK_RTOS:_TI_RTOS_Tips_And_Tricks

    Also can you try using git bash instead of cmd?

    Regards,
    Yordan
  • Hi Yordan,

    No.
    This PDK is included Processor SDK Vision 3.02. I used the compilers, Bios and xdctools included in the SDK.
    I tried windows7 and 10, but it is same result.

    I am concerned about the following part of Log. What dose it mean? Could you advice to resolve this issue.
    ----
    Build of libraries failed.error: xdc.cfg.SourceDir: "C:/PROCESSOR_SDK_VISION_03_
    02_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/packages/xdc/cf
    g/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source librari
    es failed: exit status = 2:

    "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/bios_6_46_04_53/pack
    ages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M", ERROR! at line 1937339231:
    ---
    Regards,
    Kenshow
  • This looks like permission issue with C:\ in windows as the make will create output files in C:\. Can you check if you have full permission in C:\?
    Also try to run as an administrator or move the installation to D:\ and try.
  • Hi Sivaraj,

    I have full permission in C:\ . I also tried on Dos command window as administrator. However, it was not solved.
    Rebuilding of any other libraries such as eve_ws and mathlib_c66 in sdk are OK. Also, examples of scl, drv_stw and so on without a part of vps_example in PDK are OK.

    Regards,
    Kenshow
  • Hi Sivaraj,

    Could you check in your side using the command, "gmake vps_examples_m2mSimcopLdcVtnf BOARD=tda3xx-evm CORE=ipu1_0". I would like to know if the same problem happens in your side.
    This PDK is released on PSDKV 3.02. I have not modified any source codes, just replaced proper path of the compilers in a Rules.make file, C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\drivers\pdk_01_08_01_06\packages\ti\build

    Regards,
    Kenshow
  • Hello Kenshow,

    We are trying to reproduce issue on our set up. Will keep you updated.
  • Hi Prasad,

    Do you have any update in this issue?

    Regards,
    Kenshow
  • Hello Kenshow,

    I am able to build on windows PC, I tried the same build command you mentioned.

    Regards,
    Prasad

  • Hi Kenshow,

    Which gmake are you using to build? Can you use the one provided as part of CCS and check?
    Also what is the version of gmake you are using?
    Can you use a git bash prompt or the cygwin prompt insted of windows command prompt and check if you still see the issue?

    Regards,
    Prasad
  • Hi Prasad,

    I am still seeing the issue.

    >Which gmake are you using to build?

    It is included in PSDK3.02. It's in the xdctools ver3.32.01.22. The folder is as follows:

    C:\PROCESSOR_SDK_VISION_03_02_00_00\ti_components\os_tools\windows\xdctools_3_32_01_22_core

    I also tried other xdctools.

    C:\ti\xdctools_3_50_04_43_core
    C:\ti\xdctools_3_32_02_25_core

    >Can you use the one provided as part of CCS and check?

    No, I can't.

    >Also what is the version of gmake you are using?

    GNU Make 3.81

    >Can you use a git bash prompt or the cygwin prompt insted of windows command prompt and check if you still see the issue?

    I tried a git bash prompt. However, it is not successfully. The log is as follows:

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    134546@706B42 MINGW64 /c/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/build

    $ gmake vps_examples_m2mSimcopLdcVtnf BOARD=tda3xx-evm CORE=ipu1_0
    gmake -C C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/drv/vps/examples/iss/m2mSimcopLdcVtnf xdc_configuro
    gmake[1]: Entering directory `C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/drv/vps/examples/iss/m2mSimcopLdcVtnf'
    # Invoking configuro...
    c:/ti/ccsv7/utils/cygwin/mkdir -p C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/binary
    C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/xs xdc.tools.configuro --generationOnly -o C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/binary/vps_examples_m2mSimcopLdcVtnf/obj/tda3xx-evm/ipu1_0/release/vps_examples_m2mSimcopLdcVtnf_configuro -t ti.targets.arm.elf.M4 -p "ti.platforms.evmTDA3XX:IPU_1_0" \
    -r release -b C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/build/tda3xx/config_tda3xx.bld --ol C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/binary/vps_examples_m2mSimcopLdcVtnf/obj/tda3xx-evm/ipu1_0/release/vps_examples_m2mSimcopLdcVtnf_configuro/linker_mod.cmd m2mSimcopLdcVtnf.cfg
    configuring m2mSimcopLdcVtnf.xem4 from package/cfg/m2mSimcopLdcVtnf_pem4.cfg ...
    # !!! Current build BOARD is [tda3xx-evm] !!!
    # !!! Current build SOC is [tda3xx] !!!
    # !!! Current build CORE is [ipu1_0] !!!
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    Build of libraries failed.
    error: xdc.cfg.SourceDir: "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:
    "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/bios_6_46_04_53/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M", ERROR! at line 5823728:
    [E1500]
    file access error: failed to open "m3_Hwi_asm_switch.obj" for
    writing
    (null)
    "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/bios_6_46_04_53/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M", ERROR! :
    [E1000]
    Failed to write object file : m3_Hwi_asm_switch.obj
    gmake[1]: *** [m3_Hwi_asm_switch.obj] Error 1
    gmake: *** [C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/binary/vps_examples_m2mSimcopLdcVtnf/obj/tda3xx-evm/ipu1_0/release/vps_examples_m2mSimcopLdcVtnf_configuro/package/cfg/m2mSimcopLdcVtnf_pem4.src/sysbios/sysbios.aem4] Error 2

    js: "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    xdctools_3_32_01_22_core\gmake.exe: *** [package/cfg/m2mSimcopLdcVtnf_pem4.xdl] Error 1
    xdctools_3_32_01_22_core\gmake.exe: *** Deleting file `package/cfg/m2mSimcopLdcVtnf_pem4.xdl'
    xdctools_3_32_01_22_core\gmake.exe: *** [package/cfg/m2mSimcopLdcVtnf_pem4.xdl] Deleting file `package/cfg/m2mSimcopLdcVtnf_pem4.h'
    xdctools_3_32_01_22_core\gmake.exe: *** [package/cfg/m2mSimcopLdcVtnf_pem4.xdl] Deleting file `package/cfg/m2mSimcopLdcVtnf_pem4.c'
    js: "C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/windows/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/binary/vps_examples_m2mSimcopLdcVtnf/obj/tda3xx-evm/ipu1_0/release/vps_examples_m2mSimcopLdcVtnf_configuro/linker_mod.cmd' deleted.
    gmake[1]: *** [C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/binary/vps_examples_m2mSimcopLdcVtnf/obj/tda3xx-evm/ipu1_0/release/vps_examples_m2mSimcopLdcVtnf_configuro/package/cfg/m2mSimcopLdcVtnf_pem4.c] Error 1
    gmake[1]: Leaving directory `C:/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/drv/vps/examples/iss/m2mSimcopLdcVtnf'
    gmake: *** [vps_examples_m2mSimcopLdcVtnf] Error 2

    134546@706B42 MINGW64 /c/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/drivers/pdk_01_08_01_06/packages/ti/build

    ~~~~~~~~~~~~~~~~~~~~~~~~

    Regards,
    Kenshow

  • Hi Kenshow,

    I tried building with the XDC make file also at my end and I could build.

    Looks like it is a permission issue.

    1. Can you open the command prompt as aministrator and try build?

    2. Can you use some other driver other than c and try build?

    Regards,
    Prasad

  • Hi Prasad,

    Could you send me an executable file of vps_examples_m2mSimcopLdcVtnf.
    I want to check this example as soon as possible.


    > 1. Can you open the command prompt as administrator and try build?
    Yes, But it was not improved.

    >2. Can you use some other driver other than c and try build?
    No, I'll try and report.

    Regards,
    Kenshow
  • Hi Prasad,

    Can you attach an executable file of vps_examples_m2mSimcopLdcVtnf?
    I will check the sample on my CCS.

    Regards,
    Kenshow
  • Hi Kenshow,

    I have built locally and attached the executable.

    Regards,
    Prasad

    vps_examples_m2mSimcopLdcVtnf_ipu1_0_release.123

  • Hello Prasad,

    I could confirm the sample.
    I could rebuild that I changed the drive c: to another drive f:.

    Thanks a lots.

    Regards,
    Kenshow