[ANN] ObjectiveC Bridge

Alain Fischer mailinglist.fischer at bluewin.ch
Wed Apr 7 10:03:37 UTC 2004


Strange, I have just run tests on ObjcBridgeTest here at work  with Mac 
OS X 10.3.3 and 10.2.8
and the 12 tests where green.

Configuration:

Squeak VM version: 3.6g-2 #1 Tue Sep 16 20:11:54 CEST 2003 gcc 3.3
Built from: Squeak3.6beta of '4 July 2003' [latest update: #5411]
Build host: Darwin emilia.inria.fr 6.6 Darwin Kernel Version 6.6: Thu 
May  1 21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC  Power 
Macintosh powerpc
default plugin location: /usr/local/lib/squeak/3.6g-2/*.so

and:

Squeak3.6-5424-full.image


On 7 avr. 04, at 11:42, Ian Piumarta wrote:

> Avi, (Alain,)
>
> On 07 Apr 2004, at 05:08, Avi Bryant wrote:
>
>> On Apr 4, 2004, at 6:16 AM, Alain Fischer wrote:
>>
>>> then copy "ObjectiveCPlugin.so" in "Squeak-3.6g-2.app/Contents/MacOS"
>>> and load "ObjcBridge.5.cs" in a 3.6 image.
>>
>> So, I did all that, but all the prims fail.
>
> Depending on the combination of VM sources, internal vs. external 
> plugin configuration, other plugins that are active and the version of 
> Darwin that you are running, you might be falling foul of a "feature" 
> of the Mach-O dyld stuff that fails symbol lookup when more than one 
> external dynamically-loaded "image" contains the same symbol within a 
> flat namespace.
>
> I put some pyrotechnics into the 3.7b sources to fix this, and a 
> couple of days ago (at the request of Bert F) backported it to the 
> 3.6-3 release (updating only the source archive and Darwin/OSX .tgz 
> and .dmg binary archives in the process).  Before wasting any time on 
> searching for bugs in the bridge code, I'd suggest downloading the 
> latest VM sources and recompiling everything.  It might just be that 
> your plugin problems vanish; if not, at least you'll know that symbol 
> lookup in plugins is working reliably on Darwin before embarking on 
> any further debugging.
>
> Cheers,
> Ian
>
>




More information about the Squeak-dev mailing list