On Dec 16, 2011, at 10:56 AM, Nathan T. Hjelm wrote:
>> Why do the symbols need to be weak? Remember that not all platforms
>> support weak symbols.
> I don't know. The way we currently pull MPIR symbols into orterun breaks
> with some configuration. If we don't pull the symbols in then launchmon
> can't attach to orterun. Moving the symbols to weak fixes the problem
> Ashley is seeing without breaking launchmon.
We could pull them in the same way MPIR_Breakpoint is pulled in (i.e., via function call, not a symbol dereference -- which is not always enough for some linkers).
> What platforms configurations do not support weak?
>> The symbols don't need to be in the executable itself, right? It should
>> be fine for them to be a library (e.g., libopen-rte.so/a).
> In theory, yes, but in practice, no. To support launchmon orterun needs to
> "define" MPIR symbols. At the moment they are in the wrong section (B) and
> moving them to section V (when it is supported) should be better.
What is launchmon doing to find the symbols? I.e., why can't it find them in the BSS? If gdb and others can find them there, why can't launchmon? Does a dlsym not find these symbols?
For corporate legal information go to: