[cfe-dev] 'scan-build ./configure' hang

Craig, Ben via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 11 13:28:43 PST 2015


I usually run 'top' in another console.  Often, you will find an 
instance of clang running the analyzer.  It is usually taking a fair 
amount of CPU and memory.

If this is the case, then you may be able to look at the command line to 
see which part of the configure is causing the slow build.

On 11/11/2015 3:18 PM, Maarten Hoes via cfe-dev wrote:
> Hi,
>
>
> 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 hang (or at least perform so slowly that it appears to 
> hang). If I just run './configure' without scan-build, the configure 
> finishes quite fast and as expected. I'm running the latest svn 
> version (r252789) of llvm/clang/scan-build on Fedora 23.
>
> I aborted the scan-build and took a look at 'config.log' but must 
> admit I'm not quite sure what to look for.
>
> Any and all help to figure out what is going on here, and help fix it, 
> is appreciated.
>
>
> Thanks,
>
>
> - Maarten
>
>
>
> [1]
> Hyperion
> https://github.com/hercules-390/hyperion
>
> [2]
> checking whether getopt wrapper kludge is necessary...
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151111/93be1bbf/attachment.html>


More information about the cfe-dev mailing list