[ExM Users] debugging suggestions for non-static main-wrap segfault

Tim Armstrong tim.g.armstrong at gmail.com
Thu Jul 31 15:29:40 CDT 2014


Being compiled without -fPIC would explain it jumping to an invalid memory
address, I'm would have thought that the linker would have kicked up a huge
fuss though if you tried to link non-fPIC stuff into a shared library

- Tim


On Thu, Jul 31, 2014 at 3:27 PM, Tim Armstrong <tim.g.armstrong at gmail.com>
wrote:

> It seems unlikely that there will be a name collision between Tcl and
> Dock: nm --defined-only -g lib/libtcl8.6.so reveals that all Tcl symbols
> are prefixed with Tcl.
>
> - TIm
>
>
> On Thu, Jul 31, 2014 at 3:20 PM, Ketan Maheshwari <ketan at mcs.anl.gov>
> wrote:
>
>> No. Doing shared lib approach as in mockdock.
>>
>>
>>  On Thu, Jul 31, 2014 at 3:19 PM, Wozniak, Justin M. <wozniak at mcs.anl.gov
>> > wrote:
>>
>>>
>>> Are you trying to build a static executable?
>>>
>>> On 07/31/2014 03:15 PM, Ketan Maheshwari wrote:
>>>
>>> These are the .o files I bring in from the application. I will check
>>> them in.
>>>
>>>
>>> On Thu, Jul 31, 2014 at 3:13 PM, Wozniak, Justin M. <wozniak at mcs.anl.gov
>>> > wrote:
>>>
>>>>  On 07/31/2014 02:58 PM, Ketan Maheshwari wrote:
>>>>
>>>>
>>>>
>>>> What are the objfiles?
>>>>
>>>> thrash: ~/exm/apps/dock> ./setup.sh
>>>> WARN  user-code.swift:13:4: Variable usage warning. Variable x is not
>>>> used
>>>> g++: error: objfiles/*.o: No such file or directory
>>>>
>>>>
>>>> --
>>>> Justin M Wozniak
>>>>
>>>>
>>>
>>>
>>> --
>>> Justin M Wozniak
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20140731/744411c6/attachment.html>


More information about the ExM-user mailing list