package/opus: force arm mode instead of Thumb mode
PATCH 1/1 package/opus: force arm mode instead of Thumb mode
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
--- package/opus/opus.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/opus/opus.mk +7 -0
@@ -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
Signature · 6 lines
2.39.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fix the following build failure:
/tmp/cckXvlOO.s:352: Error: selected processor does not support `smull r6,ip,r5,r0' in Thumb modeFixes:
- http://autobuild.buildroot.org/results/fdedcc8f68651ec34417d609b40effbac456c80dSigned-off-by Fabrice Fontaine <[email protected]>
Slightly tweaked comment and committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fix the following build failure:
/tmp/cckXvlOO.s:352: Error: selected processor does not support `smull r6,ip,r5,r0' in Thumb modeFixes:
- http://autobuild.buildroot.org/results/fdedcc8f68651ec34417d609b40effbac456c80dSigned-off-by Fabrice Fontaine <[email protected]>
Committed to 2022.11.x and 2022.02.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot