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

Git pushed a commit to branch release/4.4
in repository ffmpeg.

commit eae30181b310881f38428b16b76cfcc02c248c3d
Author:     Marvin Scholz <[email protected]>
AuthorDate: Wed Sep 11 23:09:34 2024 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Jun 21 17:59:33 2026 +0200

    configure: fix symbol prefix detection
    
    The symbol prefix check would incorrectly detect a bogus prefix in
    circumstances where sanitizers instrument the build, like when
    configuring with the clang-asan toolchain where it would detect the
    prefix as __odr_asan_gen_, which is obviously wrong.
    
    To fix this, adjust the prefix detection to only detect a
    one-character prefix, which is the only case that matters
    anywhere right now.
    
    (cherry picked from commit 910bf33879ecdf654cdc6342564f7791e34a27bc)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 configure | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 48ef85dbc2..40c5574e38 100755
--- a/configure
+++ b/configure
@@ -5762,9 +5762,11 @@ enabled pic && enable_weak_pic
 test_cc <<EOF || die "Symbol mangling check failed."
 int ff_extern;
 EOF
-sym=$($nm $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ 
\t]*ff_extern/)) }')
+sym=$($nm $TMPO | awk '/[ \t]+[^ \t]{0,1}ff_extern$/{ print substr($0, 
match($0, /[^ \t]{0,1}ff_extern$/)) }')
 extern_prefix=${sym%%ff_extern*}
 
+log "Symbol prefix detected as: '${extern_prefix}'"
+
 ! disabled inline_asm && check_inline_asm inline_asm '"" ::'
 
 for restrict_keyword in restrict __restrict__ __restrict ""; do

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to