<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW " title="NEW --- - between r241513 and r241594, clang 3.7.0svn now crashes building clang-tools-extra" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24054&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=7pUoBQ30lM8HfE4xU3l-G7h_ZZIGNmFoGIrzGyRmaOo&s=OMWLG6JLqKFbR4wB5eqUJz5yknQ7DoV2mwfCtHGT0K8&e=">24054</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>between r241513 and r241594, clang 3.7.0svn now crashes building clang-tools-extra
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>howarth.mailing.lists@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>On x86_64-apple-darwin14 at r241513, the clang compiler from a stage1 build
successfully built clang-tools-extra as expected. At r241594, a regression is
now present where the stage 1 clang 3.7.0svn compiler now crashes in the build
of clang-tools-extra as follows...
Assertion failed: (Val && "isa<> used on a null pointer"), function doit, file
/sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/include/llvm/Support/Casting.h,
line 95.
0 libLLVMSupport.3.7.0.dylib 0x00000001087e9e09
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 57
1 libLLVMSupport.3.7.0.dylib 0x00000001087ea9fb SignalHandler(int) +
875
2 libsystem_platform.dylib 0x00007fff97427f1a _sigtramp + 26
3 libsystem_platform.dylib 0x00007fff58cdc578 _sigtramp + 3247130232
4 libLLVMSupport.3.7.0.dylib 0x00000001087ea5e6 abort + 22
5 libLLVMSupport.3.7.0.dylib 0x00000001087ea5c1 __assert_rtn + 81
6 libLLVMTransformUtils.3.7.0.dylib 0x0000000108870236
llvm::ConstantFoldTerminator(llvm::BasicBlock*, bool, llvm::TargetLibraryInfo
const*) + 3782
7 libLLVMScalarOpts.3.7.0.dylib 0x000000010867905b (anonymous
namespace)::IPSCCP::runOnModule(llvm::Module&) + 6043
8 libLLVMCore.3.7.0.dylib 0x0000000108131aa3
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1123
9 libclangCodeGen.3.7.0.dylib 0x0000000109ea94da
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*)
+ 7866
10 libclangCodeGen.3.7.0.dylib 0x000000010a0347f2
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 514
11 libclangParse.3.7.0.dylib 0x0000000109568ed4
clang::ParseAST(clang::Sema&, bool, bool) + 468
12 libclangFrontend.3.7.0.dylib 0x0000000108c76aab
clang::FrontendAction::Execute() + 75
13 libclangFrontend.3.7.0.dylib 0x0000000108c408ac
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 956
14 libclangFrontendTool.3.7.0.dylib 0x0000000108d1136c
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 4140
15 clang-3.7 0x0000000106f2d338
cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 936
16 clang-3.7 0x0000000106f2bde0 main + 11488
17 libdyld.dylib 0x00007fff901a45c9 start + 1
18 libdyld.dylib 0x0000000000000053 start + 1877326475
Stack dump:
0. Program arguments:
/sw/src/fink.build/llvm37-3.7.0-1/build/stage1/bin/clang-3.7 -cc1 -triple
x86_64-apple-macosx10.10.0 -emit-obj -disable-free -main-file-name
ARMISelLowering.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2
-target-linker-version 242.2 -dwarf-column-info -coverage-file
/sw/src/fink.build/llvm37-3.7.0-1/build/stage2/lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/ARMISelLowering.cpp.o
-resource-dir
/sw/src/fink.build/llvm37-3.7.0-1/build/stage1/bin/../lib/clang/3.7.0
-cxx-isystem
/sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/../libcxx-3.7.0.src/include -D
GTEST_HAS_RTTI=0 -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
__STDC_LIMIT_MACROS -D NDEBUG -I
/sw/src/fink.build/llvm37-3.7.0-1/build/stage2/lib/Target/ARM -I
/sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/lib/Target/ARM -I
/sw/src/fink.build/llvm37-3.7.0-1/build/stage2/include -I
/sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/include -stdlib=libc++ -O3
-Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -Wno-long-long -Wnon-virtual-dtor -pedantic
-std=c++11 -fdeprecated-macro -fdebug-compilation-dir
/sw/src/fink.build/llvm37-3.7.0-1/build/stage2/lib/Target/ARM -ferror-limit 19
-fmessage-length 141 -fvisibility-inlines-hidden -stack-protector 1
-mstackrealign -fblocks -fno-rtti -fobjc-runtime=macosx-10.10.0
-fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -vectorize-slp -o
CMakeFiles/LLVMARMCodeGen.dir/ARMISelLowering.cpp.o -x c++
/sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/lib/Target/ARM/ARMISelLowering.cpp
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'Interprocedural Sparse Conditional Constant Propagation' on
module
'/sw/src/fink.build/llvm37-3.7.0-1/llvm-3.7.0.src/lib/Target/ARM/ARMISelLowering.cpp'.
clang-3.7: error: unable to execute command: Illegal instruction: 4
clang-3.7: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.7.0 (trunk)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
clang-3.7: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_bugs_&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=7pUoBQ30lM8HfE4xU3l-G7h_ZZIGNmFoGIrzGyRmaOo&s=pGyc4hrBdQk_bVF9edak_Oc0R8HuBL0U7kU5hjpJYrY&e=">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.7: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.7: note: diagnostic msg:
/var/folders/nm/5lklm6011cz5jb2ms9b_ynl00000ks/T/ARMISelLowering-ab6090.cpp
clang-3.7: note: diagnostic msg:
/var/folders/nm/5lklm6011cz5jb2ms9b_ynl00000ks/T/ARMISelLowering-ab6090.sh
clang-3.7: note: diagnostic msg:
********************</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>