Resolve " relocation truncated to fit" errors by dynamically allocating large non variable sized arrays with Simulink Coder
Show older comments
I have a Simulink model with a MATLAB function block that operates on a very large array. When I build my model and try to compile an executable with the MinGW compiler, I get errors like that shown below:
ERROR: modelName.obj:modelName.c:(.text+0x24): relocation truncated to fit: R_X86_64_PC32 against symbol ‘modelName_DW’ defined in COMMON section in modelName.obj
Accepted Answer
More Answers (0)
Categories
Find more on Texas Instruments C2000 Processors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!