Hi there, first time poster.
I'm working on the TCI6486, and got a working and running project compiled and linked with CGT 6.0.8.
I need to upgrade to at least 6.1.12 in order to use the latest EDMA driver (version 01.11.01.04 - the first to support 6486), and I tried with 6.1.12, 6.1.14, 7.0.1 and 7.03 and all come up with the same issue:
I get alot of new warnings I never got before, and the linker seems to be stuck.
After a long while (~12 hours) the linker finishes the job but I get a warning that the out file is unusable (and it really is...). the warning reads:
warning: output file ... cannot be loaded and run on a target system.
The new warnings are kind of strange too. here is an example of the warning prior to getting stuck:
"src/stack/res/timer.c", line 161 (approximate): warning: relocation from
function "TimerListRemove" to symbol "_ptFirst" overflowed; the 2-bit
relocated address 0xe is too large to encode in the 15-bit unsigned field
(type = 'R_C60BASE' (80), file = "..\Obj\stack.lib<timer.o64P>", offset =
0x000001a4, section = ".text")
And here are some warnings that appear 12 hours later:
warning: C:\DOCUME~1\giladb\LOCALS~1\Temp\041802: DW_CFA_def_cfa_offset_sf is
DWARF 3 specific; this DWARF information should only contain version 2
instructions
warning: C:\DOCUME~1\giladb\LOCALS~1\Temp\041802: unrecognized call frame
instruction 0x1a; cannot read remainder of this section (.debug_frame +
0x45e6)
I'm not sure why 0xe is too large to encode in 15 bits really, and most of all, why a project that was working perfectly fine is suddenly dead in the water. Are there any new flags I am missing that I was supposed to set?
Thanks in advance.