<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 --- - 'scan-build ./configure' loops on building 'conftest1.c/conftest2.c'"
   href="https://llvm.org/bugs/show_bug.cgi?id=25502">25502</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>'scan-build ./configure' loops on building 'conftest1.c/conftest2.c'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>Static Analyzer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>kremenek@apple.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hoes.maarten@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=15271" name="attach_15271" title="The 'conftest1.c' and 'conftest2.c' ./configure testcases">attachment 15271</a> <a href="attachment.cgi?id=15271&action=edit" title="The 'conftest1.c' and 'conftest2.c' ./configure testcases">[details]</a></span>
The 'conftest1.c' and 'conftest2.c' ./configure testcases

I'm trying to analyze a certain project [1] with the clang-analyzer. But at a
certain step [2] during 'scan-build ./configure', the command appears to loop.
This step is trying to compile 2 small C testcases, 'conftest1.c' and
'conftest2.c' (which Ive included in the attachment), and the executed
commandline is this :

/bin/sh ./libtool --mode=compile /usr/local/bin/../libexec/ccc-analyzer
conftest1.c -c -o conftest1.lo

Running this on the command line gives me endless lines of this :

Waiting for -c.o.lock to be removed
Waiting for -c.o.lock to be removed
Waiting for -c.o.lock to be removed

If I just run './configure' without scan-build, the configure finishes quite
fast and as expected. I'm running a recent svn version (r252789) of
llvm/clang/scan-build on Fedora 23.


[1]
Hyperion
<a href="https://github.com/hercules-390/hyperion">https://github.com/hercules-390/hyperion</a>

[2]
checking whether getopt wrapper kludge is necessary...</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>