Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/AM5728: Random error compiling source code for the C66 on Sitara for no apparent reasons.

$
0
0

Part Number:AM5728

Tool/software: TI C/C++ Compiler

Hi, 

I am having a similar problem where our DSP Code would randomly give errors for no apparent reason. Rebuilding resolves the problem but it make us waste a lot of time as it happen more and more frequently and we have to restart our release build in order to get it right. 

Here is the type of errors that we see. 

Compilation triggered by a bitbake recipe

Building file: /releases/neptune/NEP-1.16.0.0/common.hg/yocto/ti/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-clearcom-linux-gnueabi/ivcdsp/0.0.1-r2.1/dsp.hg/common/ipc/ipcserver.c
| Invoking: C6000 Compiler
| "/opt/ti-rtos/am57xx/2.0/ti-cgt-c6000_8.1.3/bin/cl6x" -mv6600 -O3 --opt_for_speed=5 --include_path="/opt/ti-rtos/am57xx/2.0/ti-cgt-c6000_8.1.3/include" --include_path="/opt/ti-rtos/am57xx/2.0/mathlib_c66x_3_1_1_0/packages" --include_path="/opt/ti-rtos/am57xx/2.0/dsplib_c66x_3_4_0_0/packages" --include_path="/releases/neptune/NEP-1.16.0.0/common.hg/yocto/ti/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-clearcom-linux-gnueabi/ivcdsp/0.0.1-r2.1/dsp.hg/jupiter/common" --include_path="/releases/neptune/NEP-1.16.0.0/common.hg/yocto/ti/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-clearcom-linux-gnueabi/ivcdsp/0.0.1-r2.1/dsp.hg/host/mrdspaccess/inc" --include_path="/releases/neptune/NEP-1.16.0.0/common.hg/yocto/ti/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-clearcom-linux-gnueabi/ivcdsp/0.0.1-r2.1/dsp.hg/mrdspapp/src/include" --include_path="/releases/neptune/NEP-1.16.0.0/common.hg/yocto/ti/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-clearcom-linux-gnueabi/ivcdsp/0.0.1-r2.1/dsp.hg/mrdspapp/src/ti/opus" --include_path="/releases/neptune/NEP-1.16.0.0/common.hg/yocto/ti/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-clearcom-linux-gnueabi/ivcdsp/0.0.1-r2.1/dsp.hg/mrdspapp/src/ti/g722" --define=am5726 --define=IVCNEXTGEN --define=SOC_AM572x --define=VAYU_DSP_1 --define=core1 --diag_wrap=off --diag_warning=225 --emit_warnings_as_errors --display_error_number --gen_func_subsections=on --no_bad_aliases --debug_software_pipeline --fp_mode=relaxed --preproc_with_compile --preproc_dependency="ipc-common/ipc/ipcserver.d" --obj_directory="ipc-common/ipc" --cmd_file="configPkg/compiler.opt" "/releases/neptune/NEP-1.16.0.0/common.hg/yocto/ti/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-clearcom-linux-gnueabi/ivcdsp/0.0.1-r2.1/dsp.hg/common/ipc/ipcserver.c"

Get this

"ipcserver.asm", ERROR!   at line 30: [W0003] This file contains DWARF
|                                               directives that can only be used
|                                               in unmodified assembly files
|                                               generated by the compiler;
|                                               ignoring all DWARF directives
| 	$C$DW$CU	.dwtag  DW_TAG_compile_unit
| 
| "ipcserver.asm", ERROR!   at line 355: [E0003] Unexpected trailing operand(s)
| 		.sect	".resource_table", RW
| 
| "ipcserver.asm", ERROR!   at line 1111: [E0900] Common symbols require ELF
|                                                 object format
| 		.nearcommon	dspRegisters,4,4
| 

...

INTERNAL ERROR: /opt/ti-rtos/am57xx/2.0/ti-cgt-c6000_8.1.3/bin/asm6x experienced a segmentation fault
|                   while processing section .text:jupiter_user_task file ipcserver.asm line 1263
| 
| 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.
| 


Viewing all articles
Browse latest Browse all 262198

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>