diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-07-29 23:04:31 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-08-12 22:00:22 -0700 |
commit | 610a8e1a2ce02b77f905bac261e80b023450b573 (patch) | |
tree | 3618fab7398e489267dfee8dd1dc485ba1d1d948 /recipes-devtools/clang/clang/0001-lldb-Add-lxml2-to-linker-cmdline-of-xml-is-found.patch | |
parent | c969fa61147845efdc6d3a47c782e2a71de745f9 (diff) | |
download | meta-clang-610a8e1a2ce02b77f905bac261e80b023450b573.tar.gz |
clang: Upgrade to 9.x-rcX
dont package six.py, its provided by python3-six package
default to lp64d ABI and rv64gc ISA.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/clang/0001-lldb-Add-lxml2-to-linker-cmdline-of-xml-is-found.patch')
-rw-r--r-- | recipes-devtools/clang/clang/0001-lldb-Add-lxml2-to-linker-cmdline-of-xml-is-found.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-devtools/clang/clang/0001-lldb-Add-lxml2-to-linker-cmdline-of-xml-is-found.patch b/recipes-devtools/clang/clang/0001-lldb-Add-lxml2-to-linker-cmdline-of-xml-is-found.patch new file mode 100644 index 0000000..79ad13f --- /dev/null +++ b/recipes-devtools/clang/clang/0001-lldb-Add-lxml2-to-linker-cmdline-of-xml-is-found.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 79ec5a3eca699011c6f95de36ce027dbfdad0aff Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 22 May 2017 17:36:16 -0700 | ||
4 | Subject: [PATCH 01/20] lldb: Add -lxml2 to linker cmdline of xml is found | ||
5 | |||
6 | When cross compiling for systems where static libs | ||
7 | for libxml are not available cmake's detection mechanism | ||
8 | resort to linking with libxml.so but doesnt use -lxml2 | ||
9 | liblldbHost.a however requires libxml on linker | ||
10 | cmdline _after_ itself so its use of symbols from libxml2 | ||
11 | can be resolved. Here check for libxml2 being detected and | ||
12 | add it if its found. | ||
13 | |||
14 | Fixes | ||
15 | |||
16 | | ../../../../lib/liblldbHost.a(XML.cpp.o): In function `lldb_private::XMLDocument::Clear()': | ||
17 | | /usr/src/debug/lldb/5.0.0+gitAUTOINC+69edad7913_08d6b47db9_cf6c5b3386-r0/git/tools/lldb/source/Host/common/XML.cpp:29: undefined reference to `xmlFreeDoc' | ||
18 | | /usr/src/debug/lldb/5.0.0+gitAUTOINC+69edad7913_08d6b47db9_cf6c5b3386-r0/git/tools/lldb/source/Host/common/XML.cpp:29: undefined reference to `xmlFreeDoc' | ||
19 | |||
20 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
21 | --- | ||
22 | lldb/source/Host/CMakeLists.txt | 2 +- | ||
23 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
24 | |||
25 | diff --git a/lldb/source/Host/CMakeLists.txt b/lldb/source/Host/CMakeLists.txt | ||
26 | index 4bb8d363b57..3b58c36c641 100644 | ||
27 | --- a/lldb/source/Host/CMakeLists.txt | ||
28 | +++ b/lldb/source/Host/CMakeLists.txt | ||
29 | @@ -148,7 +148,7 @@ if (APPLE) | ||
30 | list(APPEND EXTRA_LIBS xml2) | ||
31 | else () | ||
32 | if (LIBXML2_FOUND) | ||
33 | - list(APPEND EXTRA_LIBS ${LIBXML2_LIBRARIES}) | ||
34 | + list(APPEND EXTRA_LIBS xml2) | ||
35 | endif() | ||
36 | endif () | ||
37 | if (HAVE_LIBDL) | ||
38 | -- | ||
39 | 2.22.0 | ||
40 | |||