This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> 2012-11-13 13:54:52 UTC ---
(In reply to comment #3)
> > You can find these files in..
> >
> > http://llvm.org/svn/llvm-project/compiler-rt/branches/release_32/lib/interception/mach_override/
> 
> With this files I have been able to do a clean bootstrap at revision 193472 on
> x86_64-apple-darwin10. However, first, I have to supply the lib path for
> libasan when using -faddress-sanitizer: -L/opt/gcc/gcc4.8w/lib -lasan; second,
> the executable fails to run with:
> 
> 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.


> Looking at the web, it seems to be a known issue with darwin, but I have been
> unable to understand how it can be fixed.
> 
> Indeed I also see pr55291.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]