Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH v12 1/6] vte: upgrade 0.72.2 -> 0.74.0
@ 2023-12-01 18:33 Khem Raj
  2023-12-01 18:33 ` [PATCH v12 2/6] vte: Upgrade to 0.74.1 Khem Raj
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Khem Raj @ 2023-12-01 18:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: Markus Volk, Khem Raj, Alexandre Belloni

From: Markus Volk <f_l_k@t-online.de>

Rework recipe

- remove legacy of the autotools buildsystem
- remove BBCLASSEXTEND
- build	vapi dependent on gi-data
- docs require gir, add	a EXTRA_OEMESON:append to avoid	fail in
  a combination	where docs=true	and gir=false
- gtk+3 and gtk4 are requested by default-> add gtk4 depending
  on DISTRO_FEATURE
- install systemd support files	depending on DISTRO_FEATURE
- update 0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch

(From OE-Core rev: 6201babb4fef34e0d44e72c48c2c3f2e9f46e93e)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 ...EXITCODE-macro-for-non-glibc-systems.patch | 35 ++++++++-----------
 .../vte/{vte_0.72.2.bb => vte_0.74.0.bb}      | 29 ++++++---------
 2 files changed, 25 insertions(+), 39 deletions(-)
 rename meta/recipes-support/vte/{vte_0.72.2.bb => vte_0.74.0.bb} (66%)

diff --git a/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch b/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
index b4100fc381e..8934d5f80a6 100644
--- a/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
+++ b/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
@@ -11,32 +11,25 @@ Upstream-Status: Submitted [1]
 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
 
 [1] https://gitlab.gnome.org/GNOME/vte/issues/72
-
 ---
- src/missing.hh | 4 ++++
- src/widget.cc  | 1 +
- 2 files changed, 5 insertions(+)
+ src/widget.cc  | 4 +++
+ 1 files changed, 4 insertions(+)
 
---- a/src/missing.hh
-+++ b/src/missing.hh
-@@ -24,6 +24,10 @@
- #define NSIG (8 * sizeof(sigset_t))
- #endif
+diff --git a/src/widget.cc b/src/widget.cc
+index 07f7cabf..31a77f68 100644
+--- a/src/widget.cc
++++ b/src/widget.cc
+@@ -16,6 +16,10 @@
+  * along with this library.  If not, see <https://www.gnu.org/licenses/>.
+  */
  
 +#ifndef W_EXITCODE
 +#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
 +#endif
 +
- #ifndef HAVE_FDWALK
- int fdwalk(int (*cb)(void* data, int fd),
-            void* data);
---- a/src/widget.cc
-+++ b/src/widget.cc
-@@ -21,6 +21,7 @@
- #include "widget.hh"
- 
- #include <sys/wait.h> // for W_EXITCODE
-+#include "missing.hh" // for W_EXITCODE on non-glibc systems
+ #include "config.h"
  
- #include <exception>
- #include <new>
+ #include "widget.hh"
+-- 
+2.42.0
+
diff --git a/meta/recipes-support/vte/vte_0.72.2.bb b/meta/recipes-support/vte/vte_0.74.0.bb
similarity index 66%
rename from meta/recipes-support/vte/vte_0.72.2.bb
rename to meta/recipes-support/vte/vte_0.74.0.bb
index 44e71491f62..21203adcf79 100644
--- a/meta/recipes-support/vte/vte_0.72.2.bb
+++ b/meta/recipes-support/vte/vte_0.74.0.bb
@@ -16,32 +16,27 @@ DEPENDS = "glib-2.0 glib-2.0-native gtk+3 libpcre2 libxml2-native gperf-native i
 GIR_MESON_OPTION = 'gir'
 GIDOCGEN_MESON_OPTION = "docs"
 
-inherit gnomebase gi-docgen features_check upstream-version-is-even gobject-introspection
+inherit gnomebase gi-docgen features_check upstream-version-is-even gobject-introspection vala
 
-# vapigen.m4 is required when vala is not present (but the one from vala should be used normally)
 SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch"
-SRC_URI[archive.sha256sum] = "f7966fd185a6981f53964162b71cfef7e606495155d6f5827b72aa0dd6741c9e"
+SRC_URI[archive.sha256sum] = "9ae08f777952ba793221152d360550451580f42d3b570e3341ebb6841984c76b"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
-# Help g-ir-scanner find the .so for linking
-do_compile:prepend() {
-    export GIR_EXTRA_LIBS_PATH="${B}/src/.libs"
-}
+EXTRA_OEMESON += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)}"
+EXTRA_OEMESON:append = " ${@bb.utils.contains('GI_DATA_ENABLED', 'False', '-Ddocs=false', '', d)}"
 
-# Package additional files
-FILES:${PN}-dev += "${datadir}/vala/vapi/*"
-
-PACKAGECONFIG ??= "gnutls"
-PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false,vala-native vala"
+PACKAGECONFIG ??= " \
+	gnutls \
+	${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
+	${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gtk4', '', d)} \
+"
+PACKAGECONFIG[gtk4] = "-Dgtk4=true,-Dgtk4=false,gtk4"
 PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls"
 PACKAGECONFIG[systemd] = "-D_systemd=true,-D_systemd=false,systemd"
-# vala requires gir
-PACKAGECONFIG:remove:class-native = "vala"
-
-CFLAGS += "-D_GNU_SOURCE"
 
 PACKAGES =+ "libvte ${PN}-prompt"
+FILES:${PN} +="${systemd_user_unitdir}"
 FILES:libvte = "${libdir}/*.so.* ${libdir}/girepository-1.0/*"
 FILES:${PN}-prompt = " \
     ${sysconfdir}/profile.d \
@@ -49,5 +44,3 @@ FILES:${PN}-prompt = " \
 "
 
 FILES:${PN}-dev += "${datadir}/glade/"
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.43.0



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

* [PATCH v12 2/6] vte: Upgrade to 0.74.1
  2023-12-01 18:33 [PATCH v12 1/6] vte: upgrade 0.72.2 -> 0.74.0 Khem Raj
@ 2023-12-01 18:33 ` Khem Raj
  2023-12-01 18:33 ` [PATCH v12 3/6] vte: Separate out gtk4 pieces of vte into individual packages Khem Raj
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: Khem Raj @ 2023-12-01 18:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj, Alexandre Belloni

* Inherit systemd class
* Add packageconfig for fribidi support

(From OE-Core rev: 29c91d1572cddc861bc2caf725aeedc4276e6d0b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 meta/recipes-support/vte/{vte_0.74.0.bb => vte_0.74.1.bb} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-support/vte/{vte_0.74.0.bb => vte_0.74.1.bb} (89%)

diff --git a/meta/recipes-support/vte/vte_0.74.0.bb b/meta/recipes-support/vte/vte_0.74.1.bb
similarity index 89%
rename from meta/recipes-support/vte/vte_0.74.0.bb
rename to meta/recipes-support/vte/vte_0.74.1.bb
index 21203adcf79..8a7054a13cd 100644
--- a/meta/recipes-support/vte/vte_0.74.0.bb
+++ b/meta/recipes-support/vte/vte_0.74.1.bb
@@ -16,10 +16,10 @@ DEPENDS = "glib-2.0 glib-2.0-native gtk+3 libpcre2 libxml2-native gperf-native i
 GIR_MESON_OPTION = 'gir'
 GIDOCGEN_MESON_OPTION = "docs"
 
-inherit gnomebase gi-docgen features_check upstream-version-is-even gobject-introspection vala
+inherit gnomebase gi-docgen features_check upstream-version-is-even gobject-introspection systemd vala
 
 SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch"
-SRC_URI[archive.sha256sum] = "9ae08f777952ba793221152d360550451580f42d3b570e3341ebb6841984c76b"
+SRC_URI[archive.sha256sum] = "2328c3f1c998350a18e0e513348e9fc581d57ea4e7b89aedf11e0e3c65042b4f"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
@@ -31,6 +31,7 @@ PACKAGECONFIG ??= " \
 	${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
 	${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gtk4', '', d)} \
 "
+PACKAGECONFIG[fribidi] = "-Dfribidi=true,-Dfribidi=false,fribidi"
 PACKAGECONFIG[gtk4] = "-Dgtk4=true,-Dgtk4=false,gtk4"
 PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls"
 PACKAGECONFIG[systemd] = "-D_systemd=true,-D_systemd=false,systemd"
-- 
2.43.0



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

* [PATCH v12 3/6] vte: Separate out gtk4 pieces of vte into individual packages
  2023-12-01 18:33 [PATCH v12 1/6] vte: upgrade 0.72.2 -> 0.74.0 Khem Raj
  2023-12-01 18:33 ` [PATCH v12 2/6] vte: Upgrade to 0.74.1 Khem Raj
@ 2023-12-01 18:33 ` Khem Raj
  2023-12-01 18:33 ` [PATCH 4/6] rust-common.bbclass: Define rust arch for x32 platforms Khem Raj
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: Khem Raj @ 2023-12-01 18:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj, Ross Burton, Alexandre Belloni

This avoids adding gtk4 dependencies when image may only desire the gtk3
pieces of vte.

(From OE-Core rev: 9d3f236092ff7c95267d7bc6c3a05cfdce198037)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 meta/recipes-support/vte/vte_0.74.1.bb | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/vte/vte_0.74.1.bb b/meta/recipes-support/vte/vte_0.74.1.bb
index 8a7054a13cd..071f6684644 100644
--- a/meta/recipes-support/vte/vte_0.74.1.bb
+++ b/meta/recipes-support/vte/vte_0.74.1.bb
@@ -36,7 +36,16 @@ PACKAGECONFIG[gtk4] = "-Dgtk4=true,-Dgtk4=false,gtk4"
 PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls"
 PACKAGECONFIG[systemd] = "-D_systemd=true,-D_systemd=false,systemd"
 
-PACKAGES =+ "libvte ${PN}-prompt"
+PACKAGES =+ "libvte-gtk4 ${PN}-gtk4 ${PN}-gtk4-dev libvte ${PN}-prompt"
+FILES:libvte-gtk4 = "${libdir}/lib*gtk4.so.* ${libdir}/girepository-1.0/Vte-3.91.typelib"
+FILES:${PN}-gtk4 ="${bindir}/vte-2.91-gtk4"
+FILES:${PN}-gtk4-dev = "${libdir}/lib*gtk4.so \
+                        ${libdir}/pkgconfig/vte-2.91-gtk4.pc \
+                        ${datadir}/gir-1.0/Vte-3.91.gir \
+                        ${datadir}/vala/vapi/vte-2.91-gtk4.deps \
+                        ${datadir}/vala/vapi/vte-2.91-gtk4.vapi \
+                        ${includedir}/vte-2.91-gtk4 \
+                        "
 FILES:${PN} +="${systemd_user_unitdir}"
 FILES:libvte = "${libdir}/*.so.* ${libdir}/girepository-1.0/*"
 FILES:${PN}-prompt = " \
-- 
2.43.0



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

* [PATCH 4/6] rust-common.bbclass: Define rust arch for x32 platforms
  2023-12-01 18:33 [PATCH v12 1/6] vte: upgrade 0.72.2 -> 0.74.0 Khem Raj
  2023-12-01 18:33 ` [PATCH v12 2/6] vte: Upgrade to 0.74.1 Khem Raj
  2023-12-01 18:33 ` [PATCH v12 3/6] vte: Separate out gtk4 pieces of vte into individual packages Khem Raj
@ 2023-12-01 18:33 ` Khem Raj
  2023-12-01 18:33 ` [PATCH 5/6] virglrenderer: Fix build with clang Khem Raj
  2023-12-01 18:33 ` [PATCH 6/6] llvm: Upgrade to 17.0.6 Khem Raj
  4 siblings, 0 replies; 10+ messages in thread
From: Khem Raj @ 2023-12-01 18:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes-recipe/rust-common.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes-recipe/rust-common.bbclass b/meta/classes-recipe/rust-common.bbclass
index 3d73a370ec8..5bdaf0c7a69 100644
--- a/meta/classes-recipe/rust-common.bbclass
+++ b/meta/classes-recipe/rust-common.bbclass
@@ -63,6 +63,8 @@ def rust_base_triple(d, thing):
     # This catches ARM targets and appends the necessary hard float bits
     if os == "linux-gnueabi" or os == "linux-musleabi":
         libc = bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'hf', '', d)
+    if os == "linux-gnux32" or os == "linux-muslx32":
+        libc = ""
     elif "musl" in os:
         libc = "-musl"
         os = "linux"
-- 
2.43.0



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

* [PATCH 5/6] virglrenderer: Fix build with clang
  2023-12-01 18:33 [PATCH v12 1/6] vte: upgrade 0.72.2 -> 0.74.0 Khem Raj
                   ` (2 preceding siblings ...)
  2023-12-01 18:33 ` [PATCH 4/6] rust-common.bbclass: Define rust arch for x32 platforms Khem Raj
@ 2023-12-01 18:33 ` Khem Raj
  2023-12-01 18:33 ` [PATCH 6/6] llvm: Upgrade to 17.0.6 Khem Raj
  4 siblings, 0 replies; 10+ messages in thread
From: Khem Raj @ 2023-12-01 18:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj, Alexander Kanavin

Fix warnigns seen with -Wembedded-directive -D_FORTIFY_SOURCE=2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>
---
 ...st-Fix-undefined-behavior-with-clang.patch | 56 +++++++++++++++++++
 .../virglrenderer/virglrenderer_1.0.0.bb      |  1 +
 2 files changed, 57 insertions(+)
 create mode 100644 meta/recipes-graphics/virglrenderer/virglrenderer/0001-vtest-Fix-undefined-behavior-with-clang.patch

diff --git a/meta/recipes-graphics/virglrenderer/virglrenderer/0001-vtest-Fix-undefined-behavior-with-clang.patch b/meta/recipes-graphics/virglrenderer/virglrenderer/0001-vtest-Fix-undefined-behavior-with-clang.patch
new file mode 100644
index 00000000000..48488d7be12
--- /dev/null
+++ b/meta/recipes-graphics/virglrenderer/virglrenderer/0001-vtest-Fix-undefined-behavior-with-clang.patch
@@ -0,0 +1,56 @@
+From ea328b246d093477cf26a68b42e975aaaef6abad Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 28 Nov 2023 21:55:36 -0800
+Subject: [PATCH] vtest: Fix undefined behavior with clang
+
+This is seen when compiling with CC="clang -D_FORTIFY_SOURCE=2"
+Move #ifdef outside of printf() call.
+
+Fixes
+
+| ../git/vtest/vtest_server.c:244:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
+|   244 | #ifdef ENABLE_VENUS
+|       |  ^
+| ../git/vtest/vtest_server.c:246:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
+|   246 | #endif
+|       |  ^
+
+Upstream-Status: Submitted [https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1309]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ vtest/vtest_server.c | 12 ++++++++----
+ 1 file changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/vtest/vtest_server.c b/vtest/vtest_server.c
+index 1ca7f74f..93d949d7 100644
+--- a/vtest/vtest_server.c
++++ b/vtest/vtest_server.c
+@@ -197,6 +197,12 @@ static void vtest_server_parse_args(int argc, char **argv)
+    /* getopt_long stores the option index here. */
+    int option_index = 0;
+ 
++#ifdef ENABLE_VENUS
++   char* ven = " [--venus]";
++#else
++   char* ven = "";
++#endif
++
+    do {
+       ret = getopt_long(argc, argv, "", long_options, &option_index);
+ 
+@@ -244,10 +250,8 @@ static void vtest_server_parse_args(int argc, char **argv)
+          printf("Usage: %s [--no-fork] [--no-loop-or-fork] [--multi-clients] "
+                 "[--use-glx] [--use-egl-surfaceless] [--use-gles] [--no-virgl]"
+                 "[--rendernode <dev>] [--socket-path <path>] "
+-#ifdef ENABLE_VENUS
+-                " [--venus]"
+-#endif
+-                " [file]\n", argv[0]);
++                "%s"
++                " [file]\n", argv[0], ven);
+          exit(EXIT_FAILURE);
+          break;
+       }
+-- 
+2.43.0
+
diff --git a/meta/recipes-graphics/virglrenderer/virglrenderer_1.0.0.bb b/meta/recipes-graphics/virglrenderer/virglrenderer_1.0.0.bb
index ffe30a9c525..eb7ba1089f6 100644
--- a/meta/recipes-graphics/virglrenderer/virglrenderer_1.0.0.bb
+++ b/meta/recipes-graphics/virglrenderer/virglrenderer_1.0.0.bb
@@ -12,6 +12,7 @@ DEPENDS = "libdrm libepoxy virtual/egl virtual/libgbm"
 SRCREV = "9c9d55ecbe502e0d71ee99529709efcca69aac42"
 SRC_URI = "git://gitlab.freedesktop.org/virgl/virglrenderer.git;branch=main;protocol=https \
            file://0001-meson.build-use-python3-directly-for-python.patch \
+           file://0001-vtest-Fix-undefined-behavior-with-clang.patch \
            "
 
 S = "${WORKDIR}/git"
-- 
2.43.0



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

* [PATCH 6/6] llvm: Upgrade to 17.0.6
  2023-12-01 18:33 [PATCH v12 1/6] vte: upgrade 0.72.2 -> 0.74.0 Khem Raj
                   ` (3 preceding siblings ...)
  2023-12-01 18:33 ` [PATCH 5/6] virglrenderer: Fix build with clang Khem Raj
@ 2023-12-01 18:33 ` Khem Raj
  2023-12-01 23:27   ` [OE-core] " Alexandre Belloni
       [not found]   ` <179CD8EAC4F00896.18076@lists.openembedded.org>
  4 siblings, 2 replies; 10+ messages in thread
From: Khem Raj @ 2023-12-01 18:33 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Bring in these changes

* 6009708b4367 Revert "[runtimes] Add missing test dependencies to check-all (#72955)"
* 04caadc61fa2 [Driver] Enable __float128 support on X86 on FreeBSD / NetBSD (#72788)
* e919a83f96fe eliminate python SyntaxWarnings from check-all output.
* f6c231c15ec8 [clang-format] Fix crashes in AlignArrayOfStructures (#72520)
* f74f3e6f58d3 [clang] Fix sorting module headers (#73146)
* 7e30ce9528d9 [JITLink][aarch32] Change writeRegister's return type to void.
* 03373fd9cb6c [CMake] Support building shared library for NetBSD
* 21af3b62b632 workflows/release-binaries: Do a preliminary build to fill ccache (#72576)
* 201faeca595e Add RV64 constraint to SRLIW (#69416)
* e957e6dcb29d [runtimes] Add missing test dependencies to check-all (#72955)
* f8575ff46f89 [clang-format] Fix a bug in aligning comments above PPDirective (#72791)
* a71237b9f67f [clangd] Avoid null result in FindRecordTypeAt()
* 308c816de5a4 Bump version to 17.0.6
* 442401f7c0ca remove tests from bad merge
* 76c7e0e1e2d1 Use the correct namespace for looking up matching operator!= (#68922)
* b5cbb35408a3 [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233)
* e6de86cb9ef8 Revert "Reland [clang] Canonicalize system headers in dependency file when -canonical-prefixes" (#71697)
* bb66d8f8f73b [clang][WebAssembly] Link crt1 even in case of -shared

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/llvm/llvm_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index de8d4116868..9a88549260a 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -14,14 +14,14 @@ RDEPENDS:${PN}:append:class-target = " ncurses-terminfo"
 
 inherit cmake pkgconfig
 
-PV = "17.0.5"
+PV = "17.0.6"
 
 MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
 
 LLVM_RELEASE = "${PV}"
 
 BRANCH = "release/${MAJOR_VERSION}.x"
-SRCREV = "98bfdac5ce82d1679f8af9a57501471812ab68d7"
+SRCREV = "6009708b4367171ccdbf4b5905cb6a803753fe18"
 SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
            file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
            file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
-- 
2.43.0



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

* Re: [OE-core] [PATCH 6/6] llvm: Upgrade to 17.0.6
  2023-12-01 18:33 ` [PATCH 6/6] llvm: Upgrade to 17.0.6 Khem Raj
@ 2023-12-01 23:27   ` Alexandre Belloni
       [not found]   ` <179CD8EAC4F00896.18076@lists.openembedded.org>
  1 sibling, 0 replies; 10+ messages in thread
From: Alexandre Belloni @ 2023-12-01 23:27 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

This breaks:

https://autobuilder.yoctoproject.org/typhoon/#/builders/106/builds/7190/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/146/builds/960/steps/12/logs/stdio

On 01/12/2023 10:33:54-0800, Khem Raj wrote:
> Bring in these changes
> 
> * 6009708b4367 Revert "[runtimes] Add missing test dependencies to check-all (#72955)"
> * 04caadc61fa2 [Driver] Enable __float128 support on X86 on FreeBSD / NetBSD (#72788)
> * e919a83f96fe eliminate python SyntaxWarnings from check-all output.
> * f6c231c15ec8 [clang-format] Fix crashes in AlignArrayOfStructures (#72520)
> * f74f3e6f58d3 [clang] Fix sorting module headers (#73146)
> * 7e30ce9528d9 [JITLink][aarch32] Change writeRegister's return type to void.
> * 03373fd9cb6c [CMake] Support building shared library for NetBSD
> * 21af3b62b632 workflows/release-binaries: Do a preliminary build to fill ccache (#72576)
> * 201faeca595e Add RV64 constraint to SRLIW (#69416)
> * e957e6dcb29d [runtimes] Add missing test dependencies to check-all (#72955)
> * f8575ff46f89 [clang-format] Fix a bug in aligning comments above PPDirective (#72791)
> * a71237b9f67f [clangd] Avoid null result in FindRecordTypeAt()
> * 308c816de5a4 Bump version to 17.0.6
> * 442401f7c0ca remove tests from bad merge
> * 76c7e0e1e2d1 Use the correct namespace for looking up matching operator!= (#68922)
> * b5cbb35408a3 [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233)
> * e6de86cb9ef8 Revert "Reland [clang] Canonicalize system headers in dependency file when -canonical-prefixes" (#71697)
> * bb66d8f8f73b [clang][WebAssembly] Link crt1 even in case of -shared
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-devtools/llvm/llvm_git.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
> index de8d4116868..9a88549260a 100644
> --- a/meta/recipes-devtools/llvm/llvm_git.bb
> +++ b/meta/recipes-devtools/llvm/llvm_git.bb
> @@ -14,14 +14,14 @@ RDEPENDS:${PN}:append:class-target = " ncurses-terminfo"
>  
>  inherit cmake pkgconfig
>  
> -PV = "17.0.5"
> +PV = "17.0.6"
>  
>  MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
>  
>  LLVM_RELEASE = "${PV}"
>  
>  BRANCH = "release/${MAJOR_VERSION}.x"
> -SRCREV = "98bfdac5ce82d1679f8af9a57501471812ab68d7"
> +SRCREV = "6009708b4367171ccdbf4b5905cb6a803753fe18"
>  SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
>             file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
>             file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
> -- 
> 2.43.0
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#191682): https://lists.openembedded.org/g/openembedded-core/message/191682
> Mute This Topic: https://lists.openembedded.org/mt/102921840/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

* Re: [OE-core] [PATCH 6/6] llvm: Upgrade to 17.0.6
       [not found]   ` <179CD8EAC4F00896.18076@lists.openembedded.org>
@ 2023-12-01 23:55     ` Alexandre Belloni
  2023-12-02  0:03       ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: Alexandre Belloni @ 2023-12-01 23:55 UTC (permalink / raw)
  To: Khem Raj, openembedded-core

On 02/12/2023 00:27:39+0100, Alexandre Belloni via lists.openembedded.org wrote:
> This breaks:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/106/builds/7190/steps/11/logs/stdio

Actually, this one reproduced without the patch

> https://autobuilder.yoctoproject.org/typhoon/#/builders/146/builds/960/steps/12/logs/stdio

But not this one.

> 
> On 01/12/2023 10:33:54-0800, Khem Raj wrote:
> > Bring in these changes
> > 
> > * 6009708b4367 Revert "[runtimes] Add missing test dependencies to check-all (#72955)"
> > * 04caadc61fa2 [Driver] Enable __float128 support on X86 on FreeBSD / NetBSD (#72788)
> > * e919a83f96fe eliminate python SyntaxWarnings from check-all output.
> > * f6c231c15ec8 [clang-format] Fix crashes in AlignArrayOfStructures (#72520)
> > * f74f3e6f58d3 [clang] Fix sorting module headers (#73146)
> > * 7e30ce9528d9 [JITLink][aarch32] Change writeRegister's return type to void.
> > * 03373fd9cb6c [CMake] Support building shared library for NetBSD
> > * 21af3b62b632 workflows/release-binaries: Do a preliminary build to fill ccache (#72576)
> > * 201faeca595e Add RV64 constraint to SRLIW (#69416)
> > * e957e6dcb29d [runtimes] Add missing test dependencies to check-all (#72955)
> > * f8575ff46f89 [clang-format] Fix a bug in aligning comments above PPDirective (#72791)
> > * a71237b9f67f [clangd] Avoid null result in FindRecordTypeAt()
> > * 308c816de5a4 Bump version to 17.0.6
> > * 442401f7c0ca remove tests from bad merge
> > * 76c7e0e1e2d1 Use the correct namespace for looking up matching operator!= (#68922)
> > * b5cbb35408a3 [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233)
> > * e6de86cb9ef8 Revert "Reland [clang] Canonicalize system headers in dependency file when -canonical-prefixes" (#71697)
> > * bb66d8f8f73b [clang][WebAssembly] Link crt1 even in case of -shared
> > 
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/recipes-devtools/llvm/llvm_git.bb | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
> > index de8d4116868..9a88549260a 100644
> > --- a/meta/recipes-devtools/llvm/llvm_git.bb
> > +++ b/meta/recipes-devtools/llvm/llvm_git.bb
> > @@ -14,14 +14,14 @@ RDEPENDS:${PN}:append:class-target = " ncurses-terminfo"
> >  
> >  inherit cmake pkgconfig
> >  
> > -PV = "17.0.5"
> > +PV = "17.0.6"
> >  
> >  MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
> >  
> >  LLVM_RELEASE = "${PV}"
> >  
> >  BRANCH = "release/${MAJOR_VERSION}.x"
> > -SRCREV = "98bfdac5ce82d1679f8af9a57501471812ab68d7"
> > +SRCREV = "6009708b4367171ccdbf4b5905cb6a803753fe18"
> >  SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
> >             file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
> >             file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
> > -- 
> > 2.43.0
> > 
> 
> > 
> > 
> > 
> 
> 
> -- 
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#191693): https://lists.openembedded.org/g/openembedded-core/message/191693
> Mute This Topic: https://lists.openembedded.org/mt/102921840/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


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

* Re: [OE-core] [PATCH 6/6] llvm: Upgrade to 17.0.6
  2023-12-01 23:55     ` Alexandre Belloni
@ 2023-12-02  0:03       ` Khem Raj
  2023-12-02  0:10         ` Khem Raj
  0 siblings, 1 reply; 10+ messages in thread
From: Khem Raj @ 2023-12-02  0:03 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: openembedded-core

On Fri, Dec 1, 2023 at 3:55 PM Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:
>
> On 02/12/2023 00:27:39+0100, Alexandre Belloni via lists.openembedded.org wrote:
> > This breaks:
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/106/builds/7190/steps/11/logs/stdio
>
> Actually, this one reproduced without the patch
>

how is llvm used by rust ?

> > https://autobuilder.yoctoproject.org/typhoon/#/builders/146/builds/960/steps/12/logs/stdio
>
> But not this one.
>
> >
> > On 01/12/2023 10:33:54-0800, Khem Raj wrote:
> > > Bring in these changes
> > >
> > > * 6009708b4367 Revert "[runtimes] Add missing test dependencies to check-all (#72955)"
> > > * 04caadc61fa2 [Driver] Enable __float128 support on X86 on FreeBSD / NetBSD (#72788)
> > > * e919a83f96fe eliminate python SyntaxWarnings from check-all output.
> > > * f6c231c15ec8 [clang-format] Fix crashes in AlignArrayOfStructures (#72520)
> > > * f74f3e6f58d3 [clang] Fix sorting module headers (#73146)
> > > * 7e30ce9528d9 [JITLink][aarch32] Change writeRegister's return type to void.
> > > * 03373fd9cb6c [CMake] Support building shared library for NetBSD
> > > * 21af3b62b632 workflows/release-binaries: Do a preliminary build to fill ccache (#72576)
> > > * 201faeca595e Add RV64 constraint to SRLIW (#69416)
> > > * e957e6dcb29d [runtimes] Add missing test dependencies to check-all (#72955)
> > > * f8575ff46f89 [clang-format] Fix a bug in aligning comments above PPDirective (#72791)
> > > * a71237b9f67f [clangd] Avoid null result in FindRecordTypeAt()
> > > * 308c816de5a4 Bump version to 17.0.6
> > > * 442401f7c0ca remove tests from bad merge
> > > * 76c7e0e1e2d1 Use the correct namespace for looking up matching operator!= (#68922)
> > > * b5cbb35408a3 [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233)
> > > * e6de86cb9ef8 Revert "Reland [clang] Canonicalize system headers in dependency file when -canonical-prefixes" (#71697)
> > > * bb66d8f8f73b [clang][WebAssembly] Link crt1 even in case of -shared
> > >
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > ---
> > >  meta/recipes-devtools/llvm/llvm_git.bb | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
> > > index de8d4116868..9a88549260a 100644
> > > --- a/meta/recipes-devtools/llvm/llvm_git.bb
> > > +++ b/meta/recipes-devtools/llvm/llvm_git.bb
> > > @@ -14,14 +14,14 @@ RDEPENDS:${PN}:append:class-target = " ncurses-terminfo"
> > >
> > >  inherit cmake pkgconfig
> > >
> > > -PV = "17.0.5"
> > > +PV = "17.0.6"
> > >
> > >  MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
> > >
> > >  LLVM_RELEASE = "${PV}"
> > >
> > >  BRANCH = "release/${MAJOR_VERSION}.x"
> > > -SRCREV = "98bfdac5ce82d1679f8af9a57501471812ab68d7"
> > > +SRCREV = "6009708b4367171ccdbf4b5905cb6a803753fe18"
> > >  SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
> > >             file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
> > >             file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
> > > --
> > > 2.43.0
> > >
> >
> > >
> > >
> > >
> >
> >
> > --
> > Alexandre Belloni, co-owner and COO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com
>
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#191693): https://lists.openembedded.org/g/openembedded-core/message/191693
> > Mute This Topic: https://lists.openembedded.org/mt/102921840/3617179
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com


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

* Re: [OE-core] [PATCH 6/6] llvm: Upgrade to 17.0.6
  2023-12-02  0:03       ` Khem Raj
@ 2023-12-02  0:10         ` Khem Raj
  0 siblings, 0 replies; 10+ messages in thread
From: Khem Raj @ 2023-12-02  0:10 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: openembedded-core

On Fri, Dec 1, 2023 at 4:03 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Fri, Dec 1, 2023 at 3:55 PM Alexandre Belloni
> <alexandre.belloni@bootlin.com> wrote:
> >
> > On 02/12/2023 00:27:39+0100, Alexandre Belloni via lists.openembedded.org wrote:
> > > This breaks:
> > >
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/106/builds/7190/steps/11/logs/stdio
> >
> > Actually, this one reproduced without the patch
> >
>
> how is llvm used by rust ?

The problem was in the rust patch for x32, I have sent a v2 please use
that patch with rest of the series.

>
> > > https://autobuilder.yoctoproject.org/typhoon/#/builders/146/builds/960/steps/12/logs/stdio
> >
> > But not this one.
> >
> > >
> > > On 01/12/2023 10:33:54-0800, Khem Raj wrote:
> > > > Bring in these changes
> > > >
> > > > * 6009708b4367 Revert "[runtimes] Add missing test dependencies to check-all (#72955)"
> > > > * 04caadc61fa2 [Driver] Enable __float128 support on X86 on FreeBSD / NetBSD (#72788)
> > > > * e919a83f96fe eliminate python SyntaxWarnings from check-all output.
> > > > * f6c231c15ec8 [clang-format] Fix crashes in AlignArrayOfStructures (#72520)
> > > > * f74f3e6f58d3 [clang] Fix sorting module headers (#73146)
> > > > * 7e30ce9528d9 [JITLink][aarch32] Change writeRegister's return type to void.
> > > > * 03373fd9cb6c [CMake] Support building shared library for NetBSD
> > > > * 21af3b62b632 workflows/release-binaries: Do a preliminary build to fill ccache (#72576)
> > > > * 201faeca595e Add RV64 constraint to SRLIW (#69416)
> > > > * e957e6dcb29d [runtimes] Add missing test dependencies to check-all (#72955)
> > > > * f8575ff46f89 [clang-format] Fix a bug in aligning comments above PPDirective (#72791)
> > > > * a71237b9f67f [clangd] Avoid null result in FindRecordTypeAt()
> > > > * 308c816de5a4 Bump version to 17.0.6
> > > > * 442401f7c0ca remove tests from bad merge
> > > > * 76c7e0e1e2d1 Use the correct namespace for looking up matching operator!= (#68922)
> > > > * b5cbb35408a3 [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233)
> > > > * e6de86cb9ef8 Revert "Reland [clang] Canonicalize system headers in dependency file when -canonical-prefixes" (#71697)
> > > > * bb66d8f8f73b [clang][WebAssembly] Link crt1 even in case of -shared
> > > >
> > > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > > ---
> > > >  meta/recipes-devtools/llvm/llvm_git.bb | 4 ++--
> > > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > >
> > > > diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
> > > > index de8d4116868..9a88549260a 100644
> > > > --- a/meta/recipes-devtools/llvm/llvm_git.bb
> > > > +++ b/meta/recipes-devtools/llvm/llvm_git.bb
> > > > @@ -14,14 +14,14 @@ RDEPENDS:${PN}:append:class-target = " ncurses-terminfo"
> > > >
> > > >  inherit cmake pkgconfig
> > > >
> > > > -PV = "17.0.5"
> > > > +PV = "17.0.6"
> > > >
> > > >  MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
> > > >
> > > >  LLVM_RELEASE = "${PV}"
> > > >
> > > >  BRANCH = "release/${MAJOR_VERSION}.x"
> > > > -SRCREV = "98bfdac5ce82d1679f8af9a57501471812ab68d7"
> > > > +SRCREV = "6009708b4367171ccdbf4b5905cb6a803753fe18"
> > > >  SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
> > > >             file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
> > > >             file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
> > > > --
> > > > 2.43.0
> > > >
> > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Alexandre Belloni, co-owner and COO, Bootlin
> > > Embedded Linux and Kernel engineering
> > > https://bootlin.com
> >
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#191693): https://lists.openembedded.org/g/openembedded-core/message/191693
> > > Mute This Topic: https://lists.openembedded.org/mt/102921840/3617179
> > > Group Owner: openembedded-core+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >
> >
> >
> > --
> > Alexandre Belloni, co-owner and COO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com


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

end of thread, other threads:[~2023-12-02  0:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01 18:33 [PATCH v12 1/6] vte: upgrade 0.72.2 -> 0.74.0 Khem Raj
2023-12-01 18:33 ` [PATCH v12 2/6] vte: Upgrade to 0.74.1 Khem Raj
2023-12-01 18:33 ` [PATCH v12 3/6] vte: Separate out gtk4 pieces of vte into individual packages Khem Raj
2023-12-01 18:33 ` [PATCH 4/6] rust-common.bbclass: Define rust arch for x32 platforms Khem Raj
2023-12-01 18:33 ` [PATCH 5/6] virglrenderer: Fix build with clang Khem Raj
2023-12-01 18:33 ` [PATCH 6/6] llvm: Upgrade to 17.0.6 Khem Raj
2023-12-01 23:27   ` [OE-core] " Alexandre Belloni
     [not found]   ` <179CD8EAC4F00896.18076@lists.openembedded.org>
2023-12-01 23:55     ` Alexandre Belloni
2023-12-02  0:03       ` Khem Raj
2023-12-02  0:10         ` Khem Raj

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