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.

lnke674 gets killed without any output

Other Parts Discussed in Thread: SYSBIOS

Hi,

I'm running xs with the following call:

/opt/ti/xdctools_3_22_04_46/xs --xdcpath="/opt/ti/xdctools_3_22_04_46/../bios_6_32_05_54/packages;/opt/ti/xdctools_3_22_04_46/../ipc_1_23_05_40/packages" xdc.tools.configuro -o /[build-path]/tmp_config -t ti.targets.elf.C674 -p ti.platforms.generic:DSP -b [bld-file] -r whole_program -c /opt/ti/ccsv5/tools/compiler/c6000 [cfg-file]

This is the ouput I am getting:

making package.mak (because of package.bld) ...
generating interfaces for package tmp_config (because package/package.xdc.inc is older than package.xdc) ...
configuring [filename].pe674 from package/cfg/[cfg-file] ...
warning: ti.platforms.generic.Platform: "./package/cfg/[cfg-file]", line 180: (xdc.platform.IPlatform.Instance)ti.platforms.generic.Platform.Instance#0 DSP: The parameter 'l1DMode' is passed to this platform instance through Build.platformTable, but the instance does not have a configuration parameter with that name.
warning: ti.platforms.generic.Platform: "./package/cfg/[cfg-file]", line 180: (xdc.platform.IPlatform.Instance)ti.platforms.generic.Platform.Instance#0 DSP: The parameter 'l1PMode' is passed to this platform instance through Build.platformTable, but the instance does not have a configuration parameter with that name.
warning: ti.platforms.generic.Platform: "./package/cfg/[cfg-file]", line 180: (xdc.platform.IPlatform.Instance)ti.platforms.generic.Platform.Instance#0 DSP: The parameter 'l2Mode' is passed to this platform instance through Build.platformTable, but the instance does not have a configuration parameter with that name.
warning: ti.sysbios.BIOS: "/opt/ti/bios_6_32_05_54/packages/ti/sysbios/BIOS.xs", line 412: Profile Deprecation Warning ti.sysbios.BIOS: The 'whole_program' build profile will not be supported in future releases of SYS/BIOS.  Use 'release' or 'debug' profiles together with the 'BIOS.libType' configuration parameter to specify your preferred library.  See the compatibility section of your SYS/BIOS release notes for more information.
cle674 package/cfg/[filename].c ...
lnke674 [filename].pe674 ...
Killed

Since lnke674 does not give any output I'm kind of lost. Can anybody point me in the right direction? Why does lnke674 get killed. Is there any way I can get a more detailed output out of lnke674?

  • Martin,
    can you post the content of your [bld-file], or at least the part of it that defined Build.platformTable entry for 'ti.platforms.generic:DSP'? The warnings you are getting are caused by a bug that we fixed, but haven't yet released an XDCtools version with the fix. There could be a workaround that would fix the underlying problem.

    I don't know if lnke674 failed because of the same problem. Can you add -v flag to your configuro command line, so I can see the whole link command line?

    Thanks,
    Sasha

  • I found the cause of all that trouble. It had nothing to do with my bld file. In fact, My (virtual) Linux machine had only 512MB of RAM and no swap. After adding 1GB of swap space, everything went fine. Thanks for your reply though.

     

    Regards,

    Martin