From patchwork Mon Dec 9 09:51:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= X-Patchwork-Id: 22255 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 BC193BE080 for ; Mon, 9 Dec 2024 09:51:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D303C67E4C; Mon, 9 Dec 2024 10:51:55 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="WniWl2GZ"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BF743618AE for ; Mon, 9 Dec 2024 10:51:53 +0100 (CET) Received: from pb-laptop.tail49a43.ts.net (185.221.143.90.nat.pool.zt.hu [185.221.143.90]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0CDE7502 for ; Mon, 9 Dec 2024 10:51:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1733737882; bh=OXAdMICfieVU0kcTJq8WoLfB/J1qXawjfbfDmvPvkjQ=; h=From:To:Subject:Date:From; b=WniWl2GZYm5SkxSDuyZ5+57SSvL4TBBk5Xqf6knfkXQhfefURwuczBvDmE4rVJ7Sj GMsE6Ye/52F/yO6VaFoI1As2NCbmMviN995d4HirUNxsQ/Axs5pNVKbCPtCWw2gcgu 3WEDFOaHbizWrucKe5oV82RUQxUYFlwXb3M9Iokg= From: =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= To: libcamera-devel@lists.libcamera.org Subject: [PATCH v1] Enable `cpp_debugstl` Date: Mon, 9 Dec 2024 10:51:50 +0100 Message-ID: <20241209095150.164960-1-barnabas.pocze@ideasonboard.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 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" Meson's `cpp_debugstl` built-in option enables extra checks in libstdc++ and libc++, such as iterator invalidation tests, bounds checking in `operator[]` of multiple types, etc by setting `GLIBCXX_DEBUG` and `_LIBCPP_HARDENING_MODE`. Signed-off-by: Barnabás Pőcze --- gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gitlab-ci.yml b/gitlab-ci.yml index ea038ec..ec96330 100644 --- a/gitlab-ci.yml +++ b/gitlab-ci.yml @@ -15,6 +15,7 @@ variables: -D android=enabled -D b_sanitize=address -D cam=enabled + -D cpp_debugstl=true -D documentation=enabled -D gstreamer=enabled -D lc-compliance=enabled @@ -58,17 +59,17 @@ include: .libcamera-ci.debian:11: variables: FDO_DISTRIBUTION_VERSION: 'bullseye' - FDO_DISTRIBUTION_TAG: '2024-11-05.1' + FDO_DISTRIBUTION_TAG: '2024-12-06.1' .libcamera-ci.debian:12: variables: FDO_DISTRIBUTION_VERSION: 'bookworm' - FDO_DISTRIBUTION_TAG: '2024-11-05.1' + FDO_DISTRIBUTION_TAG: '2024-12-06.1' .libcamera-ci.debian:13: variables: FDO_DISTRIBUTION_VERSION: 'trixie' - FDO_DISTRIBUTION_TAG: '2024-11-05.1' + FDO_DISTRIBUTION_TAG: '2024-12-06.1' .container-debian: extends: @@ -389,6 +390,7 @@ test-unit: MESON_OPTIONS: >- -D b_sanitize=address -D cam=disabled + -D cpp_debugstl=true -D documentation=disabled -D gstreamer=enabled -D lc-compliance=disabled