<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 --- - Header search issues: slackware 14.1"
   href="http://llvm.org/bugs/show_bug.cgi?id=17945">17945</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Header search issues: slackware 14.1
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>fixitup@cartissolutions.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=11544" name="attach_11544" title="Slackbuild script for llvm/clang">attachment 11544</a> <a href="attachment.cgi?id=11544&action=edit" title="Slackbuild script for llvm/clang">[details]</a></span>
Slackbuild script for llvm/clang

$ clang -cc1 /tmp/bah.c 
/tmp/bah.c:1:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^
1 error generated.

bah.c is the "Hello world" test in the FAQ page about the header issues.  I am
using Slackware64 14.1, and llvm/clang built with the llvm.Slackbuild script
enclosed works perfectly well with llvm/clang 3.3, but not with svn trunk. 
I've tried both r194783 and r194815 (same trunk revision for both cfe and llvm
checkouts), and I have this issue with both of them.

# clang -v
clang version 3.4 (trunk)
Target: x86_64-slackware-linux-gnu
Thread model: posix
Found candidate GCC installation:
/usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2
Found candidate GCC installation: /usr/lib64/gcc/x86_64-slackware-linux/4.8.2
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2

I do not know if this issue is at all related to
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - libclang does not get the header search correct"
   href="show_bug.cgi?id=17776">http://llvm.org/bugs/show_bug.cgi?id=17776</a> , but I'm referencing it here in
case this should be merged in with that bug.</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>