* [Buildroot] [PATCH 1/1] package/opus: force arm mode instead of Thumb mode
@ 2023-03-02 17:51 Fabrice Fontaine
2023-03-05 18:27 ` Peter Korsgaard
2023-03-15 14:09 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2023-03-02 17:51 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Fix the following build failure:
/tmp/cckXvlOO.s:352: Error: selected processor does not support `smull r6,ip,r5,r0' in Thumb mode
Fixes:
- http://autobuild.buildroot.org/results/fdedcc8f68651ec34417d609b40effbac456c80d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/opus/opus.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/opus/opus.mk b/package/opus/opus.mk
index 2fa929c7df..1372711038 100644
--- a/package/opus/opus.mk
+++ b/package/opus/opus.mk
@@ -12,6 +12,13 @@ OPUS_INSTALL_STAGING = YES
OPUS_CFLAGS = $(TARGET_CFLAGS)
+# opus has some assembly function that is not present in Thumb mode:
+# Error: selected processor does not support `smull r6,ip,r5,r0' in Thumb mode
+# so, we desactivate Thumb mode
+ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
+OPUS_CFLAGS += -marm
+endif
+
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
OPUS_CFLAGS += -O0
endif
--
2.39.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/opus: force arm mode instead of Thumb mode
2023-03-02 17:51 [Buildroot] [PATCH 1/1] package/opus: force arm mode instead of Thumb mode Fabrice Fontaine
@ 2023-03-05 18:27 ` Peter Korsgaard
2023-03-15 14:09 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-03-05 18:27 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following build failure:
> /tmp/cckXvlOO.s:352: Error: selected processor does not support `smull
> r6,ip,r5,r0' in Thumb mode
> Fixes:
> - http://autobuild.buildroot.org/results/fdedcc8f68651ec34417d609b40effbac456c80d
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Slightly tweaked comment and committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/opus: force arm mode instead of Thumb mode
2023-03-02 17:51 [Buildroot] [PATCH 1/1] package/opus: force arm mode instead of Thumb mode Fabrice Fontaine
2023-03-05 18:27 ` Peter Korsgaard
@ 2023-03-15 14:09 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-03-15 14:09 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following build failure:
> /tmp/cckXvlOO.s:352: Error: selected processor does not support `smull r6,ip,r5,r0' in Thumb mode
> Fixes:
> - http://autobuild.buildroot.org/results/fdedcc8f68651ec34417d609b40effbac456c80d
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2022.11.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-15 14:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-02 17:51 [Buildroot] [PATCH 1/1] package/opus: force arm mode instead of Thumb mode Fabrice Fontaine
2023-03-05 18:27 ` Peter Korsgaard
2023-03-15 14:09 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox