[Bug bootstrap/55289] darwin bootstrap fails due to missing libsanitizer/interception/mach_override directory and files

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Tue Nov 13 14:07:00 GMT 2012


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

--- Comment #5 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-11-13 14:06:46 UTC ---
(In reply to comment #4)
> (In reply to comment #3)

> > dyld: Symbol not found: _CFStringCreateCopy
> 
> this is found in the CoreFoundation framework (CFxxxxx is a good hint).
> 
> what you need is to have "-framework CoreFoundation" on the link line - and I
> guess the configury  &c. needs to arrange this.
> 

The bootstrap completes without any other changes. What we need in
gcc/config/darwin.h is a LINK_SPEC entry for %faddress-sanitizer which passes
"-framework CoreFoundation -lasan" to the linker.



More information about the Gcc-bugs mailing list