From patchwork Mon Feb 21 13:58:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 15370 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 1C5ECBF415 for ; Mon, 21 Feb 2022 13:59:05 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 95C546113B; Mon, 21 Feb 2022 14:59:04 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="iJFdi8MW"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B5178610A1 for ; Mon, 21 Feb 2022 14:59:03 +0100 (CET) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3CF3C482 for ; Mon, 21 Feb 2022 14:59:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1645451943; bh=6qZAZWVLRFEBTJDikctGjekh2UHwOMLzp/MACHGjGfs=; h=From:To:Subject:Date:From; b=iJFdi8MWcC0Slpp73I6pXwh7WfzSzVfJN//GMz7quPr4lsOEgDzsYxrU099svrawy Assjwr15cx8l6/Ta2e6ugZMtQ3WkF5fG7XORdWONZOraOuE5QfuyNlHxVF3kVoc+Aa 7SGzwlV2HEGIniq07g8DD52uq6nTmH3uXTQEI0cQ= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Mon, 21 Feb 2022 15:58:47 +0200 Message-Id: <20220221135847.19015-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] libcamera: Require gcc 8 or newer X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" gcc 7 has reached end of life and isn't used as a default compiler by any of the major distributions. It has also been dropped from buildroot. Drop its support in libcamera. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Paul Elder --- meson.build | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index 9684d562828d..29d8542dada2 100644 --- a/meson.build +++ b/meson.build @@ -81,11 +81,11 @@ if cc.get_id() == 'clang' endif if cc.get_id() == 'gcc' - if cc.version().version_compare('<7') - error('gcc version is too old, libcamera requires 7.0 or newer') + if cc.version().version_compare('<8') + error('gcc version is too old, libcamera requires 8.0 or newer') endif - # On gcc 7 and 8, the file system library is provided in a separate static + # On gcc 8, the file system library is provided in a separate static # library. if cc.version().version_compare('<9') cpp_arguments += [ @@ -95,9 +95,8 @@ if cc.get_id() == 'gcc' # gcc 7.1 introduced processor-specific ABI breakages related to parameter # passing on ARM platforms. This generates a large number of messages - # during compilation with gcc >=7.1. Silence them. - if (host_machine.cpu_family() == 'arm' and - cc.version().version_compare('>=7.1')) + # during compilation. Silence them. + if host_machine.cpu_family() == 'arm' cpp_arguments += [ '-Wno-psabi', ]