I was having a similar problem compiling that file with regular debug builds on 
OSX.  I solved it by upgrading to clang 3.3.

Andrew

----- Original Message -----
> Started happening recently, though I'm not sure if it's my system or
> something changed in our code.  Anyone else able to build ASAN debug on OS
> X?  I'm using clang.
> 
> This is what I get:
> 
>  8:23.40 1.
>       /Users/msreckovic/Repos/mozilla-asan/widget/cocoa/nsChildView.mm:6175:1:
>  current parser token 'void'
>  8:23.40 2.
>       
> /Users/msreckovic/Repos/mozilla-asan/widget/cocoa/nsChildView.mm:2738:15:
>  LLVM IR generation of declaration 'globalDragPboard'
>  8:23.81 IonFrames-x86-shared.o
>  8:23.86 TestWebGLElementArrayCache.o
>  8:24.37 clang: error: unable to execute command: Illegal instruction: 4
>  8:24.37 clang: error: clang frontend command failed due to signal (use -v to
>  see invocation)
>  8:24.37 clang version 3.2 (trunk 163716)
>  8:24.37 Target: x86_64-apple-darwin12.4.0
>  8:24.37 Thread model: posix
>  8:24.37 clang: note: diagnostic msg: PLEASE submit a bug report to
>  http://llvm.org/bugs/ and include the crash backtrace, preprocessed source,
>  and associated run script.
>  8:24.50 Element.o
>  8:25.00 clang: note: diagnostic msg:
>  8:25.00 ********************
>  8:25.01
>  8:25.01 PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
>  8:25.01 Preprocessed source(s) and associated run script(s) are located at:
>  8:25.01 clang: note: diagnostic msg:
>  /var/folders/0y/9xx0_t1x54zc9qnf3rc_8z200000gn/T/nsChildView-XPNcRM.mm
>  8:25.01 clang: note: diagnostic msg:
>  /var/folders/0y/9xx0_t1x54zc9qnf3rc_8z200000gn/T/nsChildView-XPNcRM.sh
>  8:25.01 clang: note: diagnostic msg:
> 
> --
> - Milan
> 
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
> 
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to