Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

'scan-build ./configure' loops on building 'conftest1.c/conftest2.c' #25501

Open Quuxplusone opened 8 years ago

Quuxplusone commented 8 years ago
Bugzilla Link PR25502
Status NEW
Importance P normal
Reported by Maarten Hoes (hoes.maarten@gmail.com)
Reported on 2015-11-12 02:51:52 -0800
Last modified on 2015-11-19 09:30:59 -0800
Version trunk
Hardware PC Linux
CC llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments conftest.tar.gz (50692 bytes, application/gzip)
Blocks
Blocked by
See also
Created attachment 15271
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
https://github.com/hercules-390/hyperion

[2]
checking whether getopt wrapper kludge is necessary...
Quuxplusone commented 8 years ago

Attached conftest.tar.gz (50692 bytes, application/gzip): The 'conftest1.c' and 'conftest2.c' ./configure testcases

Quuxplusone commented 8 years ago

Changing 'Assigned To' from 'Ted Kremenek' to 'Anna Zaks' because of changing of roles as per 'http://lists.llvm.org/pipermail/cfe-dev/2015-November/046026.html'