Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI, too, have had a similar issue recently. I have yet to determine the cause. It seems, in my particular code, that once a certain "threshold" is crossed, whether from nested "ifs", preprocessor directives, etc., that elf2flt cannot complete successfully.
I see varying numbers of "Err: unexpected reloc type R_NIOS2_CJMP(19)" and "Err: unexpected reloc type R_NIOS2_UJMP(18)" errors based on the compiler optimization level that I set. I assume this is because elf2flt is maybe processing post-compiled code (binary)? I am unfamiliar with the inner workings of elf2flt, and even its purpose for that matter, so I may be stating the obvious. Does anyone have any insight into solving this problem? It may require me to include more information on my build, but I am unsure at this point what information might be relevant. Thanks, Jason