<div dir="ltr">Please update mesa.inc to require the new version. Now it depends on removed 5.0:<div><br><div>meta/recipes-graphics/mesa/mesa.inc:MESA_LLVM_RELEASE ?= &quot;5.0&quot;<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 1, 2018 at 9:19 AM, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
---<br>
 ...etLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch | 20 ++++++++++----------<br>
 .../0002-llvm-allow-env-<wbr>override-of-exe-path.patch   |  4 ++--<br>
 meta/recipes-devtools/llvm/<a href="http://llvm_git.bb" rel="noreferrer" target="_blank">llv<wbr>m_git.bb</a>               | 11 ++++++-----<br>
 3 files changed, 18 insertions(+), 17 deletions(-)<br>
<br>
diff --git a/meta/recipes-devtools/llvm/<wbr>llvm/0001-llvm-<wbr>TargetLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch b/meta/recipes-devtools/llvm/<wbr>llvm/0001-llvm-<wbr>TargetLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch<br>
index e251799259..209764c8ba 100644<br>
--- a/meta/recipes-devtools/llvm/<wbr>llvm/0001-llvm-<wbr>TargetLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch<br>
+++ b/meta/recipes-devtools/llvm/<wbr>llvm/0001-llvm-<wbr>TargetLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch<br>
@@ -1,4 +1,4 @@<br>
-From 28293e48cf1a52004c6a78de448718<wbr>441f9e05f9 Mon Sep 17 00:00:00 2001<br>
+From 96558c4f25d5132936014f6f2d6252<wbr>cfdfdf478a Mon Sep 17 00:00:00 2001<br>
 From: Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;<br>
 Date: Sat, 21 May 2016 00:33:20 +0000<br>
 Subject: [PATCH 1/2] llvm: TargetLibraryInfo: Undefine libc functions if they<br>
@@ -15,10 +15,10 @@ Upstream-Status: Pending<br>
  1 file changed, 21 insertions(+)<br>
<br>
 diff --git a/include/llvm/Analysis/<wbr>TargetLibraryInfo.def b/include/llvm/Analysis/<wbr>TargetLibraryInfo.def<br>
-index 9cbe917c146..aff8419cf54 100644<br>
+index a461ed813b9..f9fd9faeee0 100644<br>
 --- a/include/llvm/Analysis/<wbr>TargetLibraryInfo.def<br>
 +++ b/include/llvm/Analysis/<wbr>TargetLibraryInfo.def<br>
-@@ -656,6 +656,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fmodl&quot;)<br>
+@@ -665,6 +665,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fmodl&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fopen)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fopen&quot;)<br>
  /// FILE *fopen64(const char *filename, const char *opentype)<br>
@@ -28,7 +28,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fopen64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fopen64&quot;)<br>
  /// int fprintf(FILE *stream, const char *format, ...);<br>
-@@ -691,6 +694,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fseek&quot;)<br>
+@@ -700,6 +703,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fseek&quot;)<br>
  /// int fseeko(FILE *stream, off_t offset, int whence);<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fseeko)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fseeko&quot;)<br>
@@ -38,7 +38,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  /// int fseeko64(FILE *stream, off64_t offset, int whence)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fseeko64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fseeko64&quot;)<br>
-@@ -701,6 +707,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fsetpos&quot;)<br>
+@@ -710,6 +716,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fsetpos&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fstat)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fstat&quot;)<br>
  /// int fstat64(int filedes, struct stat64 *buf)<br>
@@ -48,7 +48,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>fstat64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>fstat64&quot;)<br>
  /// int fstatvfs(int fildes, struct statvfs *buf);<br>
-@@ -716,6 +725,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>ftell&quot;)<br>
+@@ -725,6 +734,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>ftell&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>ftello)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>ftello&quot;)<br>
  /// off64_t ftello64(FILE *stream)<br>
@@ -58,7 +58,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>ftello64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>ftello64&quot;)<br>
  /// int ftrylockfile(FILE *file);<br>
-@@ -836,6 +848,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>logl&quot;)<br>
+@@ -845,6 +857,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>logl&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>lstat)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>lstat&quot;)<br>
  /// int lstat64(const char *path, struct stat64 *buf);<br>
@@ -68,7 +68,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>lstat64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>lstat64&quot;)<br>
  /// void *malloc(size_t size);<br>
-@@ -1055,6 +1070,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>sscanf&quot;)<br>
+@@ -1064,6 +1079,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>sscanf&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(stat)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>stat&quot;)<br>
  /// int stat64(const char *path, struct stat64 *buf);<br>
@@ -78,7 +78,7 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>stat64)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>stat64&quot;)<br>
  /// int statvfs(const char *path, struct statvfs *buf);<br>
-@@ -1184,6 +1202,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>times&quot;)<br>
+@@ -1193,6 +1211,9 @@ TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>times&quot;)<br>
  TLI_DEFINE_ENUM_INTERNAL(<wbr>tmpfile)<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>tmpfile&quot;)<br>
  /// FILE *tmpfile64(void)<br>
@@ -89,5 +89,5 @@ index 9cbe917c146..aff8419cf54 100644<br>
  TLI_DEFINE_STRING_INTERNAL(&quot;<wbr>tmpfile64&quot;)<br>
  /// int toascii(int c);<br>
 --<br>
-2.13.1<br>
+2.16.1<br>
<br>
diff --git a/meta/recipes-devtools/llvm/<wbr>llvm/0002-llvm-allow-env-<wbr>override-of-exe-path.patch b/meta/recipes-devtools/llvm/<wbr>llvm/0002-llvm-allow-env-<wbr>override-of-exe-path.patch<br>
index 832bd729ef..21d2f81b58 100644<br>
--- a/meta/recipes-devtools/llvm/<wbr>llvm/0002-llvm-allow-env-<wbr>override-of-exe-path.patch<br>
+++ b/meta/recipes-devtools/llvm/<wbr>llvm/0002-llvm-allow-env-<wbr>override-of-exe-path.patch<br>
@@ -1,4 +1,4 @@<br>
-From d776487bac17650704614248d19d1e<wbr>6b35775001 Mon Sep 17 00:00:00 2001<br>
+From 2f8ea767afdaa440c6368040630e1b<wbr>3ea6a0977a Mon Sep 17 00:00:00 2001<br>
 From: Martin Kelly &lt;<a href="mailto:mkelly@xevo.com">mkelly@xevo.com</a>&gt;<br>
 Date: Fri, 19 May 2017 00:22:57 -0700<br>
 Subject: [PATCH 2/2] llvm: allow env override of exe path<br>
@@ -35,5 +35,5 @@ index 08b096afb05..d8d7742744e 100644<br>
    // allow taking the address of ::main however.<br>
    void *P = (void *)(intptr_t)GetExecutablePath;<br>
 --<br>
-2.13.1<br>
+2.16.1<br>
<br>
diff --git a/meta/recipes-devtools/llvm/<a href="http://llvm_git.bb" rel="noreferrer" target="_blank">l<wbr>lvm_git.bb</a> b/meta/recipes-devtools/llvm/<a href="http://llvm_git.bb" rel="noreferrer" target="_blank">l<wbr>lvm_git.bb</a><br>
index de06e12ae4..77c095d9a3 100644<br>
--- a/meta/recipes-devtools/llvm/<a href="http://llvm_git.bb" rel="noreferrer" target="_blank">l<wbr>lvm_git.bb</a><br>
+++ b/meta/recipes-devtools/llvm/<a href="http://llvm_git.bb" rel="noreferrer" target="_blank">l<wbr>lvm_git.bb</a><br>
@@ -8,7 +8,7 @@ SECTION = &quot;devel&quot;<br>
<br>
 LIC_FILES_CHKSUM = &quot;file://LICENSE.TXT;md5=<wbr>e825e017edc35cfd58e26116e52517<wbr>71&quot;<br>
<br>
-DEPENDS = &quot;libffi libxml2-native zlib ninja-native llvm-native&quot;<br>
+DEPENDS = &quot;libffi libxml2 zlib ninja-native llvm-native&quot;<br>
<br>
 RDEPENDS_${PN}_append_class-<wbr>target = &quot; ncurses-terminfo&quot;<br>
<br>
@@ -19,10 +19,11 @@ PROVIDES += &quot;llvm${PV}&quot;<br>
 LLVM_RELEASE = &quot;${PV}&quot;<br>
 LLVM_DIR = &quot;llvm${LLVM_RELEASE}&quot;<br>
<br>
-SRCREV = &quot;<wbr>81029f142231bde8e119becda112a2<wbr>173f1459c9&quot;<br>
-PV = &quot;5.0&quot;<br>
-PATCH_VERSION = &quot;1&quot;<br>
-SRC_URI = &quot;git://<a href="http://github.com/llvm-mirror/llvm.git;branch=release_50;protocol=http" rel="noreferrer" target="_blank">github.com/llvm-mirror/<wbr>llvm.git;branch=release_50;<wbr>protocol=http</a> \<br>
+SRCREV = &quot;<wbr>089d4c0c490687db6c75f1d074e99c<wbr>4d42936a50&quot;<br>
+PV = &quot;6.0&quot;<br>
+BRANCH = &quot;release_60&quot;<br>
+PATCH_VERSION = &quot;0&quot;<br>
+SRC_URI = &quot;git://<a href="http://github.com/llvm-mirror/llvm.git;branch=${BRANCH};protocol=http" rel="noreferrer" target="_blank">github.com/llvm-mirror/<wbr>llvm.git;branch=${BRANCH};<wbr>protocol=http</a> \<br>
            file://0001-llvm-<wbr>TargetLibraryInfo-Undefine-<wbr>libc-functions-if-th.patch \<br>
            file://0002-llvm-allow-env-<wbr>override-of-exe-path.patch \<br>
           &quot;<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.16.3<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>