From patchwork Tue May 12 14:45:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26739 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 2F8C4BDB1C for ; Tue, 12 May 2026 14:45:27 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D1E586302C; Tue, 12 May 2026 16:45:26 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="cK6qtM2E"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4B70B63021 for ; Tue, 12 May 2026 16:45:23 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-70f3-e800--a06.rev.dnainternet.fi [IPv6:2001:14ba:70f3:e800::a06]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 557B556D for ; Tue, 12 May 2026 16:45:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1778597115; bh=enXkEiUbjqQ0jxjiJwXS1aU0JuemTN5CN8ONoW9IWYk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cK6qtM2ESYRXKyeJD5pVWDitTrr85X1BUTO3wNS/ub8OU1JRaamkb0WYq/ntKOIlo oFd5a6CDPDp04DzMUuivl+E/Vlj/zmXdkgPvA6ZfXZyUYQ5IWEsX/lTTvy1mfd+dYV iGWWFaWO1O0vWYM7RIZxxZZOWqtAus5Hh8uLihtg= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [libcamera-ci] [PATCH 1/3] Drop needless 'BUILD_TYPE: debug' Date: Tue, 12 May 2026 17:45:18 +0300 Message-ID: <20260512144520.171290-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260512144520.171290-1-laurent.pinchart@ideasonboard.com> References: <20260512144520.171290-1-laurent.pinchart@ideasonboard.com> 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" Debug build type is the default for all full builds, as specified by .build-full:debian. There's no need to specify it manually again in jobs that extend .build-full:debian. Signed-off-by: Laurent Pinchart Reviewed-by: Barnabás Pőcze --- gitlab-ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/gitlab-ci.yml b/gitlab-ci.yml index f887e3b6c221..e5b3925e49d5 100644 --- a/gitlab-ci.yml +++ b/gitlab-ci.yml @@ -180,7 +180,6 @@ build-full:debian:12: parallel: matrix: - ARCH: amd64 - BUILD_TYPE: debug CC: gcc-12 CXX: g++-12 - ARCH: amd64 @@ -194,7 +193,6 @@ build-full:debian:12: ${MESON_ALL_OPTIONS} -D b_sanitize=none - ARCH: amd64 - BUILD_TYPE: debug CC: clang CXX: clang++ MESON_OPTIONS: >- From patchwork Tue May 12 14:45:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26740 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 1968EC32F7 for ; Tue, 12 May 2026 14:45:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 849EE63025; Tue, 12 May 2026 16:45:27 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="bjHLNuNz"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 92F356271A for ; Tue, 12 May 2026 16:45:24 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-70f3-e800--a06.rev.dnainternet.fi [IPv6:2001:14ba:70f3:e800::a06]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id ACB3656D for ; Tue, 12 May 2026 16:45:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1778597116; bh=m+vH1k5+fRRc6yDcGrvwMmwObFEPuIUxzowyQuThYV4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bjHLNuNznKZFTbMP1ShBH6kMC5tqP11epdzIucWuZM7U45HoRKhQw64Cbu0FIa+34 9ZHV7t+c4IqZd8veq9Hn7L7ohP8fqU3rl3m5y1rYirdVcBYmmVdjJbMenUEQ50Wb5S emXeEFL28cLcTk/sZDBsyGuWyZMP6oTp06itaA1Y= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [libcamera-ci] [PATCH 2/3] Disable ASan and debugstl in release builds Date: Tue, 12 May 2026 17:45:19 +0300 Message-ID: <20260512144520.171290-3-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260512144520.171290-1-laurent.pinchart@ideasonboard.com> References: <20260512144520.171290-1-laurent.pinchart@ideasonboard.com> 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" The compilation of release builds, ASan and debugstl is known to cause lots of positives with various versions of gcc. One of them is already worked around by disabling ASan for gcc 12 release builds. More will be triggered by release builds using newer gcc versions. While some of the false positives can be worked around in libcamera, others with gcc 14 and gcc 15 would require more intrusive changes. Disabling either ASan or debugstl is enough to avoid the false positives. Given that distributions are not expected to enable ASan or debugstl in their packages, it is important to test release compilation without those options as that will be the main use case. If we later find value in having release builds with either ASan or debugstl in CI, new jobs will be added. Signed-off-by: Laurent Pinchart Reviewed-by: Barnabás Pőcze --- gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gitlab-ci.yml b/gitlab-ci.yml index e5b3925e49d5..f9496fcdc80c 100644 --- a/gitlab-ci.yml +++ b/gitlab-ci.yml @@ -186,12 +186,10 @@ build-full:debian:12: BUILD_TYPE: release CC: gcc-12 CXX: g++-12 - # gcc 12.2.0 has a bug that triggers a false positive warning with ASan - # in release builds (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105562). - # Disable the address sanitizer for now. MESON_OPTIONS: >- ${MESON_ALL_OPTIONS} -D b_sanitize=none + -D cpp_debugstl=false - ARCH: amd64 CC: clang CXX: clang++ @@ -206,6 +204,8 @@ build-full:debian:12: MESON_OPTIONS: >- ${MESON_ALL_OPTIONS} ${MESON_CLANG_LIBCPP_OPTIONS} + -D b_sanitize=none + -D cpp_debugstl=false -D qcam=disabled build-full:debian:13: From patchwork Tue May 12 14:45:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 26741 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 1B4B3BDB1C for ; Tue, 12 May 2026 14:45:30 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 202126302A; Tue, 12 May 2026 16:45:28 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="JjsxMW6q"; 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 0F23A62FEC for ; Tue, 12 May 2026 16:45:26 +0200 (CEST) Received: from killaraus.ideasonboard.com (2001-14ba-70f3-e800--a06.rev.dnainternet.fi [IPv6:2001:14ba:70f3:e800::a06]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 2E26356D for ; Tue, 12 May 2026 16:45:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1778597118; bh=qhdmNWrcTEgZCtu7tkEK9bwlNlXsFggzE9KHDiGKf5I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JjsxMW6qGZ6EhFh0SZyMwGZunMCcH8BE7ovmI63OnHtHUFi0ITppMwUFa8hVq0Mrj KtRvp3fMhZoodhCJqS1BQMTp961/dM+cQYBtbjcD59sNA731+NoyBnvCihe8Sc11ZY W5pBhfj+wEGXi1vXrgegmWtvGEhkSeMUhXkr1ldk= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [libcamera-ci] [PATCH 3/3] Move release builds to Debian 13 Date: Tue, 12 May 2026 17:45:20 +0300 Message-ID: <20260512144520.171290-4-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260512144520.171290-1-laurent.pinchart@ideasonboard.com> References: <20260512144520.171290-1-laurent.pinchart@ideasonboard.com> 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" All our release builds are run on Debian 12, with more recent compiler versions in Debian 13 performing debug builds only. Debug vs. release compilation coverage is more important on newer compiles. Move the release builds from Debian 12 to Debian 13. As a drive-by cleanup, drop the explicit 'BUILD_TYPE: debug' as it is the default provided by .build-full:debian. Signed-off-by: Laurent Pinchart --- gitlab-ci.yml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/gitlab-ci.yml b/gitlab-ci.yml index f9496fcdc80c..b7e655666347 100644 --- a/gitlab-ci.yml +++ b/gitlab-ci.yml @@ -182,14 +182,6 @@ build-full:debian:12: - ARCH: amd64 CC: gcc-12 CXX: g++-12 - - ARCH: amd64 - BUILD_TYPE: release - CC: gcc-12 - CXX: g++-12 - MESON_OPTIONS: >- - ${MESON_ALL_OPTIONS} - -D b_sanitize=none - -D cpp_debugstl=false - ARCH: amd64 CC: clang CXX: clang++ @@ -197,16 +189,6 @@ build-full:debian:12: ${MESON_ALL_OPTIONS} ${MESON_CLANG_LIBCPP_OPTIONS} -D qcam=disabled - - ARCH: amd64 - BUILD_TYPE: release - CC: clang - CXX: clang++ - MESON_OPTIONS: >- - ${MESON_ALL_OPTIONS} - ${MESON_CLANG_LIBCPP_OPTIONS} - -D b_sanitize=none - -D cpp_debugstl=false - -D qcam=disabled build-full:debian:13: extends: @@ -231,6 +213,14 @@ build-full:debian:13: ${MESON_ALL_OPTIONS} -D documentation=enabled -D doc_werror=true + - ARCH: amd64 + BUILD_TYPE: release + CC: gcc-14 + CXX: g++-14 + MESON_OPTIONS: >- + ${MESON_ALL_OPTIONS} + -D b_sanitize=none + -D cpp_debugstl=false - ARCH: amd64 CC: clang CXX: clang++ @@ -239,6 +229,15 @@ build-full:debian:13: # with clang 18 or later due to https://github.com/mesonbuild/meson/issues/13812 - ${MESON_ALL_OPTIONS} ${MESON_CLANG_LIBCPP_OPTIONS} -D qcam=disabled -D cpp_debugstl=false - ${MESON_ALL_OPTIONS} ${MESON_CLANG_LIBSTDCPP_OPTIONS} + - ARCH: amd64 + BUILD_TYPE: release + CC: clang + CXX: clang++ + MESON_OPTIONS: >- + ${MESON_ALL_OPTIONS} + ${MESON_CLANG_LIBSTDCPP_OPTIONS} + -D b_sanitize=none + -D cpp_debugstl=false - ARCH: armhf - ARCH: arm64