<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Clang report header file not found when using -E but file exists"
   href="https://bugs.llvm.org/show_bug.cgi?id=39622">39622</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Clang report header file not found when using -E but file exists
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </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>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>htmldeveloper@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>echo "#include <armintr.h>" | clang -E -
In file included from <stdin>:1:
/root/build/lib/clang/8.0.0/include/armintr.h:26:15: fatal error: 'armintr.h'
      file not found
#include_next <armintr.h>
              ^~~~~~~~~~~
# 1 "<stdin>"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 350 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "<stdin>" 2
# 1 "/root/build/lib/clang/8.0.0/include/armintr.h" 1 3
# 2 "<stdin>" 2

1 error generated.

But the file is there:

ls -al /root/build/lib/clang/8.0.0/include/armintr.h
-rw-r--r-- 1 root root 1714 Nov 10 05:53
/root/build/lib/clang/8.0.0/include/armintr.h

clang --version
clang version 8.0.0 (trunk 346579) (llvm/trunk 346569)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /root/build/bin</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>