Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

LLVM IR Code Generation Error #12010

Closed Quuxplusone closed 11 years ago

Quuxplusone commented 12 years ago
Bugzilla Link PR11873
Status RESOLVED INVALID
Importance P normal
Reported by Don Holly (don.holly@gmail.com)
Reported on 2012-01-27 18:24:16 -0800
Last modified on 2013-04-21 05:06:08 -0700
Version 3.0
Hardware Macintosh MacOS X
CC anton@korobeynikov.info, fjahanian@apple.com, llvm-bugs@lists.llvm.org, rjmccall@apple.com
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
When calling a property name on an Objective-C class that is not synthesized,
the IR code generation fails.

I must explicitly call the getter/setter. No warnings are shown and the class
fails to compile with the following errors:

1.  /Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-
sdk/OTPublisher.m:362:1: current parser token '-'
2.  /Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-
sdk/OTPublisher.m:340:1: LLVM IR generation of declaration
'OTPublisher::buildVideoPreviewLayer'
3.  /Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-
sdk/OTPublisher.m:341:1: LLVM IR generation of compound statement ('{}')

FULL TRACE:

Distributed-CompileC /Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-
ajsckbtcxmahmqegalawmxqtazgv/Build/Intermediates/opentok-ios-sdk.build/Debug-
iphoneos/opentok-ios-sdk.build/Objects-normal/armv7/OTPublisher.o opentok-ios-
sdk/OTPublisher.m normal armv7 objective-c
com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/dholly/Projects/tokbox/opentok-ios-sdk
    setenv DISTCC_COMPILER "Apple clang version 3.0 (tags/Apple/clang-211.9) (based on LLVM 3.0svn)"
    setenv DISTCC_DIR /Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-ajsckbtcxmahmqegalawmxqtazgv/Build/Intermediates/opentok-ios-sdk.build/Debug-iphoneos/opentok-ios-sdk.build/distcc.tmp
    setenv DISTCC_HOSTS localhost
    setenv DISTCC_SYSTEM "10.7.2 (11C74, x86_64)"
    setenv LANG en_US.US-ASCII
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/distcc /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=gnu99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wmissing-prototypes -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -DDEBUG=1 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -gdwarf-2 -Wno-sign-conversion -mthumb "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -miphoneos-version-min=5.0 -I/Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-ajsckbtcxmahmqegalawmxqtazgv/Build/Intermediates/opentok-ios-sdk.build/Debug-iphoneos/opentok-ios-sdk.build/Opentok.hmap -I/Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-ajsckbtcxmahmqegalawmxqtazgv/Build/Products/Debug-iphoneos/include -I../ios-livu -I../ios-livu/AVCEncoder -I../ios-livu/ffmpeg -I../ios-livu/Livu -I../ios-livu/speex-1.2rc1 -I../ios-livu/sRTP -I../ios-livu/sRTSP -I../ios-livu/AVCEncoder/AVCEncoder -I../ios-livu/ffmpeg/include -I../ios-livu/ffmpeg/lib -I../ios-livu/Livu/ApplicationTests -I../ios-livu/Livu/assets -I../ios-livu/Livu/Classes -I../ios-livu/Livu/images -I../ios-livu/Livu/libLivu -I../ios-livu/Livu/LogicTests -I../ios-livu/Livu/MongooseDaemon -I../ios-livu/speex-1.2rc1/doc -I../ios-livu/speex-1.2rc1/include -I../ios-livu/speex-1.2rc1/iphone -I../ios-livu/speex-1.2rc1/libspeex -I../ios-livu/speex-1.2rc1/src -I../ios-livu/speex-1.2rc1/symbian -I../ios-livu/speex-1.2rc1/ti -I../ios-livu/speex-1.2rc1/win32 -I../ios-livu/sRTP/sRTP -I../ios-livu/sRTSP/sRTSP -I../ios-livu/ffmpeg/include/libavcodec -I../ios-livu/ffmpeg/include/libavdevice -I../ios-livu/ffmpeg/include/libavfilter -I../ios-livu/ffmpeg/include/libavformat -I../ios-livu/ffmpeg/include/libavutil -I../ios-livu/ffmpeg/include/libswscale -I../ios-livu/Livu/assets/appstore -I../ios-livu/Livu/assets/images -I../ios-livu/Livu/assets/iStock_000013027002Illustra -I../ios-livu/Livu/assets/svg -I../ios-livu/Livu/assets/website -I../ios-livu/Livu/images/icons -I../ios-livu/Livu/images/LivuConfigView -I../ios-livu/Livu/images/LivuView -I../ios-livu/speex-1.2rc1/include/speex -I../ios-livu/speex-1.2rc1/iphone/speex -I../ios-livu/speex-1.2rc1/libspeex/.deps -I../ios-livu/speex-1.2rc1/src/.deps -I../ios-livu/speex-1.2rc1/ti/speex_C54_test -I../ios-livu/speex-1.2rc1/ti/speex_C55_test -I../ios-livu/speex-1.2rc1/ti/speex_C64_test -I../ios-livu/speex-1.2rc1/win32/libspeex -I../ios-livu/speex-1.2rc1/win32/speexdec -I../ios-livu/speex-1.2rc1/win32/speexenc -I../ios-livu/speex-1.2rc1/win32/VS2003 -I../ios-livu/speex-1.2rc1/win32/VS2005 -I../ios-livu/speex-1.2rc1/win32/VS2008 -I../ios-livu/Livu/assets/images/icons -I../ios-livu/Livu/assets/images/LivuConfigView -I../ios-livu/Livu/assets/images/LivuView -I../ios-livu/speex-1.2rc1/iphone/speex/speex -I../ios-livu/speex-1.2rc1/win32/VS2003/libspeex -I../ios-livu/speex-1.2rc1/win32/VS2003/libspeexdsp -I../ios-livu/speex-1.2rc1/win32/VS2003/speexdec -I../ios-livu/speex-1.2rc1/win32/VS2003/speexenc -I../ios-livu/speex-1.2rc1/win32/VS2003/tests -I../ios-livu/speex-1.2rc1/win32/VS2005/libspeex -I../ios-livu/speex-1.2rc1/win32/VS2005/libspeexdsp -I../ios-livu/speex-1.2rc1/win32/VS2005/speexdec -I../ios-livu/speex-1.2rc1/win32/VS2005/speexenc -I../ios-livu/speex-1.2rc1/win32/VS2005/tests -I../ios-livu/speex-1.2rc1/win32/VS2008/libspeex -I../ios-livu/speex-1.2rc1/win32/VS2008/libspeexdsp -I../ios-livu/speex-1.2rc1/win32/VS2008/speexdec -I../ios-livu/speex-1.2rc1/win32/VS2008/speexenc -I../ios-livu/speex-1.2rc1/win32/VS2008/tests -I../ios-rtsp-poc/SupportingProjects -I../ios-rtsp-poc/SupportingProjects/DecoderWrapper -I../ios-rtsp-poc/SupportingProjects/Live555 -I../ios-rtsp-poc/SupportingProjects/RTSPClient -I../ios-rtsp-poc/SupportingProjects/Live555/src -I../ios-rtsp-poc/SupportingProjects/Live555/src/BasicUsageEnvironment -I../ios-rtsp-poc/SupportingProjects/Live555/src/groupsock -I../ios-rtsp-poc/SupportingProjects/Live555/src/liveMedia -I../ios-rtsp-poc/SupportingProjects/Live555/src/UsageEnvironment -I../ios-rtsp-poc/SupportingProjects/Live555/src/BasicUsageEnvironment/include -I../ios-rtsp-poc/SupportingProjects/Live555/src/groupsock/include -I../ios-rtsp-poc/SupportingProjects/Live555/src/liveMedia/include -I../ios-rtsp-poc/SupportingProjects/Live555/src/UsageEnvironment/include -I../ios-rumor -I../ios-rumor/ios-rumor -I../ios-rumor/ios-rumorTests -I../ios-rumor/sample -I../ios-rumor/ios-rumor/JSON -I../ios-rumor/ios-rumor/model -I../ios-rumor/ios-rumor/state -I../ios-rumor/ios-rumor/wowza -I../ios-rumor/sample/ios-rumor-sample -I../ios-rumor/sample/ios-rumor-sample/ios-rumor-sample -I../ios-rumor/sample/ios-rumor-sample/ios-rumor-sampleTests -I../ios-havelock -I../ios-havelock/ios-havelock -I../ios-havelock/ios-havelockTests -I../ios-havelock/sample -I../ios-havelock/ios-havelock/util -I../ios-havelock/ios-havelock/vo -I../ios-havelock/sample/ios-havelock-sample -I../ios-havelock/sample/ios-havelock-sample/ios-havelock-sample -I../ios-havelock/sample/ios-havelock-sample/ios-havelock-sampleTests -I../ios-common -I../ios-common/ios-common -I../ios-common/ios-commonTests -I../ios-common/ios-common/lib -I../ios-common/ios-common/utils -I../ios-common/ios-common/lib/AFNetworking -I../ios-common/ios-common/lib/TBXML -I/Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-ajsckbtcxmahmqegalawmxqtazgv/Build/Intermediates/opentok-ios-sdk.build/Debug-iphoneos/opentok-ios-sdk.build/DerivedSources/armv7 -I/Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-ajsckbtcxmahmqegalawmxqtazgv/Build/Intermediates/opentok-ios-sdk.build/Debug-iphoneos/opentok-ios-sdk.build/DerivedSources -fpch-preprocess -F/Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-ajsckbtcxmahmqegalawmxqtazgv/Build/Products/Debug-iphoneos -include /Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-sdk/opentok-ios-sdk-Prefix.pch -c /Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-sdk/OTPublisher.m -o /Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-ajsckbtcxmahmqegalawmxqtazgv/Build/Intermediates/opentok-ios-sdk.build/Debug-iphoneos/opentok-ios-sdk.build/Objects-normal/armv7/OTPublisher.o

In file included from ../ios-livu/Livu/libLivu/LibLivu.h:12:
In file included from /Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-
sdk/OTPublisher.m:21:
../ios-livu/Livu/Classes/OTNetworkPublisher.h:41:43: warning: cannot find
protocol definition for 'AACEncoderDelegate' [3]
 @interface OTNetworkPublisher : NSObject <AACEncoderDelegate, OTSpeexEncoderDelegate> {
                                           ^
0  clang             0x0000000100de1022 _ZL15PrintStackTracePv + 34
1  clang             0x0000000100de14f9 _ZL13SignalHandleri + 633
2  libsystem_c.dylib 0x00007fff9540bcfa _sigtramp + 26
3  libsystem_c.dylib 0x00007fff5fbf93c0 _sigtramp + 18446744072811894496
4  clang             0x000000010064a2a0
clang::CodeGen::CodeGenFunction::EmitARCStoreStrong(clang::BinaryOperator
const*, bool) + 448
5  clang             0x000000010063d274 clang::StmtVisitorBase<clang::make_ptr,
(anonymous namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) +
3220
6  clang             0x0000000100116148
clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) + 72
7  clang             0x00000001002abf99
clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*,
clang::CodeGen::AggValueSlot, bool) + 57
8  clang             0x00000001002ae739
clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) + 41
9  clang             0x0000000100115772
clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 194
10 clang             0x0000000100115d2b
clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&,
bool, clang::CodeGen::AggValueSlot) + 267
11 clang             0x0000000100115ae8
clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) + 152
12 clang             0x00000001001156d0
clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 32
13 clang             0x000000010064459a
clang::CodeGen::CodeGenFunction::GenerateObjCMethod(clang::ObjCMethodDecl
const*) + 58
14 clang             0x000000010006e431
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) + 881
15 clang             0x000000010006e09f (anonymous
namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) + 95
16 clang             0x000000010006e011
clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) + 161
17 clang             0x00000001000420f2 clang::ParseAST(clang::Sema&, bool) +
290
18 clang             0x0000000100040baf clang::CodeGenAction::ExecuteAction() +
671
19 clang             0x000000010002cafb
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 875
20 clang             0x000000010002ab78
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2696
21 clang             0x000000010001f365 cc1_main(char const**, char const**,
char const*, void*) + 5333
22 clang             0x000000010000256b main + 667
23 clang             0x00000001000022c4 start + 52
Stack dump:
0.  Program arguments:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -cc1 -triple
thumbv7-apple-ios5.0.0 -S -disable-free -disable-llvm-verifier -main-file-name
OTPublisher.m -pic-level 1 -mdisable-fp-elim -relaxed-aliasing -target-abi apcs-
gnu -target-cpu cortex-a8 -mfloat-abi soft -target-feature +soft-float-abi -
target-linker-version 123.4.1 -g -coverage-file
/var/folders/gv/1hzh6zxj5rz4wb8r5wz038j80000gs/T/cc-4RWs7t.s -resource-dir
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/../lib/clang/3.0 -
isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -
include /Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-sdk/opentok-
ios-sdk-Prefix.pch -D DEBUG=1 -D IBOutlet=__attribute__((iboutlet)) -D
IBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName))) -D
IBAction=void)__attribute__((ibaction) -I
/Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-
ajsckbtcxmahmqegalawmxqtazgv/Build/Intermediates/opentok-ios-sdk.build/Debug-
iphoneos/opentok-ios-sdk.build/Opentok.hmap -I
/Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-
ajsckbtcxmahmqegalawmxqtazgv/Build/Products/Debug-iphoneos/include -I ../ios-
livu -I ../ios-livu/AVCEncoder -I ../ios-livu/ffmpeg -I ../ios-livu/Livu -I
../ios-livu/speex-1.2rc1 -I ../ios-livu/sRTP -I ../ios-livu/sRTSP -I ../ios-
livu/AVCEncoder/AVCEncoder -I ../ios-livu/ffmpeg/include -I ../ios-
livu/ffmpeg/lib -I ../ios-livu/Livu/ApplicationTests -I ../ios-livu/Livu/assets
-I ../ios-livu/Livu/Classes -I ../ios-livu/Livu/images -I ../ios-
livu/Livu/libLivu -I ../ios-livu/Livu/LogicTests -I ../ios-
livu/Livu/MongooseDaemon -I ../ios-livu/speex-1.2rc1/doc -I ../ios-livu/speex-
1.2rc1/include -I ../ios-livu/speex-1.2rc1/iphone -I ../ios-livu/speex-
1.2rc1/libspeex -I ../ios-livu/speex-1.2rc1/src -I ../ios-livu/speex-
1.2rc1/symbian -I ../ios-livu/speex-1.2rc1/ti -I ../ios-livu/speex-1.2rc1/win32
-I ../ios-livu/sRTP/sRTP -I ../ios-livu/sRTSP/sRTSP -I ../ios-
livu/ffmpeg/include/libavcodec -I ../ios-livu/ffmpeg/include/libavdevice -I
../ios-livu/ffmpeg/include/libavfilter -I ../ios-
livu/ffmpeg/include/libavformat -I ../ios-livu/ffmpeg/include/libavutil -I
../ios-livu/ffmpeg/include/libswscale -I ../ios-livu/Livu/assets/appstore -I
../ios-livu/Livu/assets/images -I ../ios-
livu/Livu/assets/iStock_000013027002Illustra -I ../ios-livu/Livu/assets/svg -I
../ios-livu/Livu/assets/website -I ../ios-livu/Livu/images/icons -I ../ios-
livu/Livu/images/LivuConfigView -I ../ios-livu/Livu/images/LivuView -I ../ios-
livu/speex-1.2rc1/include/speex -I ../ios-livu/speex-1.2rc1/iphone/speex -I
../ios-livu/speex-1.2rc1/libspeex/.deps -I ../ios-livu/speex-1.2rc1/src/.deps -
I ../ios-livu/speex-1.2rc1/ti/speex_C54_test -I ../ios-livu/speex-
1.2rc1/ti/speex_C55_test -I ../ios-livu/speex-1.2rc1/ti/speex_C64_test -I
../ios-livu/speex-1.2rc1/win32/libspeex -I ../ios-livu/speex-
1.2rc1/win32/speexdec -I ../ios-livu/speex-1.2rc1/win32/speexenc -I ../ios-
livu/speex-1.2rc1/win32/VS2003 -I ../ios-livu/speex-1.2rc1/win32/VS2005 -I
../ios-livu/speex-1.2rc1/win32/VS2008 -I ../ios-livu/Livu/assets/images/icons -
I ../ios-livu/Livu/assets/images/LivuConfigView -I ../ios-
livu/Livu/assets/images/LivuView -I ../ios-livu/speex-1.2rc1/iphone/speex/speex
-I ../ios-livu/speex-1.2rc1/win32/VS2003/libspeex -I ../ios-livu/speex-
1.2rc1/win32/VS2003/libspeexdsp -I ../ios-livu/speex-
1.2rc1/win32/VS2003/speexdec -I ../ios-livu/speex-1.2rc1/win32/VS2003/speexenc -
I ../ios-livu/speex-1.2rc1/win32/VS2003/tests -I ../ios-livu/speex-
1.2rc1/win32/VS2005/libspeex -I ../ios-livu/speex-
1.2rc1/win32/VS2005/libspeexdsp -I ../ios-livu/speex-
1.2rc1/win32/VS2005/speexdec -I ../ios-livu/speex-1.2rc1/win32/VS2005/speexenc -
I ../ios-livu/speex-1.2rc1/win32/VS2005/tests -I ../ios-livu/speex-
1.2rc1/win32/VS2008/libspeex -I ../ios-livu/speex-
1.2rc1/win32/VS2008/libspeexdsp -I ../ios-livu/speex-
1.2rc1/win32/VS2008/speexdec -I ../ios-livu/speex-1.2rc1/win32/VS2008/speexenc -
I ../ios-livu/speex-1.2rc1/win32/VS2008/tests -I ../ios-rtsp-
poc/SupportingProjects -I ../ios-rtsp-poc/SupportingProjects/DecoderWrapper -I
../ios-rtsp-poc/SupportingProjects/Live555 -I ../ios-rtsp-
poc/SupportingProjects/RTSPClient -I ../ios-rtsp-
poc/SupportingProjects/Live555/src -I ../ios-rtsp-
poc/SupportingProjects/Live555/src/BasicUsageEnvironment -I ../ios-rtsp-
poc/SupportingProjects/Live555/src/groupsock -I ../ios-rtsp-
poc/SupportingProjects/Live555/src/liveMedia -I ../ios-rtsp-
poc/SupportingProjects/Live555/src/UsageEnvironment -I ../ios-rtsp-
poc/SupportingProjects/Live555/src/BasicUsageEnvironment/include -I ../ios-rtsp-
poc/SupportingProjects/Live555/src/groupsock/include -I ../ios-rtsp-
poc/SupportingProjects/Live555/src/liveMedia/include -I ../ios-rtsp-
poc/SupportingProjects/Live555/src/UsageEnvironment/include -I ../ios-rumor -I
../ios-rumor/ios-rumor -I ../ios-rumor/ios-rumorTests -I ../ios-rumor/sample -I
../ios-rumor/ios-rumor/JSON -I ../ios-rumor/ios-rumor/model -I ../ios-rumor/ios-
rumor/state -I ../ios-rumor/ios-rumor/wowza -I ../ios-rumor/sample/ios-rumor-
sample -I ../ios-rumor/sample/ios-rumor-sample/ios-rumor-sample -I ../ios-
rumor/sample/ios-rumor-sample/ios-rumor-sampleTests -I ../ios-havelock -I
../ios-havelock/ios-havelock -I ../ios-havelock/ios-havelockTests -I ../ios-
havelock/sample -I ../ios-havelock/ios-havelock/util -I ../ios-havelock/ios-
havelock/vo -I ../ios-havelock/sample/ios-havelock-sample -I ../ios-
havelock/sample/ios-havelock-sample/ios-havelock-sample -I ../ios-
havelock/sample/ios-havelock-sample/ios-havelock-sampleTests -I ../ios-common -
I ../ios-common/ios-common -I ../ios-common/ios-commonTests -I ../ios-
common/ios-common/lib -I ../ios-common/ios-common/utils -I ../ios-common/ios-
common/lib/AFNetworking -I ../ios-common/ios-common/lib/TBXML -I
/Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-
ajsckbtcxmahmqegalawmxqtazgv/Build/Intermediates/opentok-ios-sdk.build/Debug-
iphoneos/opentok-ios-sdk.build/DerivedSources/armv7 -I
/Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-
ajsckbtcxmahmqegalawmxqtazgv/Build/Intermediates/opentok-ios-sdk.build/Debug-
iphoneos/opentok-ios-sdk.build/DerivedSources -
F/Users/dholly/Library/Developer/Xcode/DerivedData/TokTime-
ajsckbtcxmahmqegalawmxqtazgv/Build/Products/Debug-iphoneos -O0 -Wno-trigraphs -
Wmissing-prototypes -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -
Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -Wno-sign-conversion -
std=gnu99 -fno-dwarf2-cfi-asm -ferror-limit 19 -fmessage-length 0 -fdiagnostics-
print-source-range-info -fdiagnostics-parseable-fixits -fblocks -fobjc-runtime-
has-arc -fobjc-runtime-has-weak -fobjc-runtime-has-terminate -fobjc-nonfragile-
abi -fobjc-arc -fobjc-exceptions -fexceptions -fsjlj-exceptions -fpascal-
strings -fdiagnostics-show-option -fdiagnostics-show-category id -o
/var/folders/gv/1hzh6zxj5rz4wb8r5wz038j80000gs/T/cc-4RWs7t.s -x objective-c
/Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-sdk/OTPublisher.m
1.  /Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-
sdk/OTPublisher.m:362:1: current parser token '-'
2.  /Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-
sdk/OTPublisher.m:340:1: LLVM IR generation of declaration
'OTPublisher::buildVideoPreviewLayer'
3.  /Users/dholly/Projects/tokbox/opentok-ios-sdk/opentok-ios-
sdk/OTPublisher.m:341:1: LLVM IR generation of compound statement ('{}')
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
distcc[61291] ERROR: compile /Users/dholly/Projects/tokbox/opentok-ios-
sdk/opentok-ios-sdk/OTPublisher.m on localhost failed with exit code 254
Quuxplusone commented 12 years ago

We will need a preprocessed source file, or there isn't much we can do.

Quuxplusone commented 12 years ago

Also note that you'tr using Apple release of clang here. Either try to reproduce the problem with ToT clang or report via Apple bugtracker.

Quuxplusone commented 11 years ago

No testcase, no response. Closing.