<div dir="ltr">The crash dump looks like it's probably PR27071.<div>The bug was introduced in r261387 (which was merged into 3.8) and fixed in r264465 (which apparently wasn't).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 31, 2016 at 3:50 PM, Bernhard Rosenkränzer <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br></div>On the OpenMandriva side, x86_64 passes all checks. We're having some problems with other architectures though (see below):<br><br></div>x86_64 succeeded, packages are here:<br><a href="https://abf.openmandriva.org/build_lists/76792" target="_blank">https://abf.openmandriva.org/build_lists/76792</a><br><br></div><div>i586 fails to build, but this seems to be an issue with 3.8.1 (which we're using to build 3.9):<br><pre>/usr/bin/clang++   -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support -I../lib/Support -Iinclude -I../include -Os  -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4  -fomit-frame-pointer -mtune=atom -march=i586 -fasynchronous-unwind-tables -march=i686 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=date-time -std=c++1y -fcolor-diagnostics -ffunction-sections -fdata-sections -Os  -pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4  -fomit-frame-pointer -mtune=atom -march=i586 -fasynchronous-unwind-tables -march=i686 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o -c ../lib/Support/PrettyStackTrace.cpp
clang-3.8: ../include/llvm/CodeGen/MachineOperand.h:411: int64_t llvm::MachineOperand::getImm() const: Assertion `isImm() && "Wrong MachineOperand accessor"' failed.
#0 0xfffffffff4abd075 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/lib/libLLVMSupport.so.3.8+0x95075)
#1 0xfffffffff4abd2c7 (/usr/lib/libLLVMSupport.so.3.8+0x952c7)
#2 0xfffffffff4abbbf1 llvm::sys::RunSignalHandlers() (/usr/lib/libLLVMSupport.so.3.8+0x93bf1)
#3 0xfffffffff4abbf49 (/usr/lib/libLLVMSupport.so.3.8+0x93f49)
#4 0xfffffffff7714d20  0xd20 __GI_raise
#5 0xfffffffff7714d20 
#6 0xfffffffff7714d20 __GI_abort (+0xd20)
#7 0xfffffffff4650ef0 __GI___assert_fail (/lib/libc.so.6+0x26ef0)
#8 0xfffffffff46520e5 __GI___assert_perror_fail (/lib/libc.so.6+0x280e5)
#9 0xfffffffff464b126 (/lib/libc.so.6+0x21126)
#10 0xfffffffff464b162 llvm::X86InstrInfo::getSPAdjust(llvm::MachineInstr const*) const (/lib/libc.so.6+0x21162)
#11 0xfffffffff65a0db6 (/usr/lib/libLLVMX86CodeGen.so.3.8+0x30db6)
#12 0xfffffffff667640d (/usr/lib/libLLVMX86CodeGen.so.3.8+0x10640d)
#13 0xfffffffff61029dc llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/usr/lib/libLLVMCodeGen.so.3.8+0x1739dc)
#14 0xfffffffff6105002 llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/lib/libLLVMCodeGen.so.3.8+0x176002)
#15 0xfffffffff60ab337 llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/lib/libLLVMCodeGen.so.3.8+0x11c337)
#16 0xfffffffff50d7e6f llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/lib/libLLVMCore.so.3.8+0x19de6f)
#17 0xfffffffff50d816b llvm::legacy::PassManager::run(llvm::Module&) (/usr/lib/libLLVMCore.so.3.8+0x19e16b)
#18 0xfffffffff50d857f clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*) (/usr/lib/libLLVMCore.so.3.8+0x19e57f)
#19 0xfffffffff50d8734 (/usr/lib/libLLVMCore.so.3.8+0x19e734)
#20 0xfffffffff59fc72c clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/libclangCodeGen.so.3.8+0x6972c)
#21 0xfffffffff5b2cd85 clang::ASTFrontendAction::ExecuteAction() (/usr/lib/libclangCodeGen.so.3.8+0x199d85)
#22 0xfffffffff3b2b294 clang::CodeGenAction::ExecuteAction() (/usr/lib/libclangParse.so.3.8+0x24294)
#23 0xfffffffff582583e clang::FrontendAction::Execute() (/usr/lib/libclangFrontend.so.3.8+0x8783e)
#24 0xfffffffff5b2d3e1 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/libclangCodeGen.so.3.8+0x19a3e1)
#25 0xfffffffff5826660 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/libclangFrontend.so.3.8+0x88660)
#26 0xfffffffff58029e1 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/lib/libclangFrontend.so.3.8+0x649e1)
#27 0xfffffffff579aead main (/usr/lib/libclangFrontendTool.so.3.8+0x2ead)
#28 0x08057178 __libc_start_main (/usr/bin/clang-3.8+0x8057178)
#29 0x08052a9b _start (/usr/bin/clang-3.8+0x8052a9b)
0  libLLVMSupport.so.3.8       0xf4abd075 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1  libLLVMSupport.so.3.8       0xf4abd2c7
2  libLLVMSupport.so.3.8       0xf4abbbf1 llvm::sys::RunSignalHandlers() + 60
3  libLLVMSupport.so.3.8       0xf4abbf49
4                              0xf7714d20 __kernel_sigreturn + 0
5  libc.so.6                   0xf4650ef0 gsignal + 73
6  libc.so.6                   0xf46520e5 abort + 278
7  libc.so.6                   0xf464b126 __assert_fail + 0
8  libc.so.6                   0xf464b162 __assert_perror_fail + 0
9  libLLVMX86CodeGen.so.3.8    0xf65a0db6
10 libLLVMX86CodeGen.so.3.8    0xf667640d llvm::X86InstrInfo::getSPAdjust(llvm::MachineInstr const*) const + 365
11 libLLVMCodeGen.so.3.8       0xf61029dc
12 libLLVMCodeGen.so.3.8       0xf6105002
13 libLLVMCodeGen.so.3.8       0xf60ab337 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 169
14 libLLVMCore.so.3.8          0xf50d7e6f llvm::FPPassManager::runOnFunction(llvm::Function&) + 243
15 libLLVMCore.so.3.8          0xf50d816b llvm::FPPassManager::runOnModule(llvm::Module&) + 47
16 libLLVMCore.so.3.8          0xf50d857f llvm::legacy::PassManagerImpl::run(llvm::Module&) + 445
17 libLLVMCore.so.3.8          0xf50d8734 llvm::legacy::PassManager::run(llvm::Module&) + 32
18 libclangCodeGen.so.3.8      0xf59fc72c clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*) + 8185
19 libclangCodeGen.so.3.8      0xf5b2cd85
20 libclangParse.so.3.8        0xf3b2b294 clang::ParseAST(clang::Sema&, bool, bool) + 624
21 libclangFrontend.so.3.8     0xf582583e clang::ASTFrontendAction::ExecuteAction() + 182
22 libclangCodeGen.so.3.8      0xf5b2d3e1 clang::CodeGenAction::ExecuteAction() + 161
23 libclangFrontend.so.3.8     0xf5826660 clang::FrontendAction::Execute() + 88
24 libclangFrontend.so.3.8     0xf58029e1 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 771
25 libclangFrontendTool.so.3.8 0xf579aead clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2953
26 clang-3.8                   0x08057178 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1178
27 clang-3.8                   0x08052a9b main + 1723
28 libc.so.6                   0xf46424e7 __libc_start_main + 361
29 clang-3.8                   0x08054f80
Stack dump:
0.      Program arguments: /usr/bin/clang-3.8 -cc1 -triple i686-pc-linux-gnu -emit-obj -disable-free -main-file-name PrettyStackTrace.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu i686 -momit-leaf-frame-pointer -dwarf-column-info -debugger-tuning=gdb -ffunction-sections -fdata-sections -coverage-file /builddir/build/BUILD/llvm-3.9.0.src/build/lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o -resource-dir /usr/bin/../lib/clang/3.8.1 -dependency-file lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o.d -sys-header-deps -MT lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o -D _GNU_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I lib/Support -I ../lib/Support -I include -I ../include -D _FORTIFY_SOURCE=2 -D _LARGEFILE_SOURCE=1 -D _LARGEFILE64_SOURCE=1 -D _FILE_OFFSET_BITS=64 -D _FORTIFY_SOURCE=2 -D _LARGEFILE_SOURCE=1 -D _LARGEFILE64_SOURCE=1 -D _FILE_OFFSET_BITS=64 -internal-isystem /usr/bin/../lib/gcc/i586-mandriva-linux-gnu/5.4.1/../../../../include/c++/5.4.1 -internal-isystem /usr/bin/../lib/gcc/i586-mandriva-linux-gnu/5.4.1/../../../../include/c++/5.4.1/i586-mandriva-linux-gnu -internal-isystem /usr/bin/../lib/gcc/i586-mandriva-linux-gnu/5.4.1/../../../../include/c++/5.4.1/backward -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.8.1/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Os -Wformat -Werror=format-security -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Werror=date-time -Wformat -Werror=format-security -pedantic -std=c++1y -fdeprecated-macro -fdebug-compilation-dir /builddir/build/BUILD/llvm-3.9.0.src/build -ferror-limit 19 -fmessage-length 0 -fvisibility-inlines-hidden -stack-protector 1 -stack-protector-buffer-size 4 -stack-protector-buffer-size 4 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o -x c++ ../lib/Support/PrettyStackTrace.cpp 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module '../lib/Support/PrettyStackTrace.cpp'.
4.      Running pass 'Prologue/Epilogue Insertion & Frame Finalization' on function '@_ZN4llvm21PrettyStackTraceEntryD0Ev'
clang-3.8: error: unable to execute command: Aborted (core dumped)
clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.8.1 (tags/RELEASE_381/rc1)
Target: i686-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang-3.8: note: diagnostic msg: PLEASE submit a bug report to <a href="http://llvm.org/bugs/" target="_blank">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and associated run script.
clang-3.8: 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.8: note: diagnostic msg: /tmp/PrettyStackTrace-74cffb.cpp
clang-3.8: note: diagnostic msg: /tmp/PrettyStackTrace-74cffb.sh
clang-3.8: note: diagnostic msg: 
********************<br><br></pre>armv7hnl fails to build libunwind, but this is likely a configuration issue:<br><pre>CMake Error at projects/libunwind/src/CMakeLists.txt:76 (message):
  Compiler doesn't support generation of unwind tables if exception support
  is disabled.  Building libunwind DSO with runtime dependency on C++ ABI
  library is not supported.<br><br></pre>aarch64 is currently untested because of problems with our only aarch64 build box, but that should be fixed soon.<br></div><div><br></div>We don't currently have access to sftp.<br><br></div>ttyl<br></div>bero<br></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 30 July 2016 at 00:57, Hans Wennborg via Release-testers <span dir="ltr"><<a href="mailto:release-testers@lists.llvm.org" target="_blank">release-testers@lists.llvm.org</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Dear testers,<br>
<br>
3.9.0-rc1 was just tagged from the 3.9 branch at r277207.<br>
<br>
This took a little longer than I'd hoped, but I think the branch is in<br>
a decent state now.<br>
<br>
There are still open merge requests and bugs, but I'd like to get the<br>
real testing started to see where we're at.<br>
<br>
Please build, test, and upload binaries to the sftp. Let me know how<br>
it goes. I'll upload source, docs, and your binaries to the<br>
pre-release page once they're ready.<br>
<br>
Thanks,<br>
Hans<br>
_______________________________________________<br></span>
Release-testers mailing list<br>
<a href="mailto:Release-testers@lists.llvm.org" target="_blank">Release-testers@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/release-testers" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/release-testers</a><br>
</blockquote></div><br></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>