Re: guard malloc vs dyld
Re: guard malloc vs dyld
- Subject: Re: guard malloc vs dyld
- From: Stefan Werner <email@hidden>
- Date: Thu, 02 Jun 2005 09:51:03 +0200
Hi,
On Jun 1, 2005, at 11:38 PM, Dave Payne wrote:
Hi Stefan, on your 10.3 system, how are you using Guard Malloc? Are you explicitly setting the DYLD_INSERT_LIBRARIES environment variable in gdb? If so, then you also need to set DYLD_FORCE_FLAT_NAMESPACE to 1. I think that if you're using the Debug --> Enable Guard Malloc menu item in Xcode that it does that for you.
I was using it from XCode -
turns out that Guard Malloc really doesn't like code linked with -bind_at_load (which I had enabled on prior recommendation by the linker). Now that I have resolved the double symbols, I disabled it and Guard Malloc works fine now.
Stefan
<x-tad-smaller>--
Stefan Werner, Media Computing Group
Department of Computer Science 10, RWTH Aachen University
Ahornstrasse 55, 52074 Aachen, Room 2U11
Phone: +49 (241) 80-21055 Fax: +49 (241) 80-22050</x-tad-smaller>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden