Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/ffmpeg: fix arc fenv build failure
Date: Sat, 4 Nov 2017 23:27:54 +0100	[thread overview]
Message-ID: <20171104232754.56f852d9@windsurf> (raw)
In-Reply-To: <20171104212402.16991-1-bernd.kuhls@t-online.de>

Hello,

On Sat,  4 Nov 2017 22:24:02 +0100, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/aec/aec300d7d4472421398a24202d6871c965bd1be5/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/ffmpeg/Config.in | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in
> index ed87ddd492..c4ce8360a7 100644
> --- a/package/ffmpeg/Config.in
> +++ b/package/ffmpeg/Config.in
> @@ -1,6 +1,7 @@
>  config BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
>  	bool
> -	# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2
> +	# fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on arc
> +	# and nios2
>  	# No support for ARMv7-M in the ARM assembly logic
>  	# Microblaze build affected by gcc PR71124 (infinite loop)
>  	# m68k coldfire causes a build failure, because the check for
> @@ -9,7 +10,8 @@ config BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
>  	# 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
> +	default y if !BR2_arc && !BR2_nios2 && !BR2_ARM_CPU_ARMV7M && \
> +		!BR2_microblaze && !BR2_m68k_cf

I think only ARC+glibc is affected by this FE_* problem, no? ARC+uClibc
does work, no? (That's really a question, it should be verified).

Adding Alexey in Cc. Alexey: that's another example of a package that
needs proper <fenv.h> support in glibc.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

      reply	other threads:[~2017-11-04 22:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-04 21:24 [Buildroot] [PATCH 1/1] package/ffmpeg: fix arc fenv build failure Bernd Kuhls
2017-11-04 22:27 ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171104232754.56f852d9@windsurf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox