All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mesa: update to 12.0.2
@ 2016-09-09 16:19 Andreas Müller
  2016-09-12  7:42 ` Jussi Kukkonen
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Müller @ 2016-09-09 16:19 UTC (permalink / raw)
  To: openembedded-core

* removed patch was applied mainline
* tested on RaspberryPi2 weston / lxqt / kde

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 .../mesa/files/clang-compile-PR89599.patch         | 116 ---------------------
 .../mesa/{mesa-gl_12.0.1.bb => mesa-gl_12.0.2.bb}  |   0
 .../mesa/{mesa_12.0.1.bb => mesa_12.0.2.bb}        |   5 +-
 3 files changed, 2 insertions(+), 119 deletions(-)
 delete mode 100644 meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch
 rename meta/recipes-graphics/mesa/{mesa-gl_12.0.1.bb => mesa-gl_12.0.2.bb} (100%)
 rename meta/recipes-graphics/mesa/{mesa_12.0.1.bb => mesa_12.0.2.bb} (77%)

diff --git a/meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch b/meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch
deleted file mode 100644
index 48bd325..0000000
--- a/meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch
+++ /dev/null
@@ -1,116 +0,0 @@
-From 5ec140c17b54c25920091501b665b9aa809cc5e8 Mon Sep 17 00:00:00 2001
-From: Matt Turner <mattst88@gmail.com>
-Date: Mon, 11 Jul 2016 10:44:25 -0700
-Subject: mapi: Massage code to allow clang to compile.
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-According to https://llvm.org/bugs/show_bug.cgi?id=19778#c3 this code
-was violating the spec, resulting in it failing to compile.
-
-Cc: mesa-stable@lists.freedesktop.org
-Co-authored-by: Tomasz Paweł Gajc <tpgxyz@gmail.com>
-Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89599
-Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-
-Upstream-Status: Backport
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
-diff --git a/configure.ac b/configure.ac
-index 3799d8d..1ca8359 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -226,6 +226,7 @@ AX_GCC_FUNC_ATTRIBUTE([packed])
- AX_GCC_FUNC_ATTRIBUTE([pure])
- AX_GCC_FUNC_ATTRIBUTE([returns_nonnull])
- AX_GCC_FUNC_ATTRIBUTE([unused])
-+AX_GCC_FUNC_ATTRIBUTE([visibility])
- AX_GCC_FUNC_ATTRIBUTE([warn_unused_result])
- AX_GCC_FUNC_ATTRIBUTE([weak])
- 
-diff --git a/src/mapi/entry_x86-64_tls.h b/src/mapi/entry_x86-64_tls.h
-index 38faccc..c5262a1 100644
---- a/src/mapi/entry_x86-64_tls.h
-+++ b/src/mapi/entry_x86-64_tls.h
-@@ -25,6 +25,11 @@
-  *    Chia-I Wu <olv@lunarg.com>
-  */
- 
-+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBIITY
-+#define HIDDEN __attribute__((visibility("hidden")))
-+#else
-+#define HIDDEN
-+#endif
- 
- __asm__(".text\n"
-         ".balign 32\n"
-@@ -54,8 +59,8 @@ entry_patch_public(void)
- {
- }
- 
--static char
--x86_64_entry_start[];
-+extern char
-+x86_64_entry_start[] HIDDEN;
- 
- mapi_func
- entry_get_public(int slot)
-diff --git a/src/mapi/entry_x86_tls.h b/src/mapi/entry_x86_tls.h
-index 46d2ece..231b409 100644
---- a/src/mapi/entry_x86_tls.h
-+++ b/src/mapi/entry_x86_tls.h
-@@ -27,6 +27,12 @@
- 
- #include <string.h>
- 
-+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBIITY
-+#define HIDDEN __attribute__((visibility("hidden")))
-+#else
-+#define HIDDEN
-+#endif
-+
- __asm__(".text");
- 
- __asm__("x86_current_tls:\n\t"
-@@ -71,8 +77,8 @@ __asm__(".text");
- extern unsigned long
- x86_current_tls();
- 
--static char x86_entry_start[];
--static char x86_entry_end[];
-+extern char x86_entry_start[] HIDDEN;
-+extern char x86_entry_end[] HIDDEN;
- 
- void
- entry_patch_public(void)
-diff --git a/src/mapi/entry_x86_tsd.h b/src/mapi/entry_x86_tsd.h
-index ea7bacb..03d9735 100644
---- a/src/mapi/entry_x86_tsd.h
-+++ b/src/mapi/entry_x86_tsd.h
-@@ -25,6 +25,11 @@
-  *    Chia-I Wu <olv@lunarg.com>
-  */
- 
-+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBIITY
-+#define HIDDEN __attribute__((visibility("hidden")))
-+#else
-+#define HIDDEN
-+#endif
- 
- #define X86_ENTRY_SIZE 32
- 
-@@ -58,8 +63,8 @@ __asm__(".balign 32\n"
- #include <string.h>
- #include "u_execmem.h"
- 
--static const char x86_entry_start[];
--static const char x86_entry_end[];
-+extern const char x86_entry_start[] HIDDEN;
-+extern const char x86_entry_end[] HIDDEN;
- 
- void
- entry_patch_public(void)
--- 
-cgit v0.10.2
-
diff --git a/meta/recipes-graphics/mesa/mesa-gl_12.0.1.bb b/meta/recipes-graphics/mesa/mesa-gl_12.0.2.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_12.0.1.bb
rename to meta/recipes-graphics/mesa/mesa-gl_12.0.2.bb
diff --git a/meta/recipes-graphics/mesa/mesa_12.0.1.bb b/meta/recipes-graphics/mesa/mesa_12.0.2.bb
similarity index 77%
rename from meta/recipes-graphics/mesa/mesa_12.0.1.bb
rename to meta/recipes-graphics/mesa/mesa_12.0.2.bb
index 80189e3..12a5495 100644
--- a/meta/recipes-graphics/mesa/mesa_12.0.1.bb
+++ b/meta/recipes-graphics/mesa/mesa_12.0.2.bb
@@ -2,12 +2,11 @@ require ${BPN}.inc
 
 SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \
            file://replace_glibc_check_with_linux.patch \
-           file://clang-compile-PR89599.patch \
            file://disable-asm-on-non-gcc.patch \
 "
 
-SRC_URI[md5sum] = "972fd5ad5a63aeabf173fb9adefc6522"
-SRC_URI[sha256sum] = "bab24fb79f78c876073527f515ed871fc9c81d816f66c8a0b051d8d653896389"
+SRC_URI[md5sum] = "f19032b5cb5e362745f0c2accc28a641"
+SRC_URI[sha256sum] = "d957a5cc371dcd7ff2aa0d87492f263aece46f79352f4520039b58b1f32552cb"
 
 #because we cannot rely on the fact that all apps will use pkgconfig,
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mesa: update to 12.0.2
  2016-09-09 16:19 [PATCH] mesa: update to 12.0.2 Andreas Müller
@ 2016-09-12  7:42 ` Jussi Kukkonen
  2016-09-12  8:16   ` Andreas Müller
  0 siblings, 1 reply; 3+ messages in thread
From: Jussi Kukkonen @ 2016-09-12  7:42 UTC (permalink / raw)
  To: Andreas Müller; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 6286 bytes --]

On 9 September 2016 at 19:19, Andreas Müller <schnitzeltony@googlemail.com>
wrote:

> * removed patch was applied mainline
> * tested on RaspberryPi2 weston / lxqt / kde
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  .../mesa/files/clang-compile-PR89599.patch         | 116
> ---------------------
>  .../mesa/{mesa-gl_12.0.1.bb => mesa-gl_12.0.2.bb}  |   0
>  .../mesa/{mesa_12.0.1.bb => mesa_12.0.2.bb}        |   5 +-
>

2.2 Milestone 3 is very close to release so this is unlikely to be accepted
before 2.2 release scheduled next month. If you have a specific bug fix you
need I suggest backporting.

  Jussi


 3 files changed, 2 insertions(+), 119 deletions(-)
>  delete mode 100644 meta/recipes-graphics/mesa/
> files/clang-compile-PR89599.patch
>  rename meta/recipes-graphics/mesa/{mesa-gl_12.0.1.bb => mesa-gl_12.0.2.bb}
> (100%)
>  rename meta/recipes-graphics/mesa/{mesa_12.0.1.bb => mesa_12.0.2.bb}
> (77%)
>
> diff --git a/meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch
> b/meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch
> deleted file mode 100644
> index 48bd325..0000000
> --- a/meta/recipes-graphics/mesa/files/clang-compile-PR89599.patch
> +++ /dev/null
> @@ -1,116 +0,0 @@
> -From 5ec140c17b54c25920091501b665b9aa809cc5e8 Mon Sep 17 00:00:00 2001
> -From: Matt Turner <mattst88@gmail.com>
> -Date: Mon, 11 Jul 2016 10:44:25 -0700
> -Subject: mapi: Massage code to allow clang to compile.
> -MIME-Version: 1.0
> -Content-Type: text/plain; charset=UTF-8
> -Content-Transfer-Encoding: 8bit
> -
> -According to https://llvm.org/bugs/show_bug.cgi?id=19778#c3 this code
> -was violating the spec, resulting in it failing to compile.
> -
> -Cc: mesa-stable@lists.freedesktop.org
> -Co-authored-by: Tomasz Paweł Gajc <tpgxyz@gmail.com>
> -Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89599
> -Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
> -
> -Upstream-Status: Backport
> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> -
> -diff --git a/configure.ac b/configure.ac
> -index 3799d8d..1ca8359 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -226,6 +226,7 @@ AX_GCC_FUNC_ATTRIBUTE([packed])
> - AX_GCC_FUNC_ATTRIBUTE([pure])
> - AX_GCC_FUNC_ATTRIBUTE([returns_nonnull])
> - AX_GCC_FUNC_ATTRIBUTE([unused])
> -+AX_GCC_FUNC_ATTRIBUTE([visibility])
> - AX_GCC_FUNC_ATTRIBUTE([warn_unused_result])
> - AX_GCC_FUNC_ATTRIBUTE([weak])
> -
> -diff --git a/src/mapi/entry_x86-64_tls.h b/src/mapi/entry_x86-64_tls.h
> -index 38faccc..c5262a1 100644
> ---- a/src/mapi/entry_x86-64_tls.h
> -+++ b/src/mapi/entry_x86-64_tls.h
> -@@ -25,6 +25,11 @@
> -  *    Chia-I Wu <olv@lunarg.com>
> -  */
> -
> -+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBIITY
> -+#define HIDDEN __attribute__((visibility("hidden")))
> -+#else
> -+#define HIDDEN
> -+#endif
> -
> - __asm__(".text\n"
> -         ".balign 32\n"
> -@@ -54,8 +59,8 @@ entry_patch_public(void)
> - {
> - }
> -
> --static char
> --x86_64_entry_start[];
> -+extern char
> -+x86_64_entry_start[] HIDDEN;
> -
> - mapi_func
> - entry_get_public(int slot)
> -diff --git a/src/mapi/entry_x86_tls.h b/src/mapi/entry_x86_tls.h
> -index 46d2ece..231b409 100644
> ---- a/src/mapi/entry_x86_tls.h
> -+++ b/src/mapi/entry_x86_tls.h
> -@@ -27,6 +27,12 @@
> -
> - #include <string.h>
> -
> -+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBIITY
> -+#define HIDDEN __attribute__((visibility("hidden")))
> -+#else
> -+#define HIDDEN
> -+#endif
> -+
> - __asm__(".text");
> -
> - __asm__("x86_current_tls:\n\t"
> -@@ -71,8 +77,8 @@ __asm__(".text");
> - extern unsigned long
> - x86_current_tls();
> -
> --static char x86_entry_start[];
> --static char x86_entry_end[];
> -+extern char x86_entry_start[] HIDDEN;
> -+extern char x86_entry_end[] HIDDEN;
> -
> - void
> - entry_patch_public(void)
> -diff --git a/src/mapi/entry_x86_tsd.h b/src/mapi/entry_x86_tsd.h
> -index ea7bacb..03d9735 100644
> ---- a/src/mapi/entry_x86_tsd.h
> -+++ b/src/mapi/entry_x86_tsd.h
> -@@ -25,6 +25,11 @@
> -  *    Chia-I Wu <olv@lunarg.com>
> -  */
> -
> -+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBIITY
> -+#define HIDDEN __attribute__((visibility("hidden")))
> -+#else
> -+#define HIDDEN
> -+#endif
> -
> - #define X86_ENTRY_SIZE 32
> -
> -@@ -58,8 +63,8 @@ __asm__(".balign 32\n"
> - #include <string.h>
> - #include "u_execmem.h"
> -
> --static const char x86_entry_start[];
> --static const char x86_entry_end[];
> -+extern const char x86_entry_start[] HIDDEN;
> -+extern const char x86_entry_end[] HIDDEN;
> -
> - void
> - entry_patch_public(void)
> ---
> -cgit v0.10.2
> -
> diff --git a/meta/recipes-graphics/mesa/mesa-gl_12.0.1.bb
> b/meta/recipes-graphics/mesa/mesa-gl_12.0.2.bb
> similarity index 100%
> rename from meta/recipes-graphics/mesa/mesa-gl_12.0.1.bb
> rename to meta/recipes-graphics/mesa/mesa-gl_12.0.2.bb
> diff --git a/meta/recipes-graphics/mesa/mesa_12.0.1.bb
> b/meta/recipes-graphics/mesa/mesa_12.0.2.bb
> similarity index 77%
> rename from meta/recipes-graphics/mesa/mesa_12.0.1.bb
> rename to meta/recipes-graphics/mesa/mesa_12.0.2.bb
> index 80189e3..12a5495 100644
> --- a/meta/recipes-graphics/mesa/mesa_12.0.1.bb
> +++ b/meta/recipes-graphics/mesa/mesa_12.0.2.bb
> @@ -2,12 +2,11 @@ require ${BPN}.inc
>
>  SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \
>             file://replace_glibc_check_with_linux.patch \
> -           file://clang-compile-PR89599.patch \
>             file://disable-asm-on-non-gcc.patch \
>  "
>
> -SRC_URI[md5sum] = "972fd5ad5a63aeabf173fb9adefc6522"
> -SRC_URI[sha256sum] = "bab24fb79f78c876073527f515ed87
> 1fc9c81d816f66c8a0b051d8d653896389"
> +SRC_URI[md5sum] = "f19032b5cb5e362745f0c2accc28a641"
> +SRC_URI[sha256sum] = "d957a5cc371dcd7ff2aa0d87492f26
> 3aece46f79352f4520039b58b1f32552cb"
>
>  #because we cannot rely on the fact that all apps will use pkgconfig,
>  #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
> --
> 2.5.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 10016 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mesa: update to 12.0.2
  2016-09-12  7:42 ` Jussi Kukkonen
@ 2016-09-12  8:16   ` Andreas Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Müller @ 2016-09-12  8:16 UTC (permalink / raw)
  To: Jussi Kukkonen; +Cc: Patches and discussions about the oe-core layer

On Mon, Sep 12, 2016 at 9:42 AM, Jussi Kukkonen
<jussi.kukkonen@intel.com> wrote:
> On 9 September 2016 at 19:19, Andreas Müller <schnitzeltony@googlemail.com>
> wrote:
>>
>> * removed patch was applied mainline
>> * tested on RaspberryPi2 weston / lxqt / kde
>>
>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>> ---
>>  .../mesa/files/clang-compile-PR89599.patch         | 116
>> ---------------------
>>  .../mesa/{mesa-gl_12.0.1.bb => mesa-gl_12.0.2.bb}  |   0
>>  .../mesa/{mesa_12.0.1.bb => mesa_12.0.2.bb}        |   5 +-
>
>
> 2.2 Milestone 3 is very close to release so this is unlikely to be accepted
> before 2.2 release scheduled next month. If you have a specific bug fix you
> need I suggest backporting.
>
>   Jussi
>
>
As far as I read mailing lists there were many improvements made for
RaspberryPi VC4. I understand that this update does not fit into
release cycle so forget this patch - I'll keep it in my branches.

Andreas


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-12  8:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-09 16:19 [PATCH] mesa: update to 12.0.2 Andreas Müller
2016-09-12  7:42 ` Jussi Kukkonen
2016-09-12  8:16   ` Andreas Müller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.