[Buildroot] ffmpeg issue with MIPS
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Jan 3 21:50:57 UTC 2018
Hello,
On Wed, 3 Jan 2018 22:43:40 +0100, Johannes Schmitz wrote:
> Short summary of a MIPS (ci20) related bug:
>
> In
> "package/ffmpeg/ffmpeg.mk"
> the decision is made to build ffmpeg with or without mipsfpu support:
>
> ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y)
> ifeq ($(BR2_MIPS_SOFT_FLOAT),y)
> FFMPEG_CONF_OPTS += --disable-mipsfpu
> else
> FFMPEG_CONF_OPTS += --enable-mipsfpu
> endif
> endif # MIPS
>
> This apparently goes wrong in a ci20 build.
> Result:
> squeezelite can not be executed.
> See:
> https://pastebin.com/nsseiAdV
> Error is at the end
> trying file=/usr/lib/libavcodec.so.57 -> needs FR1 mode
I guess this has been discussed on IRC, but the discussion has been
very long, and I didn't follow all of it. So here are some basic
questions:
- What is your Buildroot configuration ?
- What is the exact MIPS processor you're running this on ?
- Does it work when --disable-mipsfpu is passed, or when
--enable-mipsfpu is passed ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list