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

Ketan Maheshwari ketan at mcs.anl.gov
Thu Jul 31 15:33:08 CDT 2014


Tried again. On MCS network, it is:

/homes/ketan/dock6

The make output shows things were compiled with
-fPIC: /homes/ketan/dock6/install/makedock.out


On Thu, Jul 31, 2014 at 3:25 PM, Wozniak, Justin M. <wozniak at mcs.anl.gov>
wrote:

>
> I don't think dock6 was compiled with -fPIC:
>
> /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
>
>
> On 07/31/2014 03:20 PM, Ketan Maheshwari 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
>>
>>
>
>
> --
> Justin M Wozniak
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20140731/ecd9970b/attachment.html>


More information about the ExM-user mailing list