Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThe linker is complaining that it cannot link the supplied objects using the constraints of the supplied 'linker script' file.
The overlap with the '.exceptions' section might be a linker script fubar! Since it seems to be placing '.exceptions' and '.rodata' at the same address - which is probably the end of '.code' (it would be for a 'normal' link - but the linker script might be doing something else when linking for EPCS. I'm not sure what goes in '.expections' - might be C++ exception related (IMHO these are best avoided!) It might be that these errors are side effects of the initial ones. However it is difficult to very these are not simple 'program too large' errors without knowing the sizes of the sections within the object files being linked, and the addresses they are being linked to. The easiest way to find the sizes is to persuade the link to suceed (by removing the size constraints and defining appropriate base addresses to stop overlaps) and then looking at the linkers .map output file. If you are using the IDE tools to auto-generate the linker scripts this is probably all hard and difficult!