package/libglib2: update atomic patch
PATCH 1/1 package/libglib2: update atomic patch
Commit 929bffbf4bf8fcb91bda446777f907f32c782656 forgot to update patch number
Moreover, replace it with a new iteration to follow upstream request [1] and avoid the following build host build failure with br-autobuild-1:
/usr/bin/ld: cannot find /usr/lib64/libatomic.so.1.2.0: No such file or directory
- http://autobuild.buildroot.org/results/a12b9c4436594818f4ce128595b429adf7d90e31
[1]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3606
--- .../0005-link-with-latomic-when-needed.patch | 45 ---------------- .../0006-link-with-latomic-when-needed.patch | 52 +++++++++++++++++++ 2 files changed, 52 insertions(+), 45 deletions(-) delete mode 100644 package/libglib2/0005-link-with-latomic-when-needed.patch create mode 100644 package/libglib2/0006-link-with-latomic-when-needed.patch
package/libglib2/0005-link-with-latomic-when-needed.patch deleted +0 -45
@@ -1,45 +0,0 @@ -From d1814dbd3a88c95a43d4c9805bb4a523cf62d97b Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine <[email protected]> -Date: Sun, 17 Sep 2023 20:42:00 +0200 -Subject: [PATCH] link with -latomic when needed - -Some architecture such as sparc and some flavors of arm needs -latomic -to avoid the following build failure: - -gthread-posix.c:(.text+0xda8): undefined reference to `__atomic_compare_exchange_4' - -Signed-off-by: Fabrice Fontaine <[email protected]> -Upstream: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3586 ---- - glib/meson.build | 1 + - meson.build | 2 ++ - 2 files changed, 3 insertions(+) - -diff --git a/glib/meson.build b/glib/meson.build -index c26a35e42..7a761306b 100644 ---- a/glib/meson.build -+++ b/glib/meson.build -@@ -426,6 +426,7 @@ libglib = library('glib-2.0', - pcre2, - platform_deps, - thread_dep, -+ atomic_dep - ], - c_args : glib_c_args, - objc_args : glib_c_args, -diff --git a/meson.build b/meson.build -index 25ae10fc2..5ae84b3b3 100644 ---- a/meson.build -+++ b/meson.build -@@ -2130,6 +2130,8 @@ libffi_dep = dependency('libffi', version : '>= 3.0.0') - - libz_dep = dependency('zlib') - -+atomic_dep = cc.find_library('atomic', required: false) -+ - # First check in libc, fallback to libintl, and as last chance build - # proxy-libintl subproject. - # FIXME: glib-gettext.m4 has much more checks to detect broken/uncompatible --- -2.40.1 -
package/libglib2/0006-link-with-latomic-when-needed.patch new file +52 -0
52 lines not on this page · raw message
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Fabrice, All,
On 2024-05-03 20:31 +0200, Fabrice Fontaine spake thusly:
Quoted 11 lines
Commit
929bffbf4bf8fcb91bda446777f907f32c782656forgot to update patch number
Moreover, replace it with a new iteration to follow upstream request [1] and avoid the following build host build failure with br-autobuild-1:
/usr/bin/ld: cannot find/usr/lib64/libatomic.so.1.2.0: No such file or directoryFixes 929bffbf4bf8fcb91bda446777f907f32c782656- http://autobuild.buildroot.org/results/a12b9c4436594818f4ce128595b429adf7d90e31
[1]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3606
This has now been merged, so I tweaked the patch to refer to the actual commit rather than the MR.
Regards,
Yann E. MORIN.
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Commit
929bffbf4bf8fcb91bda446777f907f32c782656forgot to update patch number
Moreover, replace it with a new iteration to follow upstream request [1] and avoid the following build host build failure with br-autobuild-1:
Quoted 8 lines
/usr/bin/ld: cannot find/usr/lib64/libatomic.so.1.2.0: No such file or directoryFixes 929bffbf4bf8fcb91bda446777f907f32c782656- http://autobuild.buildroot.org/results/a12b9c4436594818f4ce128595b429adf7d90e31
[1]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3606
Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2024.02.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot