From 021ac67cc29af0f48cebb755fe306339e75b5eb2 Mon Sep 17 00:00:00 2001 From: Michael Cobb michael.cobb@iceotope.com Date: Thu, 5 Sep 2024 09:12:56 +0100 Subject: [meta-morello-distro][PATCH 0/4] GLib-2.0: Add recipes for GLib 2.76.4 and dependencies
These patches contain recipes for purecap GLib-2.0 2.76.4, and dependencies libpcre2 10.40 and libffi 3.4.2. Patches for GLib and libffi are from the CheriBSD CTSRD-CHERI repo (https://github.com/CTSRD-CHERI).
libffi's closures are disabled upstream. A compile time flag has been added to re-enable FFI closures on CHERI (--enable-cheri-ffi-closures). Without re-enabling closures, I am unable to use DBus signals with GDBus. Enabling them allows me to using DBus signals without issues, but YMMV.
Running the GLib tests manually I see 220 passed, 47 fail. I believe the failures are due to not using GLib's build system (i.e. `meson test`) and therefore are not being ran correctly.
Michael Cobb (4): libpcre2: C64 initial commit libffi: C64 initial commit util-linux: enable building of libmount to support GLib glib-2.0: C64 initial commit
.../glib-2.0/glib-2.0-morello_2.76.4.bb | 58 +++ ...0001-Fix-DATADIRNAME-on-uclibc-Linux.patch | 30 ++ ...-gio-querymodules-as-libexec_PROGRAM.patch | 27 ++ ...ng-about-deprecated-paths-in-schemas.patch | 40 ++ ...-correctly-when-building-with-mingw3.patch | 81 ++++ .../0001-add-disable-cxx-build-option.patch | 36 ++ ...ces.c-comment-out-a-build-host-only-.patch | 28 ++ ...on-Run-atomics-test-on-clang-as-well.patch | 29 ++ ...-fix-iconv-libintl-library-not-found.patch | 61 +++ ...sable-testing-host-binaries-when-cro.patch | 59 +++ ...dcode-python-path-into-various-tools.patch | 44 +++ .../glib-2.0/glib-2.0/memory-monitor.patch | 362 ++++++++++++++++++ .../glib-2.0/glib-2.0/meson.cross.d/common | 3 + .../glib-2.0/meson.cross.d/common-glibc | 5 + .../glib-2.0/meson.cross.d/common-linux | 5 + .../glib-2.0/meson.cross.d/common-mingw | 6 + .../glib-2.0/meson.cross.d/common-morello | 3 + .../glib-2.0/meson.cross.d/common-musl | 6 + .../glib-2.0/glib-2.0/skip-timeout.patch | 30 ++ recipes-core/glib-2.0/glib-morello.inc | 170 ++++++++ .../util-linux/util-linux-morello_2.37.4.bb | 4 +- .../libffi/libffi-morello_3.4.2.bb | 41 ++ ...-ffi-closures-flag-to-enable-FFI-clo.patch | 65 ++++ ...m-sysv-reverted-clang-VFP-mitigation.patch | 102 +++++ recipes-support/libffi/libffi/not-win32.patch | 35 ++ .../libpcre/libpcre2-morello_10.40.bb | 69 ++++ .../libpcre/libpcre2/CVE-2022-41409.patch | 75 ++++ 27 files changed, 1472 insertions(+), 2 deletions(-) create mode 100644 recipes-core/glib-2.0/glib-2.0-morello_2.76.4.bb create mode 100644 recipes-core/glib-2.0/glib-2.0/0001-Fix-DATADIRNAME-on-uclibc-Linux.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/0001-Install-gio-querymodules-as-libexec_PROGRAM.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/0001-Set-host_machine-correctly-when-building-with-mingw3.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/0001-add-disable-cxx-build-option.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/0001-meson-Run-atomics-test-on-clang-as-well.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/0002-fix-iconv-libintl-library-not-found.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/0003-Add-option-to-disable-testing-host-binaries-when-cro.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/0010-Do-not-hardcode-python-path-into-various-tools.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/memory-monitor.patch create mode 100644 recipes-core/glib-2.0/glib-2.0/meson.cross.d/common create mode 100644 recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc create mode 100644 recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-linux create mode 100644 recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-mingw create mode 100644 recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-morello create mode 100644 recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-musl create mode 100644 recipes-core/glib-2.0/glib-2.0/skip-timeout.patch create mode 100644 recipes-core/glib-2.0/glib-morello.inc create mode 100644 recipes-support/libffi/libffi-morello_3.4.2.bb create mode 100644 recipes-support/libffi/libffi/0001-Add-enable-cheri-ffi-closures-flag-to-enable-FFI-clo.patch create mode 100644 recipes-support/libffi/libffi/0001-arm-sysv-reverted-clang-VFP-mitigation.patch create mode 100644 recipes-support/libffi/libffi/not-win32.patch create mode 100644 recipes-support/libpcre/libpcre2-morello_10.40.bb create mode 100644 recipes-support/libpcre/libpcre2/CVE-2022-41409.patch