This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/55289] darwin bootstrap fails due to missing libsanitizer/interception/mach_override directory and files
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Nov 2012 13:54:52 +0000
- Subject: [Bug bootstrap/55289] darwin bootstrap fails due to missing libsanitizer/interception/mach_override directory and files
- Auto-submitted: auto-generated
- References: <bug-55289-4@http.gcc.gnu.org/bugzilla/>
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.