<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">The ‘not’ not in the path thing is not deterministic (are you still following :)).<div>I will look closer that particular failure.<br><div><br></div><div>But the segmentation fault is deterministic.</div><div>I suggest you revert it until you figure out what is going on here.</div><div><br></div><div>Here is the debugger backtrace so that you see the line numbers.</div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">* thread #1: tid = 0x2c9cdf, 0x0000000100375d5c llc`llvm::Value::getType(this=0x8b48c8758948f875) const + 12 at Value.h:108, queue = 'com.apple.main-thread, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #0: 0x0000000100375d5c llc`llvm::Value::getType(this=0x8b48c8758948f875) const + 12 at Value.h:108</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #1: 0x0000000100288925 llc`llvm::GlobalValue::getType(this=0x8b48c8758948f875) const + 21 at GlobalValue.h:109</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #2: 0x00000001013510b0 llc`llvm::TypeFinder::run(this=0x00007fff5fbfe3f8, M=0x0000000101328ec0, onlyNamed=false) + 128 at TypeFinder.cpp:29</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #3: 0x00000001011964fc llc`llvm::TypePrinting::incorporateTypes(this=0x00007fff5fbfe3f8, M=0x0000000101328ec0) + 76 at AsmWriter.cpp:163</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #4: 0x0000000101198471 llc`llvm::WriteAsOperand(Out=0x00007fff5fbfe5d8, V=0x0000000102c06ae0, PrintType=false, Context=0x0000000101328ec0) + 225 at AsmWriter.cpp:1191</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #5: 0x0000000100a86218 llc`lowerConstant(CV=0x0000000102c06ae0, AP=0x0000000102c169c0) + 1032 at AsmPrinter.cpp:1492</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #6: 0x0000000100a83cc1 llc`emitGlobalConstantImpl(CV=0x0000000102c06ae0, AP=0x0000000102c169c0) + 977 at AsmPrinter.cpp:1922</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #7: 0x0000000100a7d58d llc`llvm::AsmPrinter::EmitGlobalConstant(this=0x0000000102c169c0, CV=0x0000000102c06ae0) + 93 at AsmPrinter.cpp:1929</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #8: 0x0000000100a7cd88 llc`llvm::AsmPrinter::EmitGlobalVariable(this=0x0000000102c169c0, GV=0x0000000102c06bd8) + 2584 at AsmPrinter.cpp:414</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #9: 0x0000000100a80dde llc`llvm::AsmPrinter::doFinalization(this=0x0000000102c169c0, M=0x0000000102c064f0) + 174 at AsmPrinter.cpp:868</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #10: 0x000000010132769c llc`llvm::FPPassManager::doFinalization(this=0x0000000102c0ae80, M=0x0000000102c064f0) + 92 at PassManager.cpp:1568</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #11: 0x0000000101327e50 llc`llvm::MPPassManager::runOnModule(this=0x0000000102c07bd0, M=0x0000000102c064f0) + 1904 at PassManager.cpp:1625</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #12: 0x00000001013286ee llc`llvm::PassManagerImpl::run(this=0x0000000102c078e0, M=0x0000000102c064f0) + 302 at PassManager.cpp:1703</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #13: 0x0000000101328981 llc`llvm::PassManager::run(this=0x00007fff5fbff4d8, M=0x0000000102c064f0) + 33 at PassManager.cpp:1738</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #14: 0x0000000100002c40 llc`compileModule(argv=0x00007fff5fbffbc0, Context=0x0000000102c03ce0) + 6320 at llc.cpp:378</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #15: 0x0000000100001322 llc`main(argc=1, argv=0x00007fff5fbffbc0) + 226 at llc.cpp:196</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">    frame #16: 0x00007fff8857e60d libdyld.dylib`start + 1</div><div><br></div><div>Thanks,</div><div><br></div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">-Quentin</div>

</div>
<br><div><div>On Jul 10, 2013, at 6:22 PM, Quentin Colombet <<a href="mailto:qcolombet@apple.com">qcolombet@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Also is it expected that llc is doing a segmentation fault?<div><br></div><div>See <span style="background-color: rgb(0, 0, 0); color: rgb(255, 255, 255); font-family: Menlo; font-size: 11px;">nonconst-static-ev.ll.tmp</span><div apple-content-edited="true"><div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">In my previous post.</div><div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br></div><div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Put here again:</div><div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="margin: 0px; font-size: 11px; font-family: Menlo;">0  llc                      0x0000000109e566ce llvm::sys::PrintStackTrace(__sFILE*) + 46</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">1  llc                      0x0000000109e569db PrintStackTraceSignalHandler(void*) + 27</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">2  llc                      0x0000000109e56d58 SignalHandler(int) + 408</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">3  libsystem_platform.dylib 0x00007fff86e5f5ca _sigtramp + 26</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">4  libsystem_platform.dylib 0x00007fff5718ae40 _sigtramp + 3492984976</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">5  llc                      0x0000000108cfb925 llvm::GlobalValue::getType() const + 21</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">6  llc                      0x0000000109dc40b0 llvm::TypeFinder::run(llvm::Module const&, bool) + 128</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">7  llc                      0x0000000109c094fc llvm::TypePrinting::incorporateTypes(llvm::Module const&) + 76</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">8  llc                      0x0000000109c0b471 llvm::WriteAsOperand(llvm::raw_ostream&, llvm::Value const*, bool, llvm::Module const*) + 225</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">9  llc                      0x00000001094f9218 lowerConstant(llvm::Constant const*, llvm::AsmPrinter&) + 1032</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">10 llc                      0x00000001094f6cc1 emitGlobalConstantImpl(llvm::Constant const*, llvm::AsmPrinter&) + 977</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">11 llc                      0x00000001094f058d llvm::AsmPrinter::EmitGlobalConstant(llvm::Constant const*) + 93</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">12 llc                      0x00000001094efd88 llvm::AsmPrinter::EmitGlobalVariable(llvm::GlobalVariable const*) + 2584</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">13 llc                      0x00000001094f3dde llvm::AsmPrinter::doFinalization(llvm::Module&) + 174</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">14 llc                      0x0000000109d9a69c llvm::FPPassManager::doFinalization(llvm::Module&) + 92</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">15 llc                      0x0000000109d9ae50 llvm::MPPassManager::runOnModule(llvm::Module&) + 1904</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">16 llc                      0x0000000109d9b6ee llvm::PassManagerImpl::run(llvm::Module&) + 302</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">17 llc                      0x0000000109d9b981 llvm::PassManager::run(llvm::Module&) + 33</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">18 llc                      0x0000000108a75c40 compileModule(char**, llvm::LLVMContext&) + 6320</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">19 llc                      0x0000000108a74322 main + 226</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">20 libdyld.dylib            0x00007fff8857e60d start + 1</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Stack dump:</div><div><br></div></div><div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br></div><div style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">-Quentin</div></div><br><div><div>On Jul 10, 2013, at 6:19 PM, Quentin Colombet <<a href="mailto:qcolombet@apple.com">qcolombet@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><br class="Apple-interchange-newline">On Jul 10, 2013, at 6:11 PM, Hal Finkel <<a href="mailto:hfinkel@anl.gov">hfinkel@anl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">----- Original Message -----<br><blockquote type="cite"><br>The complete output may be useful too!<br><br><br>Apparently the path to ‘not' is not expanded.<br></blockquote><br>Can you see if you can figure out why? I believe that the relevant code below this in test/lit.cfg :<br></div></blockquote>I will try to gather more information.<br><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>               # Handle these specially as they are strings searched<br>               # for during testing.<br>               r"\| \bcount\b",         r"\| \bnot\b"]:<br><br>Also, FWIW, it seems to work on the buildbots, right?</div></blockquote>Not on some internal buildbot.</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">which is strange.</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>-Hal<br><br><blockquote type="cite"><br><br><br><br>-Quentin<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>On Jul 10, 2013, at 5:37 PM, Quentin Colombet <<span class="Apple-converted-space"> </span><a href="mailto:qcolombet@apple.com">qcolombet@apple.com</a><span class="Apple-converted-space"> </span>><br>wrote:<br><br><br><br>Hi Hal,<br><br><br>This is failing for me on OSX:<br><br>-bash: not: command not found<br><br><br><br>-Quentin<br><br><br>On Jul 10, 2013, at 4:25 PM, Hal Finkel <<span class="Apple-converted-space"> </span><a href="mailto:hfinkel@anl.gov">hfinkel@anl.gov</a><span class="Apple-converted-space"> </span>> wrote:<br><br><br><br>Author: hfinkel<br>Date: Wed Jul 10 18:25:03 2013<br>New Revision: 186046<br><br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=186046&view=rev">http://llvm.org/viewvc/llvm-project?rev=186046&view=rev</a><br>Log:<br>Set REQUIRES shell on the test cases for r186044<br><br>Trying to fix the i686-mingw32 build.<br><br>Modified:<br>llvm/trunk/test/Other/nonconst-static-ev.ll<br>llvm/trunk/test/Other/nonconst-static-iv.ll<br><br>Modified: llvm/trunk/test/Other/nonconst-static-ev.ll<br>URL:<br><a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/nonconst-static-ev.ll?rev=186046&r1=186045&r2=186046&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/nonconst-static-ev.ll?rev=186046&r1=186045&r2=186046&view=diff</a><br>==============================================================================<br>--- llvm/trunk/test/Other/nonconst-static-ev.ll (original)<br>+++ llvm/trunk/test/Other/nonconst-static-ev.ll Wed Jul 10 18:25:03<br>2013<br>@@ -1,6 +1,7 @@<br>; RUN: not llc < %s 2> %t<br>; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s<br>; XFAIL: hexagon<br>+; REQUIRES: shell<br><br>@0 = global i8 extractvalue ([1 x i8] select (i1 ptrtoint (i32* @1 to<br>i1), [1 x i8] [ i8 1 ], [1 x i8] [ i8 2 ]), 0)<br>@1 = external global i32<br><br>Modified: llvm/trunk/test/Other/nonconst-static-iv.ll<br>URL:<br><a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/nonconst-static-iv.ll?rev=186046&r1=186045&r2=186046&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/nonconst-static-iv.ll?rev=186046&r1=186045&r2=186046&view=diff</a><br>==============================================================================<br>--- llvm/trunk/test/Other/nonconst-static-iv.ll (original)<br>+++ llvm/trunk/test/Other/nonconst-static-iv.ll Wed Jul 10 18:25:03<br>2013<br>@@ -1,6 +1,7 @@<br>; RUN: not llc < %s 2> %t<br>; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s<br>; XFAIL: hexagon<br>+; REQUIRES: shell<br><br>@0 = global i8 insertvalue( { i8 } select (i1 ptrtoint (i32* @1 to<br>i1), { i8 } { i8 1 }, { i8 } { i8 2 }), i8 0, 0)<br>@1 = external global i32<br><br><br>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br>_______________________________________________<br>llvm-commits mailing list<br>llvm-commits@cs.uiuc.edu<br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br><br></blockquote><br>--<span class="Apple-converted-space"> </span><br>Hal Finkel<br>Assistant Computational Scientist<br>Leadership Computing Facility<br>Argonne National Laboratory</div></blockquote></div><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">llvm-commits mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><a href="mailto:llvm-commits@cs.uiuc.edu" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">llvm-commits@cs.uiuc.edu</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a></blockquote></div><br></div>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a></div></blockquote></div><br></div></div></body></html>