[ExM Users] OS X

Tim Armstrong tim.g.armstrong at gmail.com
Fri Apr 25 14:19:10 CDT 2014


I'm not sure if that's the root cause of the problem, but it's possible it
would cause strange symptoms, so it would be nice to rule that out.

- Tim


On Fri, Apr 25, 2014 at 1:38 PM, Ketan Maheshwari <ketan at mcs.anl.gov> wrote:

> Yes, likely they are working with different Tcl:
>
> $ otool -L userlib.so
> userlib.so:
> userlib.so (compatibility version 0.0.0, current version 0.0.0)
>  /System/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl (compatibility
> version 8.5.0, current version 8.5.9)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
> 1197.1.1)
>
>
> $ otool -L /Users/ketan/exm-install/turbine/lib/libtclturbine.dylib
> /Users/ketan/exm-install/turbine/lib/libtclturbine.dylib:
> ....
>  /opt/local/lib/libtcl8.6.dylib (compatibility version 8.6.0, current
> version 8.6.1)
> ....
>
>
>
> On Fri, Apr 25, 2014 at 1:30 PM, Tim Armstrong <tim.g.armstrong at gmail.com>wrote:
>
>>  Hmm haven't been able to replicate it yet.  Do you know what version of
>> Tcl you're using?
>>
>> One thing that would be helpful is to confirm that it's not getting
>> linked against multiple different versions of Tcl.  E.g.:
>>
>> ldd userlib.so
>>  ldd /path/to/libtclturbine.so
>>
>>  If you could add this code to extension.c after the result Tcl_Obj is
>> created, I'd be curious to know if the pointer value was the same (or near
>> to) the value it's complaining about.
>>  printf("result: %p\n", result);
>>
>>  - Tim
>>
>> On Fri, Apr 25, 2014 at 1:18 PM, Tim Armstrong <tim.g.armstrong at gmail.com
>> > wrote:
>>
>>>  Ok, looking now.
>>>
>>>  It was a bit of a headache getting the build system setup working since
>>> the autodetection for vanilla only works for particular cases - e.g. on
>>> Ubuntu the system tcl libraries get put in an architecture-specific
>>> subdirectory.  The machine files thing is a good idea, but using
>>> scripts/turbine-build-config.sh in the turbine directory would simplify it
>>> further - it provides most of the information needed without any guesswork.
>>>
>>>  - Tim
>>>
>>>
>>> On Fri, Apr 25, 2014 at 12:57 PM, Ketan Maheshwari <ketan at mcs.anl.gov>wrote:
>>>
>>>> This happens in main-wrap: exp/apps/main-wrap
>>>>
>>>>  Here is what I do:
>>>>
>>>>  ./gendata 100 5
>>>> ./genleaf -v vanilla mockdock.[ch] user.swift
>>>>  turbine -n 3 user-code.tcl
>>>>
>>>>
>>>>
>>>>  On Fri, Apr 25, 2014 at 11:51 AM, Tim Armstrong <
>>>> tim.g.armstrong at gmail.com> wrote:
>>>>
>>>>>   It may not be mac-specific - I'll try to replicate the problem
>>>>> elsewhere if you can give me a pointer to the script that caused the
>>>>> problem.
>>>>>
>>>>>  - Tim
>>>>>
>>>>>
>>>>> On Fri, Apr 25, 2014 at 11:30 AM, Ketan Maheshwari <ketan at mcs.anl.gov>wrote:
>>>>>
>>>>>>  This is on my Mac. May be we can replicate on frisbee or someone's
>>>>>> Mac if you have access. Assuming you are not a Mac user.
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/exm-user/attachments/20140425/2c4299bb/attachment.html>


More information about the ExM-user mailing list