<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - gallium/opencl opencl-examples test failures"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63650#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - gallium/opencl opencl-examples test failures"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63650">bug 63650</a>
              from <span class="vcard"><a class="email" href="mailto:pontostroy@gmail.com" title="Iaroslav <pontostroy@gmail.com>"> <span class="fn">Iaroslav</span></a>
</span></b>
        <pre>I build with OBS and do not have all logs.
2-3 weeks ago, all works.

I had some problem with the libclc corrected in this way

./configure.py --prefix=/usr --with-llvm-config=/usr/bin/llvm-config

for 32/64 bit i got this

OPT r600--/lib/builtins.opt.cedar.bc
LLVM-CXX utils/prepare-builtins.o
LINK utils/prepare-builtins
/usr/lib/libLLVMSupport.a(Signals.o): In function
`llvm::sys::PrintStackTrace(_IO_FILE*)':
Signals.cpp:(.text+0x565): undefined reference to `dladdr'
Signals.cpp:(.text+0x6ca): undefined reference to `dladdr'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

sed -i -e 's|-lLLVMSupport|-lLLVMSupport -ldl|g' Makefile

for 64 bit

the problem of finding a header file in /usr/lib64/clang/3.3/include/

sed -i -e 's|-I/usr/include|-I/usr/include -I%_libdir/clang/3.3/include/|g'
Makefile
sed -i -e 's|.bc.d -target r600--|bc.d -target r600--
-I%_libdir/clang/3.3/include/|g' Makefile
sed -i -e 's|/usr/lib/|%_libdir/|g' Makefile</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>