From patchwork Fri Nov 26 12:44:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Morales Vega X-Patchwork-Id: 31749 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:d206:0:0:0:0:0 with SMTP id q6csp2161983iob; Fri, 26 Nov 2021 04:44:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVcNmI66Ttx7CHJF7E7bjnXTx1rN2Q4PNPn90Rw7wAENN9GEUPindcbKHkY6knaA1K9kE8 X-Received: by 2002:aa7:c04a:: with SMTP id k10mr46555077edo.308.1637930674362; Fri, 26 Nov 2021 04:44:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637930674; cv=none; d=google.com; s=arc-20160816; b=FdOnLtGKuwU07X9D+qmxqL0u9iQ0dQ1vhNcDdvX9svdZm84xMpOWzUR7KfibxlgQGl zPfjKyAv75ur3dtW4hKMOrYSWh9fJOdhWut1SZTmkWHr08M5zEEqtoQ7nDj2EXqP8GAT mxf7KJCYv1g/WVyvlHwNTTUbRCwZ8ThCA9jS0hYvIGXBPqyc8bCrI+zrA2+we8rnZ4dC wKF6TYBy+y41HOF8Zpqx5/v4aH9Gi3i7ro5eqPQcFdo4Z20fd8lbI7gv2Vuzlx3wdopI 2oWs/jUcVT3XgHqw55cX2/UriNd1GwAa/DKd0mguu8xdCNJpg4xpJ9fyhuwfahbzirio eyPg== 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:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=hCR7GrdXbNAqGw3oHsGcE25ldopk2Y/dSXKjpg+Qc6E=; b=OqauCrbcc1KkqANv00E7XU5FDw5zL/l5nT2vxM2SNh3/tLWQ4suMoyzaNJAcynrMuq jK5fuKBz+l7F/RgBnagjX5RzgiNWy2fBQFvIvIbehuHsmAdWTh5ZJITczvAL+j4SQifY zH9DSrW9r5PVFrIv6FCTVPAJZv0qqP+3+czCti7v3ROuutOdJt67cEqAvLj6a0my6fA4 Cwp9313Zg2njuUBBLegjGa0V8HmPNxV5CqAijI38QtW4XBH46mZnHqnW3khoY8ojyqzT Xp+CQJMtacMZ9ZauAFanSL/iOMaL2fnPHFZfoBNaFw/SBCIP4/9zXO4rjUAZbkp3urqp PoCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samknows-com.20210112.gappssmtp.com header.s=20210112 header.b=hpll1EFL; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samknows.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id js8si14017618ejc.482.2021.11.26.04.44.33; Fri, 26 Nov 2021 04:44:34 -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=@samknows-com.20210112.gappssmtp.com header.s=20210112 header.b=hpll1EFL; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samknows.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A436768981E; Fri, 26 Nov 2021 14:44:29 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8CDAC68981E for ; Fri, 26 Nov 2021 14:44:22 +0200 (EET) Received: by mail-wr1-f53.google.com with SMTP id o13so18352788wrs.12 for ; Fri, 26 Nov 2021 04:44:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samknows-com.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=6IBGj0M61iUuwq/ajXarq1dWuoaLKIvrmYR2x5a9HtI=; b=hpll1EFL0eGZ5RhnBegOK75XEJz3sUyEa97HUhfh7GMZdmKadCVskWAzPF9fBpmLN8 3s5I8x1T0Bm2aESl+8kQc19fX6bKwcCyEkuqypw3ENb6PGfG3wIvs/gnZd3qrbxsygso +fsQTHjncWq1Uz/dkwPH4FUwP88+q75tw4/pS2SPDFuwATGlPxs1j98twohu9HDVj4mY GdVjriIodOrnPIVEzcwNVYJ2ddeqHFKd8XKwP1LlbFeBDS4DDXGYLnuT5fvqkGeYOM86 YCqzT2p4xhZmtgMjwYWueznw0Ojo0EQh6jAqXaUiMx0THoiSkJwUZtF9yLQ9LUziL5pv du7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=6IBGj0M61iUuwq/ajXarq1dWuoaLKIvrmYR2x5a9HtI=; b=Lb4FNOvO3sXuYtYnLPpDpzdiYclwv/ZJVMA1JuJcWskwuffeCU1GF5r0pXT3eXxTU/ o4AdewK+pOSQfT8O+7OEQ2+qraAa2rLnRP4s/ScoJTf28S59TMvw6cw+bNeRkL8Lx1Kc SSXGmsVH6vAd+lfnv8pjMf1+f+gr29Mc1TQqlE2OfVilQuW/XObU7WG88P2BsAwkUXwF fBei3fO3jc3rJsUAEzdOXDvYuX/Ao1Lc53C2wOaz7DqNSXcmA0PXenAMqQBQ3gNAI3fQ 2hXe/lXNfmQa3xpvRl9SW7+HCNjKaizbg7Ly3vk5g28gLfCU+q8D+7qNFqz7kQE/dAqF 6QhA== X-Gm-Message-State: AOAM531MSr0I1Wx4t88MaArwZ3GdQ2Ta5qYyDUBb8srw6bmyMsaq6pd6 X6tbaS1JJRBeKGCAEjmi0/R/oGZ7k+ARL0x4 X-Received: by 2002:adf:f44e:: with SMTP id f14mr13922582wrp.37.1637930662089; Fri, 26 Nov 2021 04:44:22 -0800 (PST) Received: from DESKTOP-CS3GGJG.samknows.com ([2a00:f18:33:8761::1003]) by smtp.gmail.com with ESMTPSA id d6sm5411817wrx.60.2021.11.26.04.44.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Nov 2021 04:44:21 -0800 (PST) From: Cristian Morales Vega To: ffmpeg-devel@ffmpeg.org Date: Fri, 26 Nov 2021 12:44:15 +0000 Message-Id: <20211126124415.132833-1-cristian@samknows.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] Include -fPIC also in the LDFLAGS 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: ZSj1JyZdZm8U The same flags should be used when linking than when compiling. Without this actual errors have been observed when using LTO. --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index e6cee21142..97c51f20a7 100755 --- a/configure +++ b/configure @@ -5805,6 +5805,7 @@ enable_weak_pic() { *) add_cflags -fPIC add_asflags -fPIC + add_ldflags -fPIC ;; esac }