AnsweredAssumed Answered

BF561 -- Error li1152

Question asked by TRON on Feb 7, 2011
Latest reply on Mar 24, 2011 by CraigG

I've been trying to move more and more code to be shared for use by both cores instead of either CoreA or CoreB.

I've run into a problem where this linker error message is being reported by files that make use of:

file_attr("sharing=MustShare")

 

Build error:

[Error li1152]  The following input file(s) must be unique across link:
    sml3.dlb[FileSysMan.doj]
    mapped in:
              common memory '.\Debug/L2_and_L3_common_memory.sm' (2 instances)
    sml3.dlb[utils.doj]
    mapped in:
              common memory '.\Debug/L2_and_L3_common_memory.sm' (2 instances)

Linker finished with 1 error and 1 warning
cc3089: fatal error: Link failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.

 

 

I believe the error message means that my source modules utils and FileSysMan contain function calls to functions that are not shared, meaning they're core specific (or functions that reside in core memory region). My problem is I'm having trouble figuring out what function calls are causing this. Is there anyway I can force the linker to tell me what function calls are being made that are responsible for the error? Because right now this error alone isn't very helpful at all.

Outcomes