summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch
deleted file mode 100644
index 19a09f6829..0000000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-Fix-atomic-64-issue-on-armv5.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 459afbb556432eb417bff5a33719efd596ef7502 Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@fujitsu.com>
3Date: Wed, 2 Apr 2025 08:16:51 +0000
4Subject: [PATCH] Fix atomic 64 issue on armv5
5
6| /mnt/test/build_auh/tmp/work/armv5e-poky-linux-gnueabi/gstreamer1.0/1.26.0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/14.2.0/ld: gst/libgstreamer-1.0.so.0.2600.0.p/gstbuffer.c.o: in function `gst_atomic_int64_inc':
7| /usr/src/debug/gstreamer1.0/1.26.0/gst/gstbuffer.c:180:(.text+0x38c8): undefined reference to `__atomic_fetch_add_8'
8
9Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8637/commits?commit_id=f2b5c0b6020b50f5173e449b45a6f7a7be31c48f]
10
11Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
12---
13 meson.build | 7 +++++++
14 1 file changed, 7 insertions(+)
15
16diff --git a/meson.build b/meson.build
17index f4c146d..9c24596 100644
18--- a/meson.build
19+++ b/meson.build
20@@ -599,6 +599,13 @@ if nsl_lib.found()
21 network_deps += nsl_lib
22 endif
23
24+# Check for libatomic for use of C11 atomics: some architectures need
25+# to link explicitly to this library.
26+# TODO: Once meson 1.7 is in use, this can be updated to
27+# dependency('atomic')
28+atomic_dep = cc.find_library('atomic', required: false)
29+platform_deps += atomic_dep
30+
31 gir = find_program('g-ir-scanner', required : get_option('introspection'))
32 gnome = import('gnome')
33
34--
352.43.0
36