Skip to contentSkip to conversation

musl: Update to latest master

PATCH In review Khem Raj 2 participants 9 messages Aug 14, 2017 – Aug 19, 2017

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/3 musl: Update to latest master

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

---
 meta/recipes-core/musl/musl_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-core/musl/musl_git.bb +1 -2
index eefd23bb8e..e67b82d9ea 100644
@@ -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() {
Signature · 1 line
2.14.1
author
#1 lore raw

PATCH 2/3 mesa: Enable gallium-llvm on x86 and x86_64

---
 meta/recipes-graphics/cairo/cairo.inc | 3 ++-
 meta/recipes-graphics/mesa/mesa.inc   | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)
meta/recipes-graphics/cairo/cairo.inc +2 -1
index 8e1e2e1b88..f07b42d573 100644
@@ -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"
meta/recipes-graphics/mesa/mesa.inc +3 -0
index 45361c7790..a26858df85 100644
@@ -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"
Signature · 1 line
2.14.1
#3 lore raw

Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64

Quoted 11 lines · Richard Purdie
Quoted 6 lines · Khem Raj

---
 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

author
#4 lore raw

Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64

Quoted 8 lines · Richard Purdie
Quoted 7 lines · Richard Purdie
Quoted 6 lines · Khem Raj

---
 meta/recipes-graphics/cairo/cairo.inc | 3 ++-
 meta/recipes-graphics/mesa/mesa.inc   | 3 +++

 2 files changed, 5 insertions(+), 1 deletion(-)
Quoted 9 lines
Quoted 4 lines

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

Quoted 4 lines

Cheers,

Richard

author
#5 lore raw

Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64

In reply to Richard Purdie
Quoted 11 lines · Richard Purdie
Quoted 5 lines · Khem Raj

---
 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.

Quoted 4 lines

Cheers,

Richard

author
#6 lore raw

Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64

In reply to Richard Purdie
Quoted 11 lines · Richard Purdie
Quoted 5 lines · Khem Raj
---
 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

Quoted 3 lines

Cheers,

Richard

#7 lore raw

Re: [PATCH 2/3] mesa: Enable gallium-llvm on x86 and x86_64

In reply to Khem Raj
Quoted 5 lines · Khem Raj

---
 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

author
#8 lore raw

PATCH v2 3/3 cairo: Add pkgconfig for opengl support

In reply to Khem Raj
---
 meta/recipes-graphics/cairo/cairo.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/cairo/cairo.inc +1 -0
index f07b42d573..7347f223ff 100644
@@ -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
Signature · 1 line
2.14.1