[LLVMbugs] [Bug 23009] New: scan-build unable to "find" clang binary due to POSIX ACL

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 24 14:18:38 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23009

            Bug ID: 23009
           Summary: scan-build unable to "find" clang binary due to POSIX
                    ACL
           Product: clang
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: sverd.johnsen+llvm at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

% stat --format="%A (%a)" /usr/bin/clang
-r-xr-x--- (550)

% getfacl /usr/bin/clang
getfacl: Removing leading '/' from absolute path names
# file: usr/bin/clang
# owner: root
# group: root
user::r-x
group::r-x
group:build:r-x
mask::r-x
other::---

% clang -v
clang version 3.6.0 (tags/RELEASE_360/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Found candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.9.2
Found candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2
Found candidate GCC installation: /usr/lib64/gcc/x86_64-unknown-linux-gnu/4.9.2
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.9.2
Candidate multilib: .;@m64
Selected multilib: .;@m64

% scan-build make
scan-build: error: Cannot find an executable 'clang' relative to scan-build. 
Consider using --use-analyzer to pick a version of 'clang' to use for static
analysis.

When setting mode to 0555 problem is solved.

-- 
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/20150324/63a3efea/attachment.html>


More information about the llvm-bugs mailing list