[LLVMbugs] [Bug 3597] New: linux 2.4.37 compilation fails in linux.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 16 14:36:29 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=3597

           Summary: linux 2.4.37 compilation fails in linux.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: bolzoni at cs.unipr.it
                CC: llvmbugs at cs.uiuc.edu


in the file ia32_ioctl.c a clang assertions fail:

$ gcc -w -c ia32_ioctl.i
$ clang -w ia32_ioctl.i 
clang: Builtins.cpp:71: std::string
clang::Builtin::Context::getHeaderName(unsigned int) const: Assertion `NameEnd
&& "Missing ':' after header name"' failed.
0   clang     0x0000000000e03321
1   libc.so.6 0x00007f5bd7a37150
2   libc.so.6 0x00007f5bd7a370c5 gsignal + 53
3   libc.so.6 0x00007f5bd7a385e3 abort + 387
4   libc.so.6 0x00007f5bd7a300e9 __assert_fail + 233
5   clang     0x00000000008bfe0c
6   clang     0x000000000083189d
clang::Sema::LazilyCreateBuiltin(clang::IdentifierInfo*, unsigned int,
clang::Scope*, bool, clang::SourceLocation) + 589
7   clang     0x000000000087d28b clang::Sema::LookupName(clang::Scope*,
clang::DeclarationName, clang::Sema::LookupNameKind, bool, bool,
clang::SourceLocation) + 539
8   clang     0x000000000083432b
clang::Sema::ActOnParamDeclarator(clang::Scope*, clang::Declarator&) + 187
9   clang     0x0000000000924099
clang::Parser::ParseFunctionDeclarator(clang::SourceLocation,
clang::Declarator&, clang::AttributeList*, bool) + 985
10  clang     0x0000000000926180
clang::Parser::ParseDirectDeclarator(clang::Declarator&) + 624
11  clang     0x0000000000920b6a
clang::Parser::ParseDeclaratorInternal(clang::Declarator&, void
(clang::Parser::*)(clang::Declarator&)) + 186
12  clang     0x000000000091c206
clang::Parser::ParseDeclarationOrFunctionDefinition(llvm::SmallVector<void*,
4u>*) + 710
13  clang     0x000000000091c860 clang::Parser::ParseExternalDeclaration() +
112
14  clang     0x000000000091cbe6 clang::Parser::ParseTopLevelDecl(void*&) + 22
15  clang     0x0000000000822ee3 clang::ParseAST(clang::Preprocessor&,
clang::ASTConsumer*, clang::TranslationUnit*, bool) + 163
16  clang     0x00000000005b1831
17  clang     0x00000000005b6bcc main + 2060
18  libc.so.6 0x00007f5bd7a23546 __libc_start_main + 230
19  clang     0x0000000000571159
Aborted
$ 

I enclosed the preprocessed file.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list