needed one OSProcessPlugin for darwin/osx

John M McIntosh johnmci at smalltalkconsulting.com
Mon Mar 13 00:15:06 UTC 2006


Ah, so back to checking this, low interesting (non-existent as far as  
I can tell) means slow turn around, Mind getting all the plugins to  
work with MacIntel has
been a chore.

So
(UnixProcessTestCase selector: #testRunCommand) run
does run and does not throw any errors...

However lets see, build debug version of VM with GCC 4.0  oops...

dlopen(/Users/johnmci/Documents/Squeak3.8.0/build/Development/Plugins/ 
UnixOSProcessPlugin, 10):
Symbol not found: _argCnt.  Referenced from: /Users/johnmci/Documents/ 
Squeak3.8.0/build/Development/Plugins/UnixOSProcessPlugin.
Expected in: flat namespace

(gdb) call (int) printAllStacks()
Process
129010824 UnixOSProcessAccessor>forwardSigChld
129010732 UnixOSProcessAccessor>sigChldSemaphore
129010640 UnixOSProcessAccessor>finalize
129007008 OSProcessAccessor class>startUp:
129006916 ThisOSProcess class>startUp:
126364916 [] in SystemDictionary>send:toClassesNamedIn:with:
126364692 OrderedCollection>do:
126364600 SystemDictionary>send:toClassesNamedIn:with:
126364508 SystemDictionary>processStartUpList:
126227260 SmalltalkImage>snapshot:andQuit:embedded:
126227168 SmalltalkImage>snapshot:andQuit:

Mmm, much reading, turns out in gcc 4.0 xcode decides that - 
fvisibility=hidden  a *new* feature to hide or not export symbols in  
the linker. Nice.
Of course this worked before because I was compiling with GCC3.3 for  
powerpc during development and GCC 3.3 for Deployment powerpc. However
macIntel uses GCC 4.0 so loading the UnixOSProcessPlugin would work  
on ppc, but not on macintel. Guess it's good I discovered this  
problem before
someone else did.


On 4-Mar-06, at 3:18 PM, David T. Lewis wrote:

> (UnixProcessTestCase selector: #testRunCommand) run

--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===




More information about the Squeak-dev mailing list