| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Nov 1, 2007, at 1:48 PM, Terry Lambert wrote:
On Nov 1, 2007, at 5:16 AM, Martin Mitas wrote:Hi all.
Hopefully this is the right list to report this problem.
To debug our SW, we try to use libgmalloc, as described here: http://developer.apple.com/technotes/tn2004/tn2124.html However we encountered troubles with libgmalloc. The following simple program is good enough to demonstrate it.
[ ... ]
$ gcc -O2 -fomit-frame-pointer problem.c $ DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib ./a.out foo bar Allocations will be placed on word (4 byte) boundaries. - Small buffer overruns may not be noticed. - Applications using AltiVec instructions may fail. GuardMalloc-11 Segmentation fault (core dumped)
GNU Malloc's alignment boundaries are insufficiently stringent for floating pint register spills, which happen when autovectorization happens (which is enable in the compiler by default), or when explicitly using floating point.
Hope this helps, Eric
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden
| References: | |
| >libgmalloc problem (From: "Martin Mitas" <email@hidden>) | |
| >Re: libgmalloc problem (From: Terry Lambert <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.