Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Waldemar Brodkorb <wbx@openadk.org>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/ffmpeg: fix microblaze compile issue
Date: Thu, 15 Aug 2024 21:49:53 +0200	[thread overview]
Message-ID: <Zr5b4dcGEt0qwvVW@landeda> (raw)
In-Reply-To: <Zr3cWSzM+spo0TNf@waldemar-brodkorb.de>

Waldemar, All,

On 2024-08-15 12:45 +0200, Waldemar Brodkorb spake thusly:
> Since the update of ffmpeg to 6.1.1 in commit
> fa36a6375dbeae131c596070570cec66c7bd2456 there are
> a lot of microblaze build failures.
> 
> The compilation failure is triggered by GCC Bug 68485.

I added a little blurb with your explanations why --disable-optimizations
was also needed.

> Fixes:
>  - http://autobuild.buildroot.net/results/524/524cef193aec30471e55eb0eecfa39f0d6011a91
> 
> And many more.
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/ffmpeg/ffmpeg.mk | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
> index 19c270a14b..a010c0168c 100644
> --- a/package/ffmpeg/ffmpeg.mk
> +++ b/package/ffmpeg/ffmpeg.mk
> @@ -557,6 +557,11 @@ FFMPEG_CONF_OPTS += --disable-optimizations
>  FFMPEG_CFLAGS += -O0
>  endif
>  
> +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
> +FFMPEG_CONF_OPTS += --disable-optimizations
> +FFMPEG_CFLAGS += -O0
> +endif
> +
>  ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
>  FFMPEG_CFLAGS += -marm
>  endif
> -- 
> 2.39.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2024-08-15 19:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15 10:45 [Buildroot] [PATCH] package/ffmpeg: fix microblaze compile issue Waldemar Brodkorb
2024-08-15 12:50 ` Thomas Petazzoni via buildroot
2024-08-15 14:15   ` Waldemar Brodkorb
2024-08-15 19:49 ` Yann E. MORIN [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=Zr5b4dcGEt0qwvVW@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=wbx@openadk.org \
    /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