This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 3fe6c8dee2 configure: do not probe dcbzl when it is disabled
3fe6c8dee2 is described below

commit 3fe6c8dee248df6732c400bced46d8d0557d3444
Author:     Josef Schlehofer <[email protected]>
AuthorDate: Mon Sep 28 07:56:27 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Fri Oct 9 16:47:16 2026 +0000

    configure: do not probe dcbzl when it is disabled
    
    The dcbzl probe runs unconditionally and re-enables dcbzl whenever the
    assembler accepts it, overriding --disable-dcbzl and the "disable dcbzl"
    in the e500 and e500v2 --cpu cases. e500 cores trap on dcbzl, so ffmpeg
    dies with SIGILL in ff_blockdsp_init_ppc() on a P2020 (e500v2) as soon
    as it opens an MPEG-2 decoder.
    
    Only run the probe when dcbzl is not disabled.
    
    Fixes: #24747
    Suggested-by: Michael Niedermayer <[email protected]>
    Original-patch-by: Peter Krefting <[email protected]>
    Signed-off-by: Josef Schlehofer <[email protected]>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 08ff6892fb..f542d4e0d6 100755
--- a/configure
+++ b/configure
@@ -6662,7 +6662,7 @@ elif enabled parisc; then
 
 elif enabled ppc; then
 
-    check_inline_asm dcbzl     '"dcbzl 0, %0" :: "r"(0)'
+    disabled dcbzl || check_inline_asm dcbzl '"dcbzl 0, %0" :: "r"(0)'
     check_inline_asm ibm_asm   '"add 0, 0, 0"'
     check_inline_asm ppc4xx    '"maclhw r10, r11, r12"'
     check_inline_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)'

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to