From patchwork Sun Dec 24 19:33:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Smith X-Patchwork-Id: 45308 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:6623:b0:194:e134:edd4 with SMTP id n35csp2251381pzh; Sun, 24 Dec 2023 11:33:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBPwEpJsdBLSbOxiGsyfBDSqcdbdOTOu+ZpObaD/LlHXUDCxkCR+O48FzkOjSaixkBy9nE X-Received: by 2002:a17:906:f5a1:b0:a26:d233:80b0 with SMTP id cm33-20020a170906f5a100b00a26d23380b0mr3843100ejd.0.1703446425555; Sun, 24 Dec 2023 11:33:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703446425; cv=none; d=google.com; s=arc-20160816; b=dLrIJyfwrFZpIy9owRl5iLxpVtEWI7sMGQ5J+RjHI/qk3fAAsl6AJPw/o9EsVTRIwW DkEsLSDl5cabvsHIfejx398KYe2weezL+iSU+3TW0VEqVKoDns6wNeWLi7y+PgTo7w54 j0tW9tbF3KGtfd+byo3lEyqIw9F1oe5gNGLKHqwPoz3+LWYAn0EjFU/hAsSk2DBVlUHx BuN69CnSzUsBTKl+uW819AZFuXh1wBaNrHkQCmeAmRA37Lt7IwZqDhkMVQZ2ZK7Gx2ir QW35jjAeQXj/KbeYDRf/crJ6YXiZzKyn39JsQXZxGz/wNl/j8TfQ8Et+DW0J3S3zOQMF 3QUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:content-disposition:mime-version:message-id:to :from:date:domainkey-signature:dkim-signature:delivered-to; bh=6l4QAdqP7iUXa7pMFQCGKtYr7BxEP1Q+K86gxmyMM4U=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=m4CGf5NPg1mQCDgncZdoUyjTZ+FNvgRz9Sbjr5N7iX1VtCu2qF736IUxDHDPoe0udG l6DGoMYGfLy1mhtCCJnNGtu0fiGiiKiljaRt4UQsDyKBA7D+obpYMn05PfduTgmU/S4h lmgd1Ek2Ha3Ipu3eXqQ3z6Q0oqrUPfPB7W+dyQ2/+Bm5n+5P2CWe0Kp5PKYc7Y0wYcaV G34btnz5oosYTlX/142w+J7zOsyI8yyIPTJIXwNtxIjE/cMC3CDAmtX7emy/HKKmmO3h hIWvwhzMDTEholgzU1MZNW5rrgSUjLN6uIEl7feg6Tktkim495xi9wy1cqfV+QucyVq1 JBOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@comstyle.com header.s=default header.b=LyxFqFjh; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id wj6-20020a170907050600b00a26929adb22si3749414ejb.258.2023.12.24.11.33.45; Sun, 24 Dec 2023 11:33:45 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@comstyle.com header.s=default header.b=LyxFqFjh; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9A54F68D128; Sun, 24 Dec 2023 21:33:41 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail.comstyle.com (speedy.comstyle.com [206.51.28.2]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A1E6168CF46 for ; Sun, 24 Dec 2023 21:33:34 +0200 (EET) Received: from mail.comstyle.com (localhost [127.0.0.1]) by mail.comstyle.com (Postfix) with ESMTP id 4Syrms0XVhz8PbP for ; Sun, 24 Dec 2023 14:33:33 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=comstyle.com; h=date:from :to:subject:message-id:mime-version:content-type; s=default; bh= V8CpQB99jnLyjLkeNlxdkgSdx5s=; b=LyxFqFjhufBsH0Up9R7xvZXT/DaV7LTq l/JQWkV7MV3/Q7IDvQpVl6hZNuLwMjPPY0OqwE3NJ8I6xHikCLaSbpji3xd9rgB1 fxoi16A/DNY6YlTc10Dgwg584w0itw0jwQlpp/LBWzAnP7Jy61zO6knsmk1cmLlZ XVTBAIcRO7o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=comstyle.com; h=date:from:to :subject:message-id:mime-version:content-type; q=dns; s=default; b= mQgAwxWpAd1/nBXzicAty3H5/z22HnR7PAtEKdTIpQzMFS4e36DDnAamXTU9Xx8J YpYTscc5HlgzNVuRxHGUobu8b78MWwiJjZnSZsH7GHoHGX9dtX/ucTBWiFEKBzB4 7qCKHqqBv4pEe0Zf/qpXOwbLoERSB04ooprIzPKI01s= Received: from humpty.home.comstyle.com (unknown [IPv6:2001:470:b050:3:ae2c:3519:c3af:aa10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id 4Syrmr74JZz8PbN for ; Sun, 24 Dec 2023 14:33:32 -0500 (EST) Date: Sun, 24 Dec 2023 14:33:31 -0500 From: Brad Smith To: ffmpeg-devel@ffmpeg.org Message-ID: MIME-Version: 1.0 Content-Disposition: inline Subject: [FFmpeg-devel] [PATCH v2] configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: O30NguIb/pkT configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm Fixes the build. It's a requirement when utilizing PIE. Signed-off-by: Brad Smith --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 078aa9437a..226874600a 100755 --- a/configure +++ b/configure @@ -5601,6 +5601,7 @@ case $target_os in ;; netbsd) disable symver + enable section_data_rel_ro oss_indev_extralibs="-lossaudio" oss_outdev_extralibs="-lossaudio" enabled gcc || check_ldflags -Wl,-zmuldefs @@ -5619,6 +5620,7 @@ case $target_os in disable symver ;; freebsd) + enable section_data_rel_ro ;; bsd/os) add_extralibs -lpoll -lgnugetopt