https://bugs.freedesktop.org/show_bug.cgi?id=104558

--- Comment #2 from Paul Menzel <pmenzel+bugs.freedesk...@molgen.mpg.de> ---
(In reply to Bas Nieuwenhuizen from comment #1)
> This looks like it fails to link with LLVM. What LLVM version do you have
> installed?

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

> builds libraries as static and links all of them into an unique shared one. 
> This is the recommended way of building a shared library.

> Furthermore, could you attach the full output of configure and the failing
> command with make V=1 ?

```
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] http://www.linuxfromscratch.org/blfs/view/8.1/general/llvm.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to