I managed to get the error to disappear. I believe that "make test" might be using the "clang" executable that appears in your path, rather than using the one in your compilation tree. Once I rebuilt clang and installed it over the one that was in my path, the error went away.
On Oct 23, 2007, at 3:32 PM, Ted Kremenek wrote: > BTW, is this expected to fail? It appears to be triggering a "FIXME". > > On Oct 23, 2007, at 3:31 PM, Ted Kremenek wrote: > >> I just did a fresh checkout of llvm and clang. Make test yields the >> following: >> >> ******************** TEST 'Sema/missing-string-interface.m' FAILED! >> ******************** >> Command: >> clang Sema/missing-string-interface.m -verify -fsyntax-only >> Output: >> Assertion failed: (strIFace && "missing @interface for >> NSConstantString" "FIXME: need to predefine without breaking explicit >> inclusion"), function ParseObjCStringLiteral, file SemaExpr.cpp, line >> 1910. >> 0 clang 0x001d40cb >> _ZN40_GLOBAL__N_Signals.cpp_00000000_2EA6EA8A15PrintStackTraceEv + 45 >> 1 clang 0x001d4471 >> _ZN40_GLOBAL__N_Signals.cpp_00000000_2EA6EA8A13SignalHandlerEi + 323 >> 2 libSystem.B.dylib 0x9064797b _sigtramp + 43 >> 3 ??? 0xffffffff 0x0 + 4294967295 >> 4 libSystem.B.dylib 0x906c0782 raise + 26 >> 5 libSystem.B.dylib 0x906cfd3f abort + 73 >> 6 libSystem.B.dylib 0x906c1923 __assert_rtn + 101 >> 7 clang 0x00066465 >> _ZN5clang4Sema22ParseObjCStringLiteralEPv + 277 >> 8 clang 0x000b836e >> _ZN5clang6Parser22ParseObjCStringLiteralEv + 78 >> 9 clang 0x000b9057 >> _ZN5clang6Parser21ParseObjCAtExpressionENS_14SourceLocationE + 39 >> 10 clang 0x000b45e0 >> _ZN5clang6Parser19ParseCastExpressionEb + 2766 >> 11 clang 0x000b5629 >> _ZN5clang6Parser25ParseAssignmentExpressionEv + 25 >> 12 clang 0x000b70d8 >> _ZN5clang6Parser16ParseInitializerEv + 48 >> 13 clang 0x000b1cff >> _ZN5clang6Parser43ParseInitDeclaratorListAfterFirstDeclaratorERNS_10DeclaratorE >> + 225 >> 14 clang 0x000c252d >> _ZN5clang6Parser36ParseDeclarationOrFunctionDefinitionEv + 945 >> 15 clang 0x000c25af >> _ZN5clang6Parser24ParseExternalDeclarationEv + 83 >> 16 clang 0x000c2801 >> _ZN5clang6Parser17ParseTopLevelDeclERPv + 61 >> 17 clang 0x0005150a >> _ZN37_GLOBAL__N__ZN5clang11ASTConsumerD2Ev11ASTStreamer16ReadTopLevelDeclEv >> + 96 >> 18 clang 0x000516c0 >> _ZN5clang8ParseASTERNS_12PreprocessorEjRNS_11ASTConsumerEb + 264 >> 19 clang 0x00005e62 >> _ZN5clang16CheckASTConsumerERNS_12PreprocessorEjPNS_11ASTConsumerE >> + 40 >> 20 clang 0x000192dc >> _ZNSsC1IN9__gnu_cxx17__normal_iteratorIPcSsEEEET_S4_RKSaIcE + 1584 >> 21 clang 0x0001b1da main + 966 >> 22 clang 0x00001d7e start + 54 >> 23 ??? 0x00000004 0x0 + 4 >> Output/missing-string-interface.m.out.script: line 1: 77263 Abort >> trap clang Sema/missing-string-interface.m -verify - >> fsyntax-only >> ******************** TEST 'Sema/missing-string-interface.m' FAILED! >> ******************** >> >> _______________________________________________ >> cfe-dev mailing list >> [email protected] >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev > _______________________________________________ cfe-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
