[Bug sanitizer/55521] many instances of ASAN:SIGSEGV failures in g++ testsuite with -fsanitize=address

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Sat Dec 1 21:43:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55521

--- Comment #11 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-12-01 21:42:41 UTC ---
(In reply to comment #10)
> Created attachment 28847 [details]
> mockup patch for switching darwin to mac function interpose

This patch bootstraps gcc trunk to build libasan with functional mac function
interpose support that passes the asan.exp testsuite without regressions. It
also eliminates PR55521 by avoiding the use of mach_override. It still needs
some cleanup. In particular, I have used 'if 0' to avoid dispatch calls on FSF
gcc which required the missing blocks support. This needs to be replaced by a
test on an appropriate definition specific to FSF gcc (any ideas?). As I
understand it, the use of blocks is for objc which isn't a huge deal at the
moment.



More information about the Gcc-bugs mailing list