Re: Porting to Darwin
Brian de Alwis <[email protected]> Tue, 17 Jun 2008 18:07:42 -0700 (PDT)
| Newsgroups | gmane.comp.lang.smalltalk.strongtalk |
|---|---|
| Message-ID | <[email protected]> |
Hi Steve. You're right -- I was using the wrong image. Using your previously-provided image for Unix with the VM compiled with - mstackalign, running with +TraceLookup, confirms that I'm definitely running lots of ST code. If I run with '-script ...' I'll eventually break into the built-in debugger as the unix image fails when it tries to load libc.so.6. (Perhaps we should change the ST code to catch the DLL lookup failure and log the failure instead?) Linking Darwin's equivalent to that name (/usr/lib/libSystem.B.dylib) causes a bus error and with rampant corruption of the stack. I suspect this is occurring as the stack isn't aligned, and my stack- alignment patch above doesn't seem to do the right thing. I'll try poking at this some more tonight. Brian. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Strongtalk-general" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/strongtalk-general?hl=en -~----------~----~----~----~------~----~------~--~---