mesa/src
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
..
amd Android: Fix LLVM duplicated symbols linking for N and M 2017-08-21 10:46:21 -05:00
broadcom broadcom/genxml: Add V3D 3.3 packet definitions. 2017-08-18 12:54:13 -07:00
compiler glsl: add a few missing int64 constant propagation cases 2017-08-18 02:26:16 -04:00
egl egl: Add dma_buf_import_modifiers for glvnd 2017-08-21 12:13:50 +01:00
gallium Android: Fix LLVM duplicated symbols linking for N and M 2017-08-21 10:46:21 -05:00
gbm loader: rework xmlconfig dependency 2017-08-04 23:54:52 +01:00
getopt
glx glxcmds: Fix a typo in the __APPLE__ codepath 2017-08-17 15:13:33 -07:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl
intel intel/blorp: Adjust intra-tile x when faking rgb with red-only 2017-08-21 09:55:08 +03:00
loader dri3: Move up fourcc utility function 2017-08-21 12:55:54 +01:00
mapi glapi: per the extension spec, the EXT-suffixed function should be used 2017-08-07 20:32:37 -04:00
mesa i965/bufmgr: s/BO_ALLOC_FOR_RENDER/BO_ALLOC_BUSY/ 2017-08-20 20:14:49 -07:00
util anv: Move a comment that got left behind in the u_vector refactor. 2017-08-18 11:56:58 -07:00
vulkan vulkan: Import in the latest 1.0.57 header and XML from Khronos 2017-08-01 13:27:12 -07:00
Makefile.am build: Convert git_sha1_gen script to Python (part2). 2017-08-01 16:33:55 +01:00
SConscript build: Convert git_sha1_gen script to Python. 2017-08-01 15:24:39 +01:00