Hi ,
I am using the C6678 evm for running the H264 HP Encoder.
CCS v5.3 on linux ubuntu 12.04 lts.
I tried to run the H264 HP encoder in debug mode I got the output.
But when I tried to run in release mode I am getting different type of errors -
INTERNAL ERROR: /opt/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/lnk6x aborted
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.
I didn't include any linker cmd file but it is showing the errors in linker.cmd file which is present in debug folder .
----------------------------- ......
Building target: h264hpvenc_ti_c66x.out
Invoking: C6000 Linker
"/opt/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6600 --abi=eabi -Ooff -g --define="C6600" --define=xdc_target_types__=ti/targets/std.h --define=xdc_target_name__=C66 --display_error_number --diag_warning=225 -z -m"h264hpvenc_ti_c66x.map" -i"/opt/ti/ccsv5/tools/compiler/c6000_7.4.1/lib" -i"/opt/ti/ccsv5/tools/compiler/c6000_7.4.1/include" -i"/opt/ti/Codecs/C66x_h264hpvenc_01_00_00_01_ELF/packages/ti/sdo/codecs/h264hpvenc/Lib" --reread_libs --define=6600 --warn_sections --rom_model -o "h264hpvenc_ti_c66x.out" -l"./configPkg/linker.cmd" "./C66X/h264hpvenc_ti_shmemmanager.obj" "./C66X/h264hpvenc_ti_mcIpc.obj" "./C66X/h264hpvenc_ti_edmaConfig.obj" "./C66X/h264hpvenc_ti_GateMPBarrier.obj" "./Common/h264hpvenc_ti_testwrapper.obj" "./Common/h264hpvenc_ti_testapp.obj" "./Common/h264hpvenc_ti_mc_api.obj" "./Common/h264hpvenc_ti_config.obj" "./Common/h264hpvenc_ti_buffermanager.obj" "./Common/alg_malloc.obj" "./Common/alg_create.obj" -lh264hpvenc_ti.le66 -l"libc.a"
<Linking>
"./configPkg/linker.cmd", line 346: warning #10097: memory range not found:
ERAM on page 0
"./configPkg/linker.cmd", line 346: error #10265: no valid memory range(null)
available for placement of ".external_cached_mem"
"./configPkg/linker.cmd", line 346: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section
".external_cached_mem" size 0x19012507
"./configPkg/linker.cmd", line 341: warning #10097: memory range not found:
ERAM on page 0
"./configPkg/linker.cmd", line 341: error #10265: no valid memory range(null)
available for placement of ".inputbuffer_mem"
"./configPkg/linker.cmd", line 341: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section
".inputbuffer_mem" size 0x23dc120
"./configPkg/linker.cmd", line 347: warning #10097: memory range not found:
ERAM on page 0
"./configPkg/linker.cmd", line 347: error #10265: no valid memory range(null)
available for placement of ".shared_mem_DDR2"
"./configPkg/linker.cmd", line 347: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section
".shared_mem_DDR2" size 0x2000000
"./configPkg/linker.cmd", line 340: warning #10097: memory range not found:
ERAM on page 0
"./configPkg/linker.cmd", line 340: error #10265: no valid memory range(null)
available for placement of ".outPutBuffMem"
"./configPkg/linker.cmd", line 340: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section
".outPutBuffMem" size 0xc00000
"./configPkg/linker.cmd", line 324: warning #10097: memory range not found:
ERAM on page 0
"./configPkg/linker.cmd", line 324: error #10265: no valid memory range(null)
available for placement of ".const"
"./configPkg/linker.cmd", line 324: error #10099-D: program will not fit into
available memory. placement with alignment fails for section ".const" size
0xdf36
"./configPkg/linker.cmd", line 337: warning #10097: memory range not found:
ERAM on page 0
"./configPkg/linker.cmd", line 337: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section ".tables"
size 0x0
"./configPkg/linker.cmd", line 342: warning #10097: memory range not found:
ERAM on page 0
"./configPkg/linker.cmd", line 342: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section
".output_buffer" size 0x0
"./configPkg/linker.cmd", line 343: warning #10097: memory range not found:
ERAM on page 0
"./configPkg/linker.cmd", line 343: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section ".ERAM"
size 0x0
"./configPkg/linker.cmd", line 344: warning #10097: memory range not found:
ERAM on page 0
"./configPkg/linker.cmd", line 344: error #10099-D: program will not fit into
available memory. run placement with alignment fails for section
".extMem_Pool" size 0x0
"./configPkg/linker.cmd", line 350: warning #10097: memory range not found:
ERAM on page 0
"./configPkg/linker.cmd", line 350: error #10099-D: program will not fit into
available memory. placement with alignment fails for section "xdc.meta"
size 0x138
ELFLNK/build.c:2515:internal fatal error #10251:
("xdc.meta:h264hpvenc_pe66.oe66")
INTERNAL ERROR: /opt/ti/ccsv5/tools/compiler/c6000_7.4.1/bin/lnk6x aborted
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.
>> Compilation failure
gmake: *** [h264hpvenc_ti_c66x.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
............................
I made the required modifications before running in release mode,(like set as BulidConfiguration->SetActive->Release and in RTSC configuration also)
Though doing all this required changes, I am getting this above errors.
Please tell me the solution for this .
-Studinstru