From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 3130F4F19B for ; Fri, 20 Feb 2026 19:39:56 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'jRugJNWeA5G1tQIOTrKukXNiKFSbVszBV2Dwch6/Rjg=', expected b'BHgsSqR7CvHpqC/PRU6zDqSqVgRhjdfWqlBO8yGoJtU=')) header.d=ffmpeg.org header.i=@ffmpeg.org header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1771616369; h=mime-version : to : date : message-id : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=jRugJNWeA5G1tQIOTrKukXNiKFSbVszBV2Dwch6/Rjg=; b=EXSLgGlWvazItg80dI1k+8UA5ViYVXMDLV82wAUpqk/ALkbDyzUuaQ8aIIHOuDZH83T1m Xp9TAGmO/kGFuZ1sw1yezsfaiWuGNu/bnV0mVOrcaqR8G0Pm60heskmrDQ+1mIjpX8IeD1x gBp45Ql/CiZpizKlqIAmtKSL83azuOSSXjMZeWX/UUsfCkRHwGNmJiAVPV8ku01BGYTRE8M GaNOSZyxACeSMsYh5Zs5N6XKBFtcU7oRhzKtTuvx+4QtWDgu/ACh87ODh3A3Z9UxIcS0Ixt wha/gh9z18KnQEeKlWTVADobDOeP1LF5HqPG58T5yiPfrK2s3o626i1nOghg== Received: from [172.18.0.3] (unknown [172.18.0.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 26CFE691344; Fri, 20 Feb 2026 21:39:29 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1771616356; b=kRxJ1RBxkAIC1aUrHR1UICj7etcveDHBDVtpRceCrOdfM77HGEJAR8nwQ6ChF8nt63B3d G07B42pawpGo47pHyqk+zoDVxRJA3LReCE7I98FUleZZ/28ATcgPxYv887ky0r0+OWO/ZcP +uhYC8ZFAIXGdkm85mLoq8pWRbi0H1q4xmku6wdQ7WGFNb54gMH2fHYkx7FC4N0Xp8KXaS5 fG90gCPJhk6EDqpMCFv9j3C7z5l9LiueU/BW3rtmA3ZiHkWOiSw/kEX31YyQW0ofrwOZX9f vl1QYdr2x+vdAeP8fA7qAQAgRMj7IKPOTeYkgl0zbcicNwT0++8O4nGh2fJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1771616356; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=JdH18G8H6UeRR/5YGXxyywx19tHOiA+MnHP/R+BUiz4=; b=sOi169IIksEOzfv/nS44KO1uiRgY5u5p5TuobEWNAp17FIXdSMm66nlv8b/SfnffrpHRU fz1vR6wvUlAP0kzuFJCl/LSX4ykN5/ImY5cjME6qAzznBPFU1rIUEU2+rceYw/Jmjbbm/kY Z2nHQL/W5dgEyg81cCVCL+5CH0JYsQkMjaMevn+8qUy2uOh5yLkW4utI/h2HU2B12xOjZtB tuMO+8TT48cAL5miG0lOnv426Hpi2VNpeVDz7mfzSlLbhcIpHnHBkqfeNmViY9P0LYegLfz rbcvjFpVy/ivd6z4+J01OCo+R8IcdhYZ1mRPzKksysCVKGddQsOOMkiU0zTw== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none; dmarc=pass header.from=ffmpeg.org policy.dmarc=quarantine Authentication-Results: ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=ffmpeg.org policy.dmarc=quarantine DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1771616347; h=content-type : mime-version : content-transfer-encoding : from : to : reply-to : subject : date : from; bh=BHgsSqR7CvHpqC/PRU6zDqSqVgRhjdfWqlBO8yGoJtU=; b=1ZcbjpbGUfRP8OuR7aLiMnzs54+DOk7synKrOZyQaFXU1QqrM7m4QxJ+Sfm15CN5XzKt5 O7aMSerj8TjLEc9GP+TneEyBv9Zfz80MRVtowhhgCVquV28O8wIJo0DFUnH9NSb4VNobWj4 6nV6qOiw6j3Px0BA40MeVjIVdFYMpEUs91aABkCe3yfrgV707Yhc1K9cTiHFqiVNyK/e4zf cBqrOq9l1TO9Dnmg1cp2KjztTFTywp1SByO03qbHjstX77ztqQsABHSqP50NbomFt1Pd0yW vXr/hPK2pFYYdXFyJXh6qJ0B8xW38mdCPHGSGPVCFwas8K+KX9Y2CfEToFKQ== MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Date: Fri, 20 Feb 2026 19:39:06 -0000 Message-ID: <177161634715.25.3647282814956279214@29965ddac10e> Message-ID-Hash: C6OECZRFDH5TB2HPR4ZVAKLMXATOQJUU X-Message-ID-Hash: C6OECZRFDH5TB2HPR4ZVAKLMXATOQJUU X-MailFrom: code@ffmpeg.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PR] configure: don't support asm without memalign (PR #22233) List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Niklas Haas via ffmpeg-devel Cc: Niklas Haas Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: PR #22233 opened by Niklas Haas (haasn) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22233 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22233.patch I tried it, and it broke horribly. We should definitively rule out this. Unfortunately, it's not as easy as just setting `disable asm` here, because asm having been enabled will already have affected the build process further upstream - conversely, we don't know whether or not memalign exists until fairly late in the build process, and I'm not about to go destroying the current organization of the file just to work around this. So an error message it is. >>From 5172ca3e9052f7e744c2030526f090a66095e16b Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Fri, 20 Feb 2026 20:36:34 +0100 Subject: [PATCH] configure: don't support asm without memalign I tried it, and it broke horribly. We should definitively rule out this. Unfortunately, it's not as easy as just setting `disable asm` here, because asm having been enabled will already have affected the build process further upstream - conversely, we don't know whether or not memalign exists until fairly late in the build process, and I'm not about to go destroying the current organization of the file just to work around this. So an error message it is. --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index e5c516fd25..9ca9e4dfbb 100755 --- a/configure +++ b/configure @@ -8183,6 +8183,12 @@ haiku) ;; esac +if enabled_any asm inline_asm; then + if ! enabled_any memalign posix_memalign; then + die "ERROR: At least one of memalign or posix_memalign must be enabled when using assembly code." + fi +fi + flatten_extralibs(){ nested_entries= list_name=$1 -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org