<div dir="ltr">Hi Francis,<div><br></div><div>No worries. In that case, you may want to file a bug for this on <a href="http://llvm.org/bugs">llvm.org/bugs</a>. If you do that, it would be interesting to attach the stderr output from the following command to the bug report:</div>
<div><br></div><div>/path-to-llvm-bin/lli -debug -use-mcjit <span style="font-size:13px;font-family:arial,sans-serif">-mtriple=x86_64-unknown-</span><u style="font-size:13px;font-family:arial,sans-serif"></u><span style="font-size:13px;font-family:arial,sans-serif">cygwin</span><span style="font-size:13px;font-family:arial,sans-serif">-elf </span><span style="font-size:13px;font-family:arial,sans-serif">/cygdrive/z/dev/llvm/x64/llvm/</span><u style="font-size:13px;font-family:arial,sans-serif"></u><span style="font-size:13px;font-family:arial,sans-serif">test/ExecutionEngine/MCJIT/</span><u style="font-size:13px;font-family:arial,sans-serif"></u><span style="font-size:13px;font-family:arial,sans-serif">tes</span><span style="font-size:13px;font-family:arial,sans-serif">t-setcond-fp.ll</span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif">That will include some diagnostics from the runtime linker which may help track down the cause of this issue.</span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif">Cheers,</span></div><div><span style="font-size:13px;font-family:arial,sans-serif">Lang.</span></div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 25, 2014 at 12:21 AM, Francis ANDRE <span dir="ltr"><<a href="mailto:francis.andre.kampbell@orange.fr" target="_blank">francis.andre.kampbell@orange.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi Lang<br>
    <br>
    <br>
    <div>Le 24/07/2014 18:17, Lang Hames a
      écrit :<br>
    </div><div class="">
    <blockquote type="cite">
      <div dir="ltr">Hi Francis,
        <div><br>
        </div>
        <div>It is possible to XFAIL a regression test (grep for XFAIL
          in the llvm/test directory for examples), however that's
          discouraged. The fact that this test is failing indicates that
          part of the JIT infrastructure is broken on W7/X86_64/Cygwin. </div>
        <div><br>
        </div>
        <div>How long have you been building LLVM in this configuration?
          Do you know whether this is a recent regression?</div>
      </div>
    </blockquote></div>
    I am a newcomer on LLVM so I do not have any historical view on this
    issue. <br><span class="HOEnZb"><font color="#888888">
    <br>
    Francis</font></span><div><div class="h5"><br>
    <blockquote type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Cheers,</div>
        <div>Lang.</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra">
        <br>
        <br>
        <div class="gmail_quote">On Tue, Jul 22, 2014 at 6:16 AM,
          Francis ANDRE <span dir="ltr"><<a href="mailto:francis.andre.kampbell@orange.fr" target="_blank">francis.andre.kampbell@orange.fr</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi LLVMDev
            list<br>
            <br>
            I am building LLVM from the SVN trunk at 213638 on a
            W7/X86_64/Cygwin system and running make check leads to a
            series of failed assertions like<br>
            <br>
            ********************<br>
            FAIL: LLVM :: ExecutionEngine/MCJIT/test-setcond-fp.ll (6185
            of 11245)<br>
            ******************** TEST 'LLVM ::
            ExecutionEngine/MCJIT/test-setcond-fp.ll' FAILED
            ********************<br>
            Script:<br>
            --<br>
            /cygdrive/z/dev/llvm/x64/static/Release+Asserts/bin/lli
            -use-mcjit -mtriple=x86_64-unknown-cygwin-elf
            /cygdrive/z/dev/llvm/x64/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll
            > /dev/null<br>
            --<br>
            Exit Code: 134<br>
            <br>
            Command Output (stderr):<br>
            --<br>
            assertion "RealOffset <= INT32_MAX && RealOffset
            >= INT32_MIN" failed: file "/cygdrive/z/dev/llvm/x64/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp",
            line 308, function: void llvm::RuntimeDyldELF::resolveX86_64Relocation(const
            llvm::SectionEntry&, uint64_t, uint64_t, uint32_t,
            int64_t, uint64_t)<br>
            Stack dump:<br>
            0.      Program arguments: /cygdrive/z/dev/llvm/x64/static/Release+Asserts/bin/lli
            -use-mcjit -mtriple=x86_64-unknown-cygwin-elf
            /cygdrive/z/dev/llvm/x64/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll<br>
            /cygdrive/z/dev/llvm/x64/static/test/ExecutionEngine/MCJIT/Output/test-setcond-fp.ll.script:
            line 1:  5552 Aborted /cygdrive/z/dev/llvm/x64/static/Release+Asserts/bin/lli
            -use-mcjit -mtriple=x86_64-unknown-cygwin-elf
            /cygdrive/z/dev/llvm/x64/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll
            > /dev/null<br>
            <br>
            --<br>
            <br>
            How could I deal with the configuration of LLVM to avoid
            such assertion error?<br>
            <br>
            FA<br>
            _______________________________________________<br>
            LLVM Developers mailing list<br>
            <a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
            <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>