From patchwork Wed Nov 20 12:51:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rick Kern X-Patchwork-Id: 16348 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 4AEDE4498E7 for ; Wed, 20 Nov 2019 14:59:53 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 31FC268A7DA; Wed, 20 Nov 2019 14:59:53 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-yb1-f194.google.com (mail-yb1-f194.google.com [209.85.219.194]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 31DE7689D9F for ; Wed, 20 Nov 2019 14:59:47 +0200 (EET) Received: by mail-yb1-f194.google.com with SMTP id q18so10290093ybq.6 for ; Wed, 20 Nov 2019 04:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=j9m42RoDSN+G7+pXmA4EHnxtROHB43teHq0cjsrFk9o=; b=cF2ARnN2d+tHuz98ZaYiOWIuHyUdZJZLgKnkjuzDBPO066GXOvp0bnX1lMDUe9US6C DwxV2GbZ2u9sjf0YoS7dXwPykv0YDFFxjbwioJ6R5VA2vdbMg0+pvv0S7K5TJZB7TB22 0TtF27wmP1tPb5cHs6DdATQ6ynYUWDd5OC60yZd7FMQ4Re/krA5Ka1DgHyvbBU0A/6iP yHRy43gjyWt+Z6PjDyR/fHOq00Sw1dB/A7Tij2sGhEaUd4fnU9j0+AkG1BJ6kyY5OP84 PcQCjX1R1AIEk0r6mvxkAk/3ycQGxnXy3KzTxmeSll2lvwnaXnsFeRjJQ2N+E2juWoWg hv4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=j9m42RoDSN+G7+pXmA4EHnxtROHB43teHq0cjsrFk9o=; b=o0re2aJ30izCurNjAitMv4m46hCQMvIXs8FZ4tIOdvqjomUtlerQmibErfOgRDYZL4 buY0ZMKylttUCdIihDh3zA6emHpo+hsr9lqD0iWTEtRYwya38sGQizi8vLPdjduI9DAJ zCOyyguVhqC5jeFI7hoGaceN8B/+cf9dA/ZmDmOV7H896Qok9EtQ3OD+9n3ra7G9RsH0 pHyCMJsqH1QEK18c6SMxy0mwSBm3QZmPWpYC8WixvOYbp58c87AFDhVKbhfMD8wdiokj WsGCL7vyddVVlD6uS1/ABagd2P2sEl0xHLPulxyEcg78s/Z8zVoz4eXoete68K7daBAD E9WQ== X-Gm-Message-State: APjAAAXKUVAHUt+hGpWUFGI7Y+oom39FUzuDNjbcA5Hp/tHWPY6AQhPV TpMXen18WLDCesodFdZayxqYJVPj7OI= X-Google-Smtp-Source: APXvYqyCqCPSdP3cRSXVdUV58gcTYvrHqvYCOo9vd312JMLRr7PBq74UZ4bUD0INheX+47Ip9w1XoQ== X-Received: by 2002:a25:8612:: with SMTP id y18mr1861388ybk.74.1574254281289; Wed, 20 Nov 2019 04:51:21 -0800 (PST) Received: from localhost.localdomain ([216.66.3.190]) by smtp.gmail.com with ESMTPSA id r7sm11089714ywl.65.2019.11.20.04.51.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Nov 2019 04:51:20 -0800 (PST) From: Rick Kern To: ffmpeg-devel@ffmpeg.org Date: Wed, 20 Nov 2019 07:51:13 -0500 Message-Id: <20191120125113.89779-1-kernrj@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2] configure: Work around a start-up crash when building with clang. X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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" The current version of clang enables stack checking by default, causing a crash when binaries are run. Fixes #8073 using the -fno-stack-check work-around mentioned in the ticket. --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 8f4f2884cf..97e614f18a 100755 --- a/configure +++ b/configure @@ -6880,6 +6880,7 @@ elif enabled clang; then check_cflags -Werror=implicit-function-declaration check_cflags -Werror=missing-prototypes check_cflags -Werror=return-type + check_cflags -fno-stack-check elif enabled cparser; then add_cflags -Wno-missing-variable-declarations add_cflags -Wno-empty-statement