[Buildroot] [PATCH 1/1] package/ffmpeg: needs sync_4
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon May 29 21:38:43 UTC 2017
Hello,
On Thu, 25 May 2017 11:31:19 +0200, Bernd Kuhls wrote:
> default y if !BR2_nios2 && !BR2_ARM_CPU_ARMV7M && !BR2_microblaze
> + depends on BR2_TOOLCHAIN_HAS_SYNC_4
This is not correct, because ffmpeg has fallback code on pthreads
based atomics, so for example SPARC does not have
BR2_TOOLCHAIN_HAS_SYNC_4, but ffmpeg builds fine.
The issue is only with m68k_cf, where ffmpeg thinks it has atomic
intrinsics while it has not.
Since we really don't care about ffmpeg on m68k_cf, I've simply
excluded this architecture, as I proposed on another patch proposed by
Waldemar to fix the same issue:
https://patchwork.ozlabs.org/patch/756664/
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list