[LLVMbugs] [Bug 22787] New: Bootstrap failure on Fedora 21/x86-64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 4 05:57:43 PST 2015


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

            Bug ID: 22787
           Summary: Bootstrap failure on Fedora 21/x86-64
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

On Fedora 21/x86-64, clang r231213 + llvm r231241 gave

clang: /export/gnu/import/git/llvm/tools/clang/lib/CodeGen/CGClass.cpp:1525:
void clang::CodeGen::CodeGenFunction::EnterDtorCleanups(const
clang::CXXDestructorDecl*, clang::CXXDtorType): Assertion `(!DD->isTrivial() ||
DD->hasAttr<DLLExportAttr>()) && "Should not emit dtor epilogue for
non-exported trivial dtor!"' failed.
0  clang           0x0000000002c1f302 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  clang           0x0000000002c1d5f9
2  libpthread.so.0 0x0000003d06810090
3  libc.so.6       0x0000003d06434897 gsignal + 55
4  libc.so.6       0x0000003d064364fa abort + 362
5  libc.so.6       0x0000003d0642d43d
6  libc.so.6       0x0000003d0642d4f2
7  clang           0x0000000000ced605
clang::CodeGen::CodeGenFunction::EnterDtorCleanups(clang::CXXDestructorDecl
const*, clang::CXXDtorType) + 69
8  clang           0x0000000000cf088b
clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&)
+ 379
9  clang           0x0000000000c3c5fc
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 1884
10 clang           0x0000000000cd24fc
clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::CXXMethodDecl const*,
clang::CodeGen::StructorType) + 268
11 clang           0x0000000000c8ae31
12 clang           0x0000000000c606d9
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl,
llvm::GlobalValue*) + 745
13 clang           0x0000000000c61300
clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 1600
14 clang           0x0000000000c8fc27
15 clang           0x0000000000c619b5
16 clang           0x0000000000be4614
17 clang           0x0000000000bd3b2c
18 clang           0x00000000011c4b1e
clang::Sema::InstantiateClassMembers(clang::SourceLocation,
clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&,
clang::TemplateSpecializationKind) + 1118
19 clang           0x00000000011c5186
clang::Sema::InstantiateClassTemplateSpecializationMembers(clang::SourceLocation,
clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind) +
70
20 clang           0x000000000115d6d7
clang::Sema::ActOnExplicitInstantiation(clang::Scope*, clang::SourceLocation,
clang::SourceLocation, unsigned int, clang::SourceLocation, clang::CXXScopeSpec
const&, clang::OpaquePtr<clang::TemplateName>, clang::SourceLocation,
clang::SourceLocation, llvm::MutableArrayRef<clang::ParsedTemplateArgument>,
clang::SourceLocation, clang::AttributeList*) + 1943
21 clang           0x0000000000de5cb7
clang::Parser::ParseClassSpecifier(clang::tok::TokenKind,
clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo
const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext,
clang::Parser::ParsedAttributesWithRange&) + 5399
22 clang           0x0000000000dcde92
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&,
clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier,
clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) + 3954
23 clang           0x0000000000e2e19e
clang::Parser::ParseSingleDeclarationAfterTemplate(unsigned int,
clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&,
clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 942
24 clang           0x0000000000e2fcf3
clang::Parser::ParseExplicitInstantiation(unsigned int, clang::SourceLocation,
clang::SourceLocation, clang::SourceLocation&, clang::AccessSpecifier) + 147
25 clang           0x0000000000e2fecc
clang::Parser::ParseDeclarationStartingWithTemplate(unsigned int,
clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) + 348
26 clang           0x0000000000dd2024 clang::Parser::ParseDeclaration(unsigned
int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 596
27 clang           0x0000000000dbae42
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 306
28 clang           0x0000000000dde441
clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation,
std::allocator<clang::SourceLocation> >&, std::vector<clang::IdentifierInfo*,
std::allocator<clang::IdentifierInfo*> >&, std::vector<clang::SourceLocation,
std::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&,
clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 369
29 clang           0x0000000000dde9b9 clang::Parser::ParseNamespace(unsigned
int, clang::SourceLocation&, clang::SourceLocation) + 1225
30 clang           0x0000000000dd2084 clang::Parser::ParseDeclaration(unsigned
int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 692
31 clang           0x0000000000dbae42
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 306
32 clang           0x0000000000dde441
clang::Parser::ParseInnerNamespace(std::vector<clang::SourceLocation,
std::allocator<clang::SourceLocation> >&, std::vector<clang::IdentifierInfo*,
std::allocator<clang::IdentifierInfo*> >&, std::vector<clang::SourceLocation,
std::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&,
clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 369
33 clang           0x0000000000dde9b9 clang::Parser::ParseNamespace(unsigned
int, clang::SourceLocation&, clang::SourceLocation) + 1225
34 clang           0x0000000000dd2084 clang::Parser::ParseDeclaration(unsigned
int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) + 692
35 clang           0x0000000000dbae42
clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) + 306
36 clang           0x0000000000dbb540
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 464
37 clang           0x0000000000db1b83 clang::ParseAST(clang::Sema&, bool, bool)
+ 275
38 clang           0x0000000000bd4ecb clang::CodeGenAction::ExecuteAction() +
59
39 clang           0x0000000000a0c906 clang::FrontendAction::Execute() + 118
40 clang           0x00000000009e8861
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 353
41 clang           0x00000000009cefc3
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2099
42 clang           0x00000000009c6df8 cc1_main(llvm::ArrayRef<char const*>,
char const*, void*) + 1416
43 clang           0x000000000099e919 main + 1737
44 libc.so.6       0x0000003d0641ffa0 __libc_start_main + 240
45 clang           0x00000000009c612d
Stack dump:
0.    Program arguments:
/export/build/gnu/llvm-clang-bootstrap/stage1/build-x86_64-linux/Release+Asserts/bin/clang
-cc1 -triple x86_64-pc-linux-gnu -emit-obj -disable-free -main-file-name
CommandLine.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -target-linker-version 2.25.51.0.2.20150302
-momit-leaf-frame-pointer -dwarf-column-info -ffunction-sections
-fdata-sections -coverage-file
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support/Release+Asserts/CommandLine.o
-resource-dir
/export/build/gnu/llvm-clang-bootstrap/stage1/build-x86_64-linux/Release+Asserts/bin/../lib/clang/3.7.0
-dependency-file
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support/Release+Asserts/CommandLine.d.tmp
-MP -MT
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support/Release+Asserts/CommandLine.o
-MT
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support/Release+Asserts/CommandLine.d
-D _DEBUG -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
__STDC_LIMIT_MACROS -I
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/include -I
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support -I
/export/gnu/import/git/llvm/include -I /export/gnu/import/git/llvm/lib/Support
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/x86_64-redhat-linux
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.9.2/../../../../include/c++/4.9.2/backward
-internal-isystem /usr/local/include -internal-isystem
/export/build/gnu/llvm-clang-bootstrap/stage1/build-x86_64-linux/Release+Asserts/bin/../lib/clang/3.7.0/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O3
-Wcast-qual -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wcovered-switch-default -Wno-uninitialized -Wno-missing-field-initializers
-Wno-comment -std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support
-ferror-limit 19 -fmessage-length 0 -fvisibility-inlines-hidden -mstackrealign
-fno-rtti -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -o
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support/Release+Asserts/CommandLine.o
-x c++ /export/gnu/import/git/llvm/lib/Support/CommandLine.cpp 
1.    /export/gnu/import/git/llvm/lib/Support/CommandLine.cpp:49:49: current
parser token ';'
2.    /export/gnu/import/git/llvm/lib/Support/CommandLine.cpp:47:1: parsing
namespace 'llvm'
3.    /export/gnu/import/git/llvm/lib/Support/CommandLine.cpp:48:1: parsing
namespace 'cl'
4.    /export/gnu/import/git/llvm/include/llvm/Support/CommandLine.h:760:3:
LLVM IR generation of declaration 'llvm::cl::basic_parser<bool>::~basic_parser'
5.    /export/gnu/import/git/llvm/include/llvm/Support/CommandLine.h:760:3:
Generating code for declaration 'llvm::cl::basic_parser<bool>::~basic_parser'
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.7.0 (ssh://llvm@gnu-4.sc.intel.com/export/server/git/llvm/clang
1cb60abfa2b035a713482f3d01b9c2f5f5373b26) (llvm/llvm.git
826cbaf934b102c853c03116b6e5d92ace364666)
Target: x86_64-pc-linux-gnu
Thread model: posix
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.
llvm[4]: Compiling Debug.cpp for Release+Asserts build
llvm[4]: Compiling DeltaAlgorithm.cpp for Release+Asserts build
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/CommandLine-1247e3.cpp
clang: note: diagnostic msg: /tmp/CommandLine-1247e3.sh
clang: note: diagnostic msg: 

********************
/usr/bin/rm: cannot remove
‘/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support/Release+Asserts/CommandLine.d.tmp’:
No such file or directory
/export/gnu/import/git/llvm/Makefile.rules:1521: recipe for target
'/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support/Release+Asserts/CommandLine.o'
failed
make[4]: ***
[/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/lib/Support/Release+Asserts/CommandLine.o]
Error 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150304/c19fe304/attachment.html>


More information about the llvm-bugs mailing list