[LLVMbugs] [Bug 18896] New: Linux kernel ARM: Compiled successfully but final report not generated.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 19 02:18:36 PST 2014


            Bug ID: 18896
           Summary: Linux kernel ARM: Compiled successfully but final
                    report not generated.
           Product: clang
           Version: 3.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: padhy.sivasankar at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12086
  --> http://llvm.org/bugs/attachment.cgi?id=12086&action=edit
This is the content of

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

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
scan-build: Please consider submitting a bug report using these files:
scan-build:   http://clang-analyzer.llvm.org/filing_bugs.html

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140219/2ebe7b69/attachment.html>

More information about the llvm-bugs mailing list