<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Ping<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 5, 2024 at 4:13 PM Kinsey Moore <<a href="mailto:kinsey.moore@oarcorp.com">kinsey.moore@oarcorp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This updates glib to 2.56.4 for AArch64 build support.<br>
---<br>
 bare/config/devel/glib-2.56.4-1.cfg    | 30 ++++++++++++++++++++++++++<br>
 bare/config/devel/qemu-couverture.bset |  2 +-<br>
 bare/config/devel/qemu-xilinx.bset     |  2 +-<br>
 bare/config/devel/qemu.bset            |  2 +-<br>
 source-builder/config/glib-2-1.cfg     |  1 +<br>
 5 files changed, 34 insertions(+), 3 deletions(-)<br>
 create mode 100644 bare/config/devel/glib-2.56.4-1.cfg<br>
<br>
diff --git a/bare/config/devel/glib-2.56.4-1.cfg b/bare/config/devel/glib-2.56.4-1.cfg<br>
new file mode 100644<br>
index 0000000..175b060<br>
--- /dev/null<br>
+++ b/bare/config/devel/glib-2.56.4-1.cfg<br>
@@ -0,0 +1,30 @@<br>
+#<br>
+# GLib<br>
+#<br>
+<br>
+%if %{release} == %{nil}<br>
+%define release 1<br>
+%endif<br>
+<br>
+%include %{_configdir}/base.cfg<br>
+<br>
+%define glib_version_major 2.56<br>
+%define glib_version_minor 4<br>
+%define glib_version       %{glib_version_major}.%{glib_version_minor}<br>
+<br>
+%hash sha256 glib-%{glib_version}.tar.xz J/cD0SXvsH+KdDZmtYDfC0CVxZ/IdQ6IkBMskdQ3UEw=<br>
+<br>
+#<br>
+#Add patches to suppress null argument warning<br>
+#<br>
+<br>
+%patch add glib <a href="https://devel.rtems.org/raw-attachment/ticket/4634/566e1d61a500267c7849ad0b2552feec9c9a29a6.patch" rel="noreferrer" target="_blank">https://devel.rtems.org/raw-attachment/ticket/4634/566e1d61a500267c7849ad0b2552feec9c9a29a6.patch</a><br>
+%hash sha512 566e1d61a500267c7849ad0b2552feec9c9a29a6.patch \<br>
+       ULwUKgmgGLAOlgsr09K2GdYVGm8yzffwWRGRZTi5B8KdMuyAE+Y0eFOAg2L77aVG3o14l6x9qNA1DH8uMYKOcw==<br>
+<br>
+#<br>
+# The GLib build instructions. We use 2.x.x Release 1.<br>
+#<br>
+%if !%{pkgconfig check glib-2.0} || %{defined _rsb_getting_source}<br>
+ %include %{_configdir}/glib-2-1.cfg<br>
+%endif<br>
diff --git a/bare/config/devel/qemu-couverture.bset b/bare/config/devel/qemu-couverture.bset<br>
index 60bec8e..69f6dfb 100644<br>
--- a/bare/config/devel/qemu-couverture.bset<br>
+++ b/bare/config/devel/qemu-couverture.bset<br>
@@ -21,6 +21,6 @@ devel/libiconv-1.14-1<br>
 devel/gettext-0.18.3.1-1<br>
 devel/libffi-3.0.13-1<br>
 devel/pixman-0.32.4-1<br>
-devel/glib-2.48.2-1<br>
+devel/glib-2.56.4-1<br>
 devel/dtc-1.6.1-1<br>
 devel/qemu-couverture-git-1<br>
diff --git a/bare/config/devel/qemu-xilinx.bset b/bare/config/devel/qemu-xilinx.bset<br>
index 91b07e8..5bcbe2f 100644<br>
--- a/bare/config/devel/qemu-xilinx.bset<br>
+++ b/bare/config/devel/qemu-xilinx.bset<br>
@@ -20,5 +20,5 @@ devel/libiconv-1.14-1<br>
 devel/gettext-0.18.3.1-1<br>
 devel/libffi-3.0.13-1<br>
 devel/pixman-0.40.0-1<br>
-devel/glib-2.48.2-1<br>
+devel/glib-2.56.4-1<br>
 devel/qemu-xilinx-v2020.2-1<br>
diff --git a/bare/config/devel/qemu.bset b/bare/config/devel/qemu.bset<br>
index 3a9b0d5..7de2ca4 100644<br>
--- a/bare/config/devel/qemu.bset<br>
+++ b/bare/config/devel/qemu.bset<br>
@@ -20,5 +20,5 @@ devel/libiconv-1.14-1<br>
 devel/gettext-0.18.3.1-1<br>
 devel/libffi-3.0.13-1<br>
 devel/pixman-0.40.0-1<br>
-devel/glib-2.48.2-1<br>
+devel/glib-2.56.4-1<br>
 devel/qemu-5.2.0-1<br>
diff --git a/source-builder/config/glib-2-1.cfg b/source-builder/config/glib-2-1.cfg<br>
index 09b43fa..5f80db0 100644<br>
--- a/source-builder/config/glib-2-1.cfg<br>
+++ b/source-builder/config/glib-2-1.cfg<br>
@@ -60,6 +60,7 @@ URL:     <a href="https://developer.gnome.org/glib/" rel="noreferrer" target="_blank">https://developer.gnome.org/glib/</a><br>
     --build=%{_build} --host=%{_host} \<br>
     --with-sysroot=$SYSROOT \<br>
     --disable-dtrace \<br>
+    --enable-libmount=no \<br>
     --with-pcre=internal<br>
<br>
   %{_ld_library_path}=$SYSROOT/lib \<br>
-- <br>
2.39.2<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>