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

Ketan Maheshwari ketan at mcs.anl.gov
Thu Jul 31 16:25:38 CDT 2014


Two things:

1. The nab module was not being compiled with -fPIC.
2. I did not use the object files from this module as they end up in a
subdir and I was just saying objfiles/*.o instead of objfiles/*.o
objfiles/nab/*.o.


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

>  What was the diagnosis in the end?
>
>
> On Thu, Jul 31, 2014 at 3:51 PM, Justin M Wozniak <wozniak at mcs.anl.gov>
> wrote:
>
>>
>> Oh good.
>>
>> On 07/31/2014 03:49 PM, Ketan Maheshwari wrote:
>>
>> This has worked!
>>
>>  Thanks,
>> Ketan
>>
>>
>> On Thu, Jul 31, 2014 at 3:41 PM, Maheshwari, Ketan C. <ketan at mcs.anl.gov>
>> wrote:
>>
>>>  Fixed now.
>>>
>>>
>>> On Thu, Jul 31, 2014 at 3:37 PM, Wozniak, Justin M. <wozniak at mcs.anl.gov
>>> > wrote:
>>>
>>>> On 07/31/2014 03:33 PM, Ketan Maheshwari wrote:
>>>> >
>>>> > The make output shows things were compiled with
>>>> > -fPIC: /homes/ketan/dock6/install/makedock.out
>>>>
>>>>  I get:
>>>>
>>>> /usr/bin/ld: objfiles/molio.o: relocation R_X86_64_32 against
>>>> `.rodata.str1.1' can not be used when making a shared object; recompile
>>>> with -fPIC
>>>> objfiles/molio.o: could not read symbols: Bad value
>>>>
>>>>  makedock.out contains:
>>>>
>>>> gcc -c -O3 -D_ANSI_SOURCE  molio.c
>>>>
>>>> --
>>>> Justin M Wozniak
>>>>
>>>>
>>>
>>
>>
>>   --
>> Justin M Wozniak
>>
>>
>> _______________________________________________
>> ExM-user mailing list
>> ExM-user at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/exm-user
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20140731/b62d5c61/attachment.html>


More information about the ExM-user mailing list