Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/ffmpeg: force arm mode instead of Thumb mode
@ 2023-07-05 16:20 Bernd Kuhls
  2023-07-11 21:03 ` Thomas Petazzoni via buildroot
  2023-08-25 13:20 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2023-07-05 16:20 UTC (permalink / raw)
  To: buildroot; +Cc: Mahyar Koshkouei

Fix the following build failure:
/tmp/ccw5V2Ti.s: Assembler messages:
/tmp/ccw5V2Ti.s:2013: Error: selected processor does not support `itt gt' in Thumb mode
/tmp/ccw5V2Ti.s:2014: Error: Thumb does not support conditional execution
/tmp/ccw5V2Ti.s:2015: Error: Thumb does not support conditional execution
/tmp/ccw5V2Ti.s:2017: Error: selected processor does not support `it le' in Thumb mode
/tmp/ccw5V2Ti.s:2018: Error: Thumb does not support conditional execution
/tmp/ccw5V2Ti.s:2020: Error: selected processor does not support `it gt' in Thumb mode
/tmp/ccw5V2Ti.s:2021: Error: Thumb does not support conditional execution

Fixes:
http://autobuild.buildroot.net/results/3fc/3fc68f756cf1661673941c411c4a2477e901e361/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/ffmpeg/ffmpeg.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index 9d9209706a..ce285bcc60 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -554,6 +554,10 @@ FFMPEG_CONF_OPTS += --disable-optimizations
 FFMPEG_CFLAGS += -O0
 endif
 
+ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
+FFMPEG_CFLAGS += -marm
+endif
+
 FFMPEG_CONF_ENV += CFLAGS="$(FFMPEG_CFLAGS)"
 FFMPEG_CONF_OPTS += $(call qstrip,$(BR2_PACKAGE_FFMPEG_EXTRACONF))
 
-- 
2.39.2

_______________________________________________
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/ffmpeg: force arm mode instead of Thumb mode
  2023-07-05 16:20 [Buildroot] [PATCH 1/1] package/ffmpeg: force arm mode instead of Thumb mode Bernd Kuhls
@ 2023-07-11 21:03 ` Thomas Petazzoni via buildroot
  2023-08-25 13:20 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-11 21:03 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Mahyar Koshkouei, buildroot

On Wed,  5 Jul 2023 18:20:11 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:

> Fix the following build failure:
> /tmp/ccw5V2Ti.s: Assembler messages:
> /tmp/ccw5V2Ti.s:2013: Error: selected processor does not support `itt gt' in Thumb mode
> /tmp/ccw5V2Ti.s:2014: Error: Thumb does not support conditional execution
> /tmp/ccw5V2Ti.s:2015: Error: Thumb does not support conditional execution
> /tmp/ccw5V2Ti.s:2017: Error: selected processor does not support `it le' in Thumb mode
> /tmp/ccw5V2Ti.s:2018: Error: Thumb does not support conditional execution
> /tmp/ccw5V2Ti.s:2020: Error: selected processor does not support `it gt' in Thumb mode
> /tmp/ccw5V2Ti.s:2021: Error: Thumb does not support conditional execution
> 
> Fixes:
> http://autobuild.buildroot.net/results/3fc/3fc68f756cf1661673941c411c4a2477e901e361/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
>  package/ffmpeg/ffmpeg.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
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/ffmpeg: force arm mode instead of Thumb mode
  2023-07-05 16:20 [Buildroot] [PATCH 1/1] package/ffmpeg: force arm mode instead of Thumb mode Bernd Kuhls
  2023-07-11 21:03 ` Thomas Petazzoni via buildroot
@ 2023-08-25 13:20 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-08-25 13:20 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Mahyar Koshkouei, buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:

 > Fix the following build failure:
 > /tmp/ccw5V2Ti.s: Assembler messages:
 > /tmp/ccw5V2Ti.s:2013: Error: selected processor does not support `itt gt' in Thumb mode
 > /tmp/ccw5V2Ti.s:2014: Error: Thumb does not support conditional execution
 > /tmp/ccw5V2Ti.s:2015: Error: Thumb does not support conditional execution
 > /tmp/ccw5V2Ti.s:2017: Error: selected processor does not support `it le' in Thumb mode
 > /tmp/ccw5V2Ti.s:2018: Error: Thumb does not support conditional execution
 > /tmp/ccw5V2Ti.s:2020: Error: selected processor does not support `it gt' in Thumb mode
 > /tmp/ccw5V2Ti.s:2021: Error: Thumb does not support conditional execution

 > Fixes:
 > http://autobuild.buildroot.net/results/3fc/3fc68f756cf1661673941c411c4a2477e901e361/

 > Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Committed to 2023.02.x and 2023.05.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-08-25 13:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-05 16:20 [Buildroot] [PATCH 1/1] package/ffmpeg: force arm mode instead of Thumb mode Bernd Kuhls
2023-07-11 21:03 ` Thomas Petazzoni via buildroot
2023-08-25 13:20 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox