Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/3] musl: Update to latest master
@ 2017-08-14  3:24 Khem Raj
  2017-08-14  3:24 ` [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64 Khem Raj
  2017-08-14  3:24 ` [PATCH V2 3/3] cairo: Add pkgconfig for opengl support Khem Raj
  0 siblings, 2 replies; 9+ messages in thread
From: Khem Raj @ 2017-08-14  3:24 UTC (permalink / raw)
  To: openembedded-core

visibility is no more auto but disabled by default
we do not require to disable it explicitly.

* fix build failure for sh4a due to missing colon in asm statement
* trap UB from attempts to join a detached thread
* ppc64: fix setjmp/longjmp handling of TOC pointer
* qsort: add a short comment about the algorithm
* disable global visibility override hack (vis.h) by default
* add _NL_LOCALE_NAME extension to nl_langinfo

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/musl/musl_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb
index eefd23bb8e..e67b82d9ea 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -3,7 +3,7 @@
 
 require musl.inc
 
-SRCREV = "a08910fc2cc739f631b75b2d09b8d72a0d64d285"
+SRCREV = "1698fe6cdcdeaad03aa19a85433d5396ecfc51ef"
 
 PV = "1.1.16+git${SRCPV}"
 
@@ -37,7 +37,6 @@ CONFIGUREOPTS = " \
     --libdir=${libdir} \
     --includedir=${includedir} \
     --syslibdir=${base_libdir} \
-    --disable-visibility \
 "
 
 do_configure() {
-- 
2.14.1



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

* [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64
  2017-08-14  3:24 [PATCH 1/3] musl: Update to latest master Khem Raj
@ 2017-08-14  3:24 ` Khem Raj
  2017-08-16  8:09   ` Richard Purdie
  2017-08-19  8:18   ` Richard Purdie
  2017-08-14  3:24 ` [PATCH V2 3/3] cairo: Add pkgconfig for opengl support Khem Raj
  1 sibling, 2 replies; 9+ messages in thread
From: Khem Raj @ 2017-08-14  3:24 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-graphics/cairo/cairo.inc | 3 ++-
 meta/recipes-graphics/mesa/mesa.inc   | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc
index 8e1e2e1b88..f07b42d573 100644
--- a/meta/recipes-graphics/cairo/cairo.inc
+++ b/meta/recipes-graphics/cairo/cairo.inc
@@ -22,7 +22,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
 DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \
-           ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)}"
+           ${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \
+           ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)}"
 
 PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}"
 PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 45361c7790..a26858df85 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -36,6 +36,9 @@ PACKAGECONFIG ??= "gbm egl gles dri \
 		${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 vulkan', d)} \
 		${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \
 		"
+PACKAGECONFIG_append_x86 = " gallium-llvm gallium r600"
+PACKAGECONFIG_append_x86-64 = " gallium-llvm gallium r600"
+
 PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"
 
 X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
-- 
2.14.1



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

* [PATCH V2 3/3] cairo: Add pkgconfig for opengl support
  2017-08-14  3:24 [PATCH 1/3] musl: Update to latest master Khem Raj
  2017-08-14  3:24 ` [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64 Khem Raj
@ 2017-08-14  3:24 ` Khem Raj
  1 sibling, 0 replies; 9+ messages in thread
From: Khem Raj @ 2017-08-14  3:24 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-graphics/cairo/cairo.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc
index f07b42d573..7347f223ff 100644
--- a/meta/recipes-graphics/cairo/cairo.inc
+++ b/meta/recipes-graphics/cairo/cairo.inc
@@ -31,6 +31,7 @@ PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb"
 PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind"
 PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl"
 PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2"
+PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"
 
 #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points 
 require cairo-fpu.inc
-- 
2.14.1



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

* Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64
  2017-08-14  3:24 ` [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64 Khem Raj
@ 2017-08-16  8:09   ` Richard Purdie
  2017-08-16  8:11     ` Richard Purdie
                       ` (2 more replies)
  2017-08-19  8:18   ` Richard Purdie
  1 sibling, 3 replies; 9+ messages in thread
From: Richard Purdie @ 2017-08-16  8:09 UTC (permalink / raw)
  To: Khem Raj, openembedded-core

On Sun, 2017-08-13 at 20:24 -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-graphics/cairo/cairo.inc | 3 ++-
>  meta/recipes-graphics/mesa/mesa.inc   | 3 +++
>  2 files changed, 5 insertions(+), 1 deletion(-)

I think this breaks on x32:

https://autobuilder.yoctoproject.org/main/builders/nightly-x32/builds/1183/steps/BuildImages/logs/stdio

Cheers,

Richard


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

* Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64
  2017-08-16  8:09   ` Richard Purdie
@ 2017-08-16  8:11     ` Richard Purdie
  2017-08-17  3:10       ` Khem Raj
  2017-08-17  3:12     ` Khem Raj
  2017-08-17  6:18     ` Khem Raj
  2 siblings, 1 reply; 9+ messages in thread
From: Richard Purdie @ 2017-08-16  8:11 UTC (permalink / raw)
  To: Khem Raj, openembedded-core

On Wed, 2017-08-16 at 09:09 +0100, Richard Purdie wrote:
> On Sun, 2017-08-13 at 20:24 -0700, Khem Raj wrote:
> > 
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/recipes-graphics/cairo/cairo.inc | 3 ++-
> >  meta/recipes-graphics/mesa/mesa.inc   | 3 +++
> >  2 files changed, 5 insertions(+), 1 deletion(-)
> I think this breaks on x32:
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-x32/builds
> /1183/steps/BuildImages/logs/stdio

Also on musl:

https://autobuilder.yoctoproject.org/main/builders/nightly-musl/builds/523/steps/BuildImages/logs/stdio

Cheers,

Richard


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

* Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64
  2017-08-16  8:11     ` Richard Purdie
@ 2017-08-17  3:10       ` Khem Raj
  0 siblings, 0 replies; 9+ messages in thread
From: Khem Raj @ 2017-08-17  3:10 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core



On 8/16/17 1:11 AM, Richard Purdie wrote:
> On Wed, 2017-08-16 at 09:09 +0100, Richard Purdie wrote:
>> On Sun, 2017-08-13 at 20:24 -0700, Khem Raj wrote:
>>>
>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>> ---
>>>  meta/recipes-graphics/cairo/cairo.inc | 3 ++-
>>>  meta/recipes-graphics/mesa/mesa.inc   | 3 +++
>>>  2 files changed, 5 insertions(+), 1 deletion(-)
>> I think this breaks on x32:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-x32/builds
>> /1183/steps/BuildImages/logs/stdio
> 
> Also on musl:
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-musl/builds/523/steps/BuildImages/logs/stdio
> 

Fixed and patch is on ml
http://lists.openembedded.org/pipermail/openembedded-core/2017-August/140928.html

> Cheers,
> 
> Richard
> 


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

* Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64
  2017-08-16  8:09   ` Richard Purdie
  2017-08-16  8:11     ` Richard Purdie
@ 2017-08-17  3:12     ` Khem Raj
  2017-08-17  6:18     ` Khem Raj
  2 siblings, 0 replies; 9+ messages in thread
From: Khem Raj @ 2017-08-17  3:12 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core



On 8/16/17 1:09 AM, Richard Purdie wrote:
> On Sun, 2017-08-13 at 20:24 -0700, Khem Raj wrote:
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  meta/recipes-graphics/cairo/cairo.inc | 3 ++-
>>  meta/recipes-graphics/mesa/mesa.inc   | 3 +++
>>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> I think this breaks on x32:
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-x32/builds/1183/steps/BuildImages/logs/stdio
> 

Its not a usual target I build. I will see I can reproduce it.
Otherwise, I will send a v2 where I will disable llvmpipe for x32 in mesa.

> Cheers,
> 
> Richard
> 


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

* Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64
  2017-08-16  8:09   ` Richard Purdie
  2017-08-16  8:11     ` Richard Purdie
  2017-08-17  3:12     ` Khem Raj
@ 2017-08-17  6:18     ` Khem Raj
  2 siblings, 0 replies; 9+ messages in thread
From: Khem Raj @ 2017-08-17  6:18 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On Wed, Aug 16, 2017 at 1:09 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Sun, 2017-08-13 at 20:24 -0700, Khem Raj wrote:
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  meta/recipes-graphics/cairo/cairo.inc | 3 ++-
>>  meta/recipes-graphics/mesa/mesa.inc   | 3 +++
>>  2 files changed, 5 insertions(+), 1 deletion(-)
>
> I think this breaks on x32:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-x32/builds/1183/steps/BuildImages/logs/stdio
>

i cant reproduce this here i changed

-DEFAULTTUNE ?= "core2-64"
+DEFAULTTUNE ?= "core2-64-x32"


and built mesa and core-image-sato from scratch. all seems to build and boot ok

> Cheers,
>
> Richard


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

* Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64
  2017-08-14  3:24 ` [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64 Khem Raj
  2017-08-16  8:09   ` Richard Purdie
@ 2017-08-19  8:18   ` Richard Purdie
  1 sibling, 0 replies; 9+ messages in thread
From: Richard Purdie @ 2017-08-19  8:18 UTC (permalink / raw)
  To: Khem Raj, openembedded-core

On Sun, 2017-08-13 at 20:24 -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-graphics/cairo/cairo.inc | 3 ++-
>  meta/recipes-graphics/mesa/mesa.inc   | 3 +++
>  2 files changed, 5 insertions(+), 1 deletion(-)

Fails with various multilib tests:

https://autobuilder.yoctoproject.org/main/builders/nightly-multilib/bui
lds/1213/steps/BuildImages_2/logs/stdio


https://autobuilder.yoctoproject.org/main/builders/nightly-multilib/bui
lds/1213/steps/BuildImages_3/logs/stdio

https://autobuilder.yoctoproject.org/main/builders/nightly-multilib/bui
lds/1213/steps/BuildImages_4/logs/stdio

Cheers,

Richard


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

end of thread, other threads:[~2017-08-19  8:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-14  3:24 [PATCH 1/3] musl: Update to latest master Khem Raj
2017-08-14  3:24 ` [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64 Khem Raj
2017-08-16  8:09   ` Richard Purdie
2017-08-16  8:11     ` Richard Purdie
2017-08-17  3:10       ` Khem Raj
2017-08-17  3:12     ` Khem Raj
2017-08-17  6:18     ` Khem Raj
2017-08-19  8:18   ` Richard Purdie
2017-08-14  3:24 ` [PATCH V2 3/3] cairo: Add pkgconfig for opengl support Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox