clojurec icon indicating copy to clipboard operation
clojurec copied to clipboard

iOS simulator GC issues

Open lynaghk opened this issue 13 years ago • 2 comments

I tried modifying the run/ios/bootstrap script to compile the Boehm GC for i386 so it can be used with the iPhone/iPad simulator, but it looks like Boehm itself relies on a depreciated API call to _dyld_bind_fully_image_containing_address. This blows up at runtime in the latest iOS simulator. The issue is still unresolved upstream:

https://github.com/ivmai/bdwgc/blob/master/dyn_load.c#L1400

(This isn't so much an explicit request for anything as much as a note to @aking and others who might give this a shot.)

lynaghk avatar Aug 07 '12 03:08 lynaghk

Thanks for the info!

schani avatar Aug 08 '12 21:08 schani

I spent an hour or so trying to get boehm gc to work with the iOS Simulator (i386 based), but no luck. I can get past this API call (using similar defines in gcconfig.h that are used for iOS), but it always crashes with an infinite loop busting the stack in GC_clear_stack_inner() - so I'll leave it for now and stick with on device testing. Sorry :/

aking avatar Aug 25 '12 17:08 aking