From: Alessandro Bono <alessandro.bono369@gmail.com> To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH] 0001-libavutil-tx-Check-also-for-ARCH_X86.patch Date: Wed, 19 Apr 2023 17:07:56 +0200 Message-ID: <CANqtVemS_LokXV4YO2BEpQU-Cte4mi-Uu5kvMvPPbDVBpq5xfQ@mail.gmail.com> (raw) [-- Attachment #1: Type: text/plain, Size: 541 bytes --] Fallout from 9787005846893c1d1c01cb8ac71abed91980b218. While it doesn't make sense to pass --enable-x86asm option in a arm64 build, this is the only place where we don't check also for ARCH_X86 when we check for HAVE_X86ASM in code that is not x86-specific. As a consequence we get: ``` Undefined symbols for architecture arm64: "_ff_tx_codelet_list_float_x86", referenced from: _codelet_list in tx.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` [-- Attachment #2: 0001-libavutil-tx-Check-also-for-ARCH_X86.patch --] [-- Type: text/x-patch, Size: 1245 bytes --] From c20c9ee960d23e5ca234e142f98f9a5c56243546 Mon Sep 17 00:00:00 2001 From: Alessandro Bono <alessandro.bono369@gmail.com> Date: Tue, 18 Apr 2023 17:16:36 +0200 Subject: [PATCH] libavutil/tx: Check also for ARCH_X86 Fallout from 9787005846893c1d1c01cb8ac71abed91980b218. While it doesn't make sense to pass --enable-x86asm option in a arm64 build, this is the only place where we don't check also for ARCH_X86 when we check for HAVE_X86ASM in code that is not x86-specific. As a consequence we get: ``` Undefined symbols for architecture arm64: "_ff_tx_codelet_list_float_x86", referenced from: _codelet_list in tx.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` --- libavutil/tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/tx.c b/libavutil/tx.c index e25abf998f..fb9d9f477a 100644 --- a/libavutil/tx.c +++ b/libavutil/tx.c @@ -341,7 +341,7 @@ static const FFTXCodelet * const * const codelet_list[] = { ff_tx_codelet_list_double_c, ff_tx_codelet_list_int32_c, ff_tx_null_list, -#if HAVE_X86ASM +#if ARCH_X86 && HAVE_X86ASM ff_tx_codelet_list_float_x86, #endif #if ARCH_AARCH64 -- 2.34.1 [-- Attachment #3: Type: text/plain, Size: 251 bytes --] _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
reply other threads:[~2023-04-19 15:08 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CANqtVemS_LokXV4YO2BEpQU-Cte4mi-Uu5kvMvPPbDVBpq5xfQ@mail.gmail.com \ --to=alessandro.bono369@gmail.com \ --cc=ffmpeg-devel@ffmpeg.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
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git