* [Buildroot] [PATCH 1/1] package/pipewire: fix build on arm926ej-s
@ 2021-11-06 13:41 Fabrice Fontaine
2021-11-12 13:37 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-11-06 13:41 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Fabrice Fontaine
Fix the following build failure raised since bump to version 0.3.39 in
commit d9796f2db9866060b916487784b046bb6b76f9b6:
/tmp/ccsZ6haQ.s:467: Error: selected processor does not support `vmrs r3,fpscr' in ARM mode
/tmp/ccsZ6haQ.s:469: Error: selected processor does not support `vmsr fpscr,r3' in ARM mode
/tmp/ccsZ6haQ.s:490: Error: selected processor does not support `vmrs r3,fpscr' in ARM mode
/tmp/ccsZ6haQ.s:492: Error: selected processor does not support `vmsr fpscr,r3' in ARM mode
Fixes:
- http://autobuild.buildroot.org/results/d449095c67b9477fc95ebbab5eb628e5eb4ea5c6
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...u-disable-VFP-asm-when-not-available.patch | 30 +++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 package/pipewire/0002-cpu-disable-VFP-asm-when-not-available.patch
diff --git a/package/pipewire/0002-cpu-disable-VFP-asm-when-not-available.patch b/package/pipewire/0002-cpu-disable-VFP-asm-when-not-available.patch
new file mode 100644
index 0000000000..297016edc2
--- /dev/null
+++ b/package/pipewire/0002-cpu-disable-VFP-asm-when-not-available.patch
@@ -0,0 +1,30 @@
+From 2cddd4a775c145570f4a8a30d28b57f551d43206 Mon Sep 17 00:00:00 2001
+From: Wim Taymans <wtaymans@redhat.com>
+Date: Mon, 25 Oct 2021 16:32:16 +0200
+Subject: [PATCH] cpu: disable VFP asm when not available
+
+Fixes #1746
+
+[Retrieved from:
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/2cddd4a775c145570f4a8a30d28b57f551d43206]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ spa/plugins/support/cpu-arm.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spa/plugins/support/cpu-arm.c b/spa/plugins/support/cpu-arm.c
+index c07711f70..fe6222f7c 100644
+--- a/spa/plugins/support/cpu-arm.c
++++ b/spa/plugins/support/cpu-arm.c
+@@ -143,7 +143,7 @@ static int arm_zero_denormals(void *object, bool enable)
+ "msr fpcr, %0 \n"
+ "isb \n"
+ : "=r"(cw)::"memory");
+-#else
++#elif (defined(__VFP_FP__) && !defined(__SOFTFP__))
+ uint32_t cw;
+ if (enable)
+ __asm__ __volatile__(
+--
+GitLab
+
--
2.33.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/pipewire: fix build on arm926ej-s
2021-11-06 13:41 [Buildroot] [PATCH 1/1] package/pipewire: fix build on arm926ej-s Fabrice Fontaine
@ 2021-11-12 13:37 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2021-11-12 13:37 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: James Hilliard, buildroot
Fabrice, All,
On 2021-11-06 14:41 +0100, Fabrice Fontaine spake thusly:
> Fix the following build failure raised since bump to version 0.3.39 in
> commit d9796f2db9866060b916487784b046bb6b76f9b6:
>
> /tmp/ccsZ6haQ.s:467: Error: selected processor does not support `vmrs r3,fpscr' in ARM mode
> /tmp/ccsZ6haQ.s:469: Error: selected processor does not support `vmsr fpscr,r3' in ARM mode
> /tmp/ccsZ6haQ.s:490: Error: selected processor does not support `vmrs r3,fpscr' in ARM mode
> /tmp/ccsZ6haQ.s:492: Error: selected processor does not support `vmsr fpscr,r3' in ARM mode
>
> Fixes:
> - http://autobuild.buildroot.org/results/d449095c67b9477fc95ebbab5eb628e5eb4ea5c6
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> ...u-disable-VFP-asm-when-not-available.patch | 30 +++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 package/pipewire/0002-cpu-disable-VFP-asm-when-not-available.patch
>
> diff --git a/package/pipewire/0002-cpu-disable-VFP-asm-when-not-available.patch b/package/pipewire/0002-cpu-disable-VFP-asm-when-not-available.patch
> new file mode 100644
> index 0000000000..297016edc2
> --- /dev/null
> +++ b/package/pipewire/0002-cpu-disable-VFP-asm-when-not-available.patch
> @@ -0,0 +1,30 @@
> +From 2cddd4a775c145570f4a8a30d28b57f551d43206 Mon Sep 17 00:00:00 2001
> +From: Wim Taymans <wtaymans@redhat.com>
> +Date: Mon, 25 Oct 2021 16:32:16 +0200
> +Subject: [PATCH] cpu: disable VFP asm when not available
> +
> +Fixes #1746
> +
> +[Retrieved from:
> +https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/2cddd4a775c145570f4a8a30d28b57f551d43206]
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +---
> + spa/plugins/support/cpu-arm.c | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/spa/plugins/support/cpu-arm.c b/spa/plugins/support/cpu-arm.c
> +index c07711f70..fe6222f7c 100644
> +--- a/spa/plugins/support/cpu-arm.c
> ++++ b/spa/plugins/support/cpu-arm.c
> +@@ -143,7 +143,7 @@ static int arm_zero_denormals(void *object, bool enable)
> + "msr fpcr, %0 \n"
> + "isb \n"
> + : "=r"(cw)::"memory");
> +-#else
> ++#elif (defined(__VFP_FP__) && !defined(__SOFTFP__))
> + uint32_t cw;
> + if (enable)
> + __asm__ __volatile__(
> +--
> +GitLab
> +
> --
> 2.33.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-12 13:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-06 13:41 [Buildroot] [PATCH 1/1] package/pipewire: fix build on arm926ej-s Fabrice Fontaine
2021-11-12 13:37 ` Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.