<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:fixitup@cartissolutions.com" title="mishehu <fixitup@cartissolutions.com>"> <span class="fn">mishehu</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Header search issues: slackware 14.1"
   href="http://llvm.org/bugs/show_bug.cgi?id=17945">bug 17945</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Header search issues: slackware 14.1"
   href="http://llvm.org/bugs/show_bug.cgi?id=17945#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Header search issues: slackware 14.1"
   href="http://llvm.org/bugs/show_bug.cgi?id=17945">bug 17945</a>
              from <span class="vcard"><a class="email" href="mailto:fixitup@cartissolutions.com" title="mishehu <fixitup@cartissolutions.com>"> <span class="fn">mishehu</span></a>
</span></b>
        <pre>Issue self-resolved.  Changed the configure line to:

--with-clang-resource-dir="../lib$LIBDIRSUFFIX/clang/3.4" \

Why does this always assume /usr/bin ?  Even if you set this line to:

--with-clang-resource-dir="/usr/lib$LIBDIRSUFFIX/clang/3.4" \

It will still prepend /usr/bin to it.

# clang -v /tmp/bah.c 
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
 "/usr/bin/clang" -cc1 -triple x86_64-slackware-linux-gnu -emit-obj -mrelax-all
-disable-free -disable-llvm-verifier -main-file-name bah.c -mrelocation-model
static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version
2.23.52.0.1.20130226 -v -resource-dir /usr/bin/../lib64/clang/3.4 -cxx-isystem
/usr/lib64/qt/include -cxx-isystem /usr/lib64/qt/include -internal-isystem
/usr/local/include -internal-isystem /usr/bin/../lib64/clang/3.4/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-fdebug-compilation-dir /usr/local/src/llvm-r195172/tmp -ferror-limit 19
-fmessage-length 130 -mstackrealign -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o
/tmp/bah-b60864.o -x c /tmp/bah.c
clang -cc1 version 3.4 based upon LLVM 3.4svn default target
x86_64-slackware-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/bin/../lib64/clang/3.4/include
 /usr/include
End of search list.
 "/usr/bin/ld" --eh-frame-hdr -m elf_x86_64 -dynamic-linker
/lib64/ld-linux-x86-64.so.2 -o a.out
/usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../lib64/crt1.o
/usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../lib64/crti.o
/usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2/crtbegin.o
-L/usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2
-L/usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../lib64
-L/lib/../lib64 -L/usr/lib/../lib64
-L/usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/lib
-L/usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2/../../.. -L/lib -L/usr/lib
/tmp/bah-b60864.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
--as-needed -lgcc_s --no-as-needed
/usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2/crtend.o
/usr/bin/../lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../lib64/crtn.o</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>