Hi, all, when I complie my project (the code size is very large), I found this problem, is it CCS's problem or my programm?
the version of CCS i used is CCS5.1.0, the device is DM6467. in my project there are many libs, I am sure my project is ok, I can build it successfully,when i remove the libs from project or use a few libs. the projec use the DSP/BIOS.
map file:
MEMORY CONFIGURATION
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- ---------- ---------- -------- ------------
ARM_RAM 10010000 00008000 00000000 00008000 RWIX
IRAM 11818000 00020000 00003404 0001cbfc RWIX
CACHE_L1P 11e00000 00008000 00000000 00008000 RWIX
CACHE_L1D 11f00000 00008000 00000000 00008000 RWIX
DDR2 80000000 10000000 003ce77e 0fc31882 RWIX
.....
cmd file:
/* MODULE MEM */
-stack 0xffff
MEMORY {
CACHE_L1P : origin = 0x11e00000, len = 0x8000
CACHE_L1D : origin = 0x11f00000, len = 0x8000
DDR2 : origin = 0x80000000, len = 0x10000000
ARM_RAM : origin = 0x10010000, len = 0x8000
IRAM : origin = 0x11818000, len = 0x20000
}
....
=====================================================================================
bellow are the ccs's console ouput:
.......
warning #17009-D: relocation type is static base-relative, but references
symbol
"_npos__Q2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std1
8allocator__tm__2_c" defined in section ".const"; references to section
".const" are not relative to any static base, so this relocation cannot be
performed (type = 'R_C60BASE' (80), file =
"D:/DUANLIAN/DSPProject20121026(DSP)/DspTest/../C6000Lib/Release/TTDataCore_
r.lib<TTDetectionProfile.obj>", offset = 0x000007c4, section = ".text")
warning #17009-D: relocation type is static base-relative, but references
symbol
"_npos__Q2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std1
8allocator__tm__2_c" defined in section ".const"; references to section
".const" are not relative to any static base, so this relocation cannot be
performed (type = 'R_C60BASE' (80), file =
"D:/DUANLIAN/DSPProject20121026(DSP)/DspTest/../C6000Lib/Release/TTDataCore_
r.lib<TTDetectionProfile.obj>", offset = 0x00000b44, section = ".text")
warning #17009-D: relocation type is static base-relative, but references
symbol
"_npos__Q2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std1
8allocator__tm__2_c" defined in section ".const"; references to section
".const" are not relative to any static base, so this relocation cannot be
performed (type = 'R_C60BASE' (80), file =
"D:/DUANLIAN/DSPProject20121026(DSP)/DspTest/../C6000Lib/Release/TTDataCore_
r.lib<TTDetectionProfilesEnable.obj>", offset = 0x0000029c, section =
".text")
warning #17009-D: relocation type is static base-relative, but references
symbol
"_npos__Q2_3std78basic_string__tm__58_cQ2_3std20char_traits__tm__2_cQ2_3std1
8allocator__tm__2_c" defined in section ".const"; references to section
".const" are not relative to any static base, so this relocation cannot be
performed (type = 'R_C60BASE' (80), file =
"D:/DUANLIAN/DSPProject20121026(DSP)/DspTest/../C6000Lib/Release/TTDataCore_
r.lib<TTDetectionProfilesEnable.obj>", offset = 0x00001008, section =
".text")
warning #17009-D: relocation type is static base-relative, but references
symbol "__Raise_handler__3std" defined in section ".far"; references to
section ".far" are not relative to any static base, so this relocation
cannot be performed (type = 'R_C60BASE' (80), file =
"D:/DUANLIAN/DSPProject20121026(DSP)/DspTest/../C6000Lib/Release/TTDataCore_
r.lib<TTDetectionProfilesEnable.obj>", offset = 0x00001028, section =
".text")
INTERNAL ERROR: D:\ti\ccsv5\tools\compiler\c6000\bin\lnk6x.exe failed to allocate memory
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.