mesa/src/amd
Rob Herring 4734bfc02a Android: Fix LLVM duplicated symbols linking for N and M
Both statically linking libLLVMCore and dynamically linking libLLVM causes
duplicated symbols in gallium_dri.so and it fails to dlopen. We don't
really need to link libLLVMCore, but just need generated headers to be
built first. Dynamically linking to libLLVM instead is enough to do
that. Thanks to Qiang Yu for finding the root cause.

With this change, we can align all versions and just have libLLVM as a
shared lib dependency.

This also requires changes in the M and N versions of LLVM to export the
include paths for libLLVM. AOSP master is okay.

Fixes: 26aee6f4d5 ("Android: rework LLVM build support")
Reported-by: Mauro Rossi <issor.oruam@gmail.com>
Cc: 17.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Qiang Yu <Qiang.Yu@amd.com>
Signed-off-by: Rob Herring <robh@kernel.org>
2017-08-21 10:46:21 -05:00
..
addrlib amd/addrlib: fix typo in api name. 2017-07-17 01:44:14 +01:00
common ac/nir: fixup layer/viewport export for GFX9. 2017-08-21 04:26:37 +01:00
vulkan radv: disable support for VEGA for now. 2017-08-18 00:49:48 +01:00
Android.addrlib.mk Android: amd: use exported include dirs instead of explicit includes 2017-05-11 13:52:21 +01:00
Android.common.mk Android: Fix LLVM duplicated symbols linking for N and M 2017-08-21 10:46:21 -05:00
Android.mk android: amd/common: add support for libmesa_amd_common 2016-11-05 18:42:29 +01:00
Makefile.addrlib.am amd/addrlib: import gfx9 support 2017-03-30 14:44:33 +02:00
Makefile.am ac: automake: rework sid_tables.h generation 2017-01-12 19:29:28 +00:00
Makefile.common.am ac/common: always build NIR translation 2017-07-31 17:59:10 +02:00
Makefile.sources ac: add ac_shader_abi.h in distcheck 2017-08-03 09:53:09 +02:00