<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Building Vulkan Radeon driver fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104558#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Building Vulkan Radeon driver fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104558">bug 104558</a>
              from <span class="vcard"><a class="email" href="mailto:pmenzel+bugs.freedesktop@molgen.mpg.de" title="Paul Menzel <pmenzel+bugs.freedesktop@molgen.mpg.de>"> <span class="fn">Paul Menzel</span></a>
</span></b>
        <pre>(In reply to Bas Nieuwenhuizen from <a href="show_bug.cgi?id=104558#c1">comment #1</a>)
<span class="quote">> This looks like it fails to link with LLVM. What LLVM version do you have
> installed?</span >

I have LLVM 4.0.0 installed built with `-DLLVM_BUILD_LLVM_DYLIB=ON` from Linux
from Scratch [1].

<span class="quote">> builds libraries as static and links all of them into an unique shared one. This is the recommended way of building a shared library.</span >

<span class="quote">> Furthermore, could you attach the full output of configure and the failing
> command with make V=1 ?</span >

```
libtool: link: g++  -fPIC -DPIC -shared -nostdlib
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtbeginS.o  -Wl,--whole-archive
./.libs/libvulkan_common.a ../../../src/vulkan/.libs/libvulkan_util.a
../../../src/vulkan/.libs/libvulkan_wsi.a
../../../src/amd/common/.libs/libamd_common.a
../../../src/amd/addrlib/.libs/libamdgpu_addrlib.a
../../../src/compiler/nir/.libs/libnir.a ../../../src/util/.libs/libmesautil.a
-Wl,--no-whole-archive  -L/usr/lib -lz -lelf -ldrm_amdgpu -ldrm -lpthread -ldl
-lX11-xcb -lX11 -lxcb -lxcb-dri3 -lxcb-xfixes -lxcb-present -lxcb-sync
-lxshmfence -lwayland-client -L/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0
-L/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../..
-lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtendS.o
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/crtn.o  -O2
-Wl,-Bsymbolic -Wl,--gc-sections -Wl,--no-undefined -pthread -pthread  
-pthread -Wl,-soname -Wl,libvulkan_radeon.so -o .libs/libvulkan_radeon.so
```

[1] <a href="http://www.linuxfromscratch.org/blfs/view/8.1/general/llvm.html">http://www.linuxfromscratch.org/blfs/view/8.1/general/llvm.html</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>