From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6FFB0FA3748 for ; Fri, 2 Jan 2026 14:54:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 30DF48102D; Fri, 2 Jan 2026 14:54:25 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id eaWdqI3xwmn1; Fri, 2 Jan 2026 14:54:23 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 1CA0080FD7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1767365663; bh=yTh58XR9wIlBIhKbWc76F3kLpj3s/6A4ddSyNAI9avc=; h=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=S43Gbp94IuT7tOjmkBAFSz58sZfw1dkLvKbAkG/Zj8LcKVySNgWJh+bHITKJ1TvmZ wE5bTIJByaBDhG+GYLBbHNth+tNl09TswAtOG4ZT+agg6yvHkIsYrGnN5Dn6DEGKtc xAkNt7h5S0BfDS26qqEGYDOn5ZCWngqk7zfful+GQX++orvozBaWP1IwhOJClfVdk0 v/U/njvFxYL1zUVWldGyWFgewt0DYpD+ElkVhxYk0si/KPcM4prVapDZ/YV81xw9Zo 4VMuJTpqPDnisdtGTkzx31oDOaj2it0/d1Rb7P0h85RuCKSw8FmE2+W7MzDeAFvJ6e YLyssON/dALrg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 1CA0080FD7; Fri, 2 Jan 2026 14:54:23 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 39049D7 for ; Fri, 2 Jan 2026 14:54:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 2B2C340338 for ; Fri, 2 Jan 2026 14:54:22 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Aam7JcZIokyH for ; Fri, 2 Jan 2026 14:54:21 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57; helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 14506402F1 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 14506402F1 Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp2.osuosl.org (Postfix) with ESMTPS id 14506402F1 for ; Fri, 2 Jan 2026 14:54:20 +0000 (UTC) Received: from fli4l.lan.fli4l (p5b3a0cbc.dip0.t-ipconnect.de [91.58.12.188]) by dd20012.kasserver.com (Postfix) with ESMTPSA id B3D43A4C3035; Fri, 2 Jan 2026 15:54:07 +0100 (CET) Received: from bruckner.lan.fli4l ([192.168.1.1]:46860) by fli4l.lan.fli4l with esmtp (Exim 4.99.1) (envelope-from ) id 1vbgXX-000000006f2-1a4w; Fri, 02 Jan 2026 14:54:07 +0000 From: Bernd Kuhls To: buildroot@buildroot.org Cc: Dario Binacchi , Thomas Petazzoni Date: Fri, 2 Jan 2026 15:54:07 +0100 Message-ID: <20260102145407.917492-2-bernd@kuhls.net> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260102145407.917492-1-bernd@kuhls.net> References: <20260102145407.917492-1-bernd@kuhls.net> MIME-Version: 1.0 X-Spamd-Bar: + X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202511301023; t=1767365647; bh=XgebXmBiCP7Mx5XbiaqU4qWwgKEAawDk448ow5TPabM=; h=From:To:Cc:Subject:Date:In-Reply-To:From; b=nNbW3MAD122gPHJUdZQEM09AlKsRK1AQfSZCz8Xyuv0+ivN0GVXiqITamgBWZw+x9 Q6EOV+KxxeyLle4pgJ4QieZ+OSDT7O9uLdTP6BRGRHTqFHwMDc6FVEQdR0pPFU75JU rALDbjEi3v3lIjaZDly5AYhpOA7bAZBH0hTzzXZXrj9D7gzjBU1NI7CE9N0oz1p9sG 1L4BJwQazRJzQZcAdoiToNLmujBApiY87LdmWBSwXikehCHCaWa2T/WYGhHZ0Z3i4j PDPaS82+8YLuIaVM59cPJtsw0ERaYJlL54kFvkYEMA67/dSjbYVc3c+yntBnVncfTf qE+iMOFd4zRxA== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=kuhls.net X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202511301023 header.b=nNbW3MAD Subject: [Buildroot] [PATCH 2/2] package/atf: fix build with newer gcc X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Buildroot commit d6c3257e931ed256e3ebcd78938f6146bba8586f bumped the package from 0.21 to 0.23. Upstream release 0.22 includes commit https://github.com/freebsd/atf/commit/d7c7c53c0626ab59a62aa4efcf05323b3621baa9 which uses CLOCK_MONOTONIC without including time.h. Fixes: https://autobuild.buildroot.net/results/41b/41b25ee8e66e34323eca011e4b5fe479ece9ed76/ Minimal defconfig to reproduce the build error: BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y BR2_PTHREADS_NONE=y BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_PACKAGE_ATF=y All defconfigs of the build errors recorded by the buildroot autobuilders contain BR2_PTHREADS_NONE=y. Signed-off-by: Bernd Kuhls --- v2: added minimal defconfig (Thomas) updated patch URL after upstream commit .../0001-atf-check.cpp-include-time.h.patch | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/atf/0001-atf-check.cpp-include-time.h.patch diff --git a/package/atf/0001-atf-check.cpp-include-time.h.patch b/package/atf/0001-atf-check.cpp-include-time.h.patch new file mode 100644 index 0000000000..359172c0e6 --- /dev/null +++ b/package/atf/0001-atf-check.cpp-include-time.h.patch @@ -0,0 +1,33 @@ +From 67e7d350a15aff88c151b1fc838dac83d35be955 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sat, 22 Nov 2025 23:47:41 +0100 +Subject: [PATCH] atf-check.cpp: include time.h + +Fixes build error with gcc 14 as reported by the buildroot autobuilders: +https://autobuild.buildroot.net/results/41b/41b25ee8e66e34323eca011e4b5fe479ece9ed76/build-end.log + +atf-sh/atf-check.cpp: In function 'useconds_t get_monotonic_useconds()': +atf-sh/atf-check.cpp:183:24: error: 'CLOCK_MONOTONIC' was not declared in this scope + +Upstream: https://github.com/freebsd/atf/commit/67e7d350a15aff88c151b1fc838dac83d35be955 + +Signed-off-by: Bernd Kuhls +--- + atf-sh/atf-check.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/atf-sh/atf-check.cpp b/atf-sh/atf-check.cpp +index 1354e3a..94da413 100644 +--- a/atf-sh/atf-check.cpp ++++ b/atf-sh/atf-check.cpp +@@ -30,6 +30,7 @@ extern "C" { + #include + #include + #include ++#include + #include + } + +-- +2.47.3 + -- 2.47.3 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot