* [Buildroot] [PATCH 1/2] package/ffmpeg: simplify BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS logic
@ 2017-11-11 16:22 Bernd Kuhls
2017-11-11 16:22 ` [Buildroot] [PATCH 2/2] package/ffmpeg: fix fenv build failure on ARCv2 with glibc Bernd Kuhls
2017-11-11 22:21 ` [Buildroot] [PATCH 1/2] package/ffmpeg: simplify BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS logic Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Bernd Kuhls @ 2017-11-11 16:22 UTC (permalink / raw)
To: buildroot
Suggested by Arnout:
http://lists.busybox.net/pipermail/buildroot/2017-November/206631.html
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/ffmpeg/Config.in | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in
index ed87ddd492..17a4881348 100644
--- a/package/ffmpeg/Config.in
+++ b/package/ffmpeg/Config.in
@@ -1,15 +1,19 @@
config BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
bool
+ default y
# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2
+ depends on !BR2_nios
# No support for ARMv7-M in the ARM assembly logic
+ depends on !BR2_ARM_CPU_ARMV7M
# Microblaze build affected by gcc PR71124 (infinite loop)
+ depends on !BR2_microblaze
# m68k coldfire causes a build failure, because the check for
# atomics (atomic_store) succeeds, which causes ffmpeg to
# think atomic intrinsics are available, while they are
# not. See https://patchwork.ozlabs.org/patch/756664/ and
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68467 for more
# details.
- default y if !BR2_nios2 && !BR2_ARM_CPU_ARMV7M && !BR2_microblaze && !BR2_m68k_cf
+ depends on !BR2_m68k_cf
menuconfig BR2_PACKAGE_FFMPEG
bool "ffmpeg"
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/ffmpeg: fix fenv build failure on ARCv2 with glibc
2017-11-11 16:22 [Buildroot] [PATCH 1/2] package/ffmpeg: simplify BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS logic Bernd Kuhls
@ 2017-11-11 16:22 ` Bernd Kuhls
2017-11-11 22:22 ` Thomas Petazzoni
2017-11-11 22:21 ` [Buildroot] [PATCH 1/2] package/ffmpeg: simplify BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS logic Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Bernd Kuhls @ 2017-11-11 16:22 UTC (permalink / raw)
To: buildroot
https://git.buildroot.net/buildroot/commit/toolchain?id=0633eb58a2912328508a76f8fe9875a0d113a880
added glibc support for ARCv2 which lacks fenv.h.
Code format was suggested by Arnout:
http://lists.busybox.net/pipermail/buildroot/2017-November/206631.html
Fixes
http://autobuild.buildroot.net/results/aec/aec300d7d4472421398a24202d6871c965bd1be5/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/ffmpeg/Config.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in
index 17a4881348..1b0e71a836 100644
--- a/package/ffmpeg/Config.in
+++ b/package/ffmpeg/Config.in
@@ -1,6 +1,8 @@
config BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
bool
default y
+ # fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW
+ depends on !BR2_archs38 || !BR2_TOOLCHAIN_USES_GLIBC
# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2
depends on !BR2_nios
# No support for ARMv7-M in the ARM assembly logic
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] package/ffmpeg: simplify BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS logic
2017-11-11 16:22 [Buildroot] [PATCH 1/2] package/ffmpeg: simplify BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS logic Bernd Kuhls
2017-11-11 16:22 ` [Buildroot] [PATCH 2/2] package/ffmpeg: fix fenv build failure on ARCv2 with glibc Bernd Kuhls
@ 2017-11-11 22:21 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-11-11 22:21 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 11 Nov 2017 17:22:41 +0100, Bernd Kuhls wrote:
> Suggested by Arnout:
> http://lists.busybox.net/pipermail/buildroot/2017-November/206631.html
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/ffmpeg/Config.in | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/ffmpeg: fix fenv build failure on ARCv2 with glibc
2017-11-11 16:22 ` [Buildroot] [PATCH 2/2] package/ffmpeg: fix fenv build failure on ARCv2 with glibc Bernd Kuhls
@ 2017-11-11 22:22 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-11-11 22:22 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 11 Nov 2017 17:22:42 +0100, Bernd Kuhls wrote:
> + # fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW
> + depends on !BR2_archs38 || !BR2_TOOLCHAIN_USES_GLIBC
I've changed this to:
depends on !(BR2_archs38 && BR2_TOOLCHAIN_USES_GLIBC)
which IMO is easier to read as it match the human way of expressingthe
dependency: "not available on ARC HS38 with glibc".
Applied with this change. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-11-11 22:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-11 16:22 [Buildroot] [PATCH 1/2] package/ffmpeg: simplify BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS logic Bernd Kuhls
2017-11-11 16:22 ` [Buildroot] [PATCH 2/2] package/ffmpeg: fix fenv build failure on ARCv2 with glibc Bernd Kuhls
2017-11-11 22:22 ` Thomas Petazzoni
2017-11-11 22:21 ` [Buildroot] [PATCH 1/2] package/ffmpeg: simplify BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS logic Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox