<html>
<head>
<base href="http://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 --- - Linux kernel ARM: Compiled successfully but final report not generated."
href="http://llvm.org/bugs/show_bug.cgi?id=18896">18896</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Linux kernel ARM: Compiled successfully but final report not generated.
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.3
</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>release blocker
</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>padhy.sivasankar@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=12086" name="attach_12086" title="This is the content of /tmp/scan-build-2014-02-19-4/failures/clang_other_error....">attachment 12086</a> <a href="attachment.cgi?id=12086&action=edit" title="This is the content of /tmp/scan-build-2014-02-19-4/failures/clang_other_error....">[details]</a></span>
This is the content of
/tmp/scan-build-2014-02-19-4/failures/clang_other_error....
I am trying to generate the report using scan-build for Linux Kernel on ARM.
I used following command.
1. export HOSTCC=/usr/bin/clang
2. scan-build -v --use-cc=arm-none-linux-gnueabi-gcc make ARCH=arm
CROSS_COMPILE=arm-none-linux-gnueabi- uImage
This is compiling my kernel successfully.
here /usr/share/clang/scan-build/ccc-analyzer uses arm-none-linux-gnueabi-gcc
as the cross compiler and uses /usr/bin/clang as the analyzer.
I am getting on verbose also.. like 1 error generated. 3 warning genereted
etc..
At the end i am not getting proper report.
---------------------
Image Name: Linux-3.10.11+
Created: Wed Feb 19 15:06:20 2014
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1892456 Bytes = 1848.10 kB = 1.80 MB
Load Address: 00008000
Entry Point: 00008000
scan-build: 0 bugs found.
scan-build: The analyzer encountered problems on some source files.
scan-build: Preprocessed versions of these sources were deposited in
'/tmp/scan-build-2014-02-19-4/failures'.
scan-build: Please consider submitting a bug report using these files:
scan-build: <a href="http://clang-analyzer.llvm.org/filing_bugs.html">http://clang-analyzer.llvm.org/filing_bugs.html</a></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>