[LLVMbugs] [Bug 21750] New: llvm+clang bootstrap failure

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 4 05:03:13 PST 2014


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

            Bug ID: 21750
           Summary: llvm+clang bootstrap failure
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

llvm commit:

commit 94590ca4cfdc6ae0b7157829c559deea831c854f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date:   Thu Dec 4 09:44:01 2014 +0000

    [InstCombine] Minor optimization for bswap with binary ops

    Added instcombine optimizations for BSWAP with AND/OR/XOR ops:

    OP( BSWAP(x), BSWAP(y) ) -> BSWAP( OP(x, y) )
    OP( BSWAP(x), CONSTANT ) -> BSWAP( OP(x, BSWAP(CONSTANT) ) )

    Since its just a one liner, I've also added BSWAP to the DAGCombiner
equivalent as well:

    fold (OP (bswap x), (bswap y)) -> (bswap (OP x, y))

    Refactored bswap-fold tests to use FileCheck instead of just checking that
the bswaps had gone.

    Differential Revision: http://reviews.llvm.org/D6407

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223349
91177308-0d34-0410-b5e6-96231b3b80d8

with clang commit:

commit ff996645bfde8df72ebec94f7950deccd311177a
Author: Daniel Jasper <djasper at google.com>
Date:   Thu Dec 4 08:57:27 2014 +0000

    clang-format: More restrictively classify import declarations.

    Before:
      import::SomeFunction(aaaaaaaaaaaaaaaaaaaaaaaaaaa,
aaaaaaaaaaaaaaaaaaaaaaaaaaaaa);

    After:
      import::SomeFunction(aaaaaaaaaaaaaaaaaaaaaaaaaaa,
                           aaaaaaaaaaaaaaaaaaaaaaaaaaaaa);

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223345
91177308-0d34-0410-b5e6-96231b3b80d8

failed to bootstrap on Fedora 20/x86-64:

0  clang           0x0000000002796822 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  clang           0x0000000002794a61
2  libpthread.so.0 0x0000003d73c0f6d0
3  clang           0x0000000002707178 llvm::AllocaInst::isStaticAlloca() const
+ 40
4  clang           0x00000000008b3d11
5  clang           0x00000000024a0b7e
6  clang           0x00000000024a13a4 llvm::SimplifyICmpInst(unsigned int,
llvm::Value*, llvm::Value*, llvm::DataLayout const*, llvm::TargetLibraryInfo
const*, llvm::DominatorTree const*, llvm::AssumptionTracker*,
llvm::Instruction*) + 52
7  clang           0x00000000024a16d0
llvm::SimplifyInstruction(llvm::Instruction*, llvm::DataLayout const*,
llvm::TargetLibraryInfo const*, llvm::DominatorTree const*,
llvm::AssumptionTracker*) + 672
8  clang           0x00000000023a0532
9  clang           0x00000000023a16f1
llvm::CloneAndPruneFunctionInto(llvm::Function*, llvm::Function const*,
llvm::ValueMap<llvm::Value const*, llvm::WeakVH,
llvm::ValueMapConfig<llvm::Value const*, llvm::sys::SmartMutex<false> > >&,
bool, llvm::SmallVectorImpl<llvm::ReturnInst*>&, char const*,
llvm::ClonedCodeInfo*, llvm::DataLayout const*, llvm::Instruction*) + 657
10 clang           0x00000000023b34cb llvm::InlineFunction(llvm::CallSite,
llvm::InlineFunctionInfo&, bool) + 1499
11 clang           0x00000000017ef67d
12 clang           0x00000000017f1737
llvm::Inliner::runOnSCC(llvm::CallGraphSCC&) + 3719
13 clang           0x0000000002411729
14 clang           0x0000000002722a1d
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 797
15 clang           0x0000000000ada8f0
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
3152
16 clang           0x0000000000accb6c
17 clang           0x0000000000c760d3 clang::ParseAST(clang::Sema&, bool, bool)
+ 483
18 clang           0x0000000000acd87b clang::CodeGenAction::ExecuteAction() +
59
19 clang           0x000000000092fd06 clang::FrontendAction::Execute() + 118
20 clang           0x000000000090cb99
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 345
21 clang           0x00000000008f3bae
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2014
22 clang           0x00000000008ea9d8 cc1_main(llvm::ArrayRef<char const*>,
char const*, void*) + 2232
23 clang           0x00000000008c679e main + 4366
24 libc.so.6       0x0000003d73821ca5 __libc_start_main + 245
25 clang           0x00000000008e933d
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
SemaOpenMP.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version
2.25.51.0.1.20141203 -momit-leaf-frame-pointer -dwarf-column-info
-ffunction-sections -fdata-sections -coverage-file
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/tools/clang/lib/Sema/Release+Asserts/SemaOpenMP.o
-resource-dir
/export/build/gnu/llvm-clang-bootstrap/stage1/build-x86_64-linux/Release+Asserts/bin/../lib/clang/3.6.0
-dependency-file
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/tools/clang/lib/Sema/Release+Asserts/SemaOpenMP.d.tmp
-MP -MT
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/tools/clang/lib/Sema/Release+Asserts/SemaOpenMP.o
-MT
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/tools/clang/lib/Sema/Release+Asserts/SemaOpenMP.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/tools/clang/lib/Sema
-I /export/ssd/git/llvm/include -I /export/ssd/git/llvm/tools/clang/lib/Sema -I
/export/ssd/git/llvm/tools/clang/lib/Sema/../../include -I
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/tools/clang/lib/Sema/../../include
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/x86_64-redhat-linux
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/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.6.0/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O3
-Wcast-qual -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wcovered-switch-default -Wno-uninitialized -Wno-missing-field-initializers
-Wno-comment -pedantic -std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/tools/clang/lib/Sema
-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/tools/clang/lib/Sema/Release+Asserts/SemaOpenMP.o
-x c++ /export/ssd/git/llvm/tools/clang/lib/Sema/SemaOpenMP.cpp 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module
'/export/ssd/git/llvm/tools/clang/lib/Sema/SemaOpenMP.cpp'.
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.6.0 (ssh://llvm@gnu-4.sc.intel.com/export/server/git/llvm/clang
ff996645bfde8df72ebec94f7950deccd311177a) (llvm/llvm.git
94590ca4cfdc6ae0b7157829c559deea831c854f)
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.
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/SemaOpenMP-62ecd0.cpp
clang: note: diagnostic msg: /tmp/SemaOpenMP-62ecd0.sh
clang: note: diagnostic msg: 

********************
/usr/bin/rm: cannot remove
\u2018/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/tools/clang/lib/Sema/Release+Asserts/SemaOpenMP.d.tmp\u2019:
No such file or directory
make[7]: ***
[/export/build/gnu/llvm-clang-bootstrap/stage2/build-x86_64-linux/tools/clang/lib/Sema/Release+Asserts/SemaOpenMP.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/20141204/96170209/attachment.html>


More information about the llvm-bugs mailing list