Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1500824rdd; Thu, 11 Jan 2024 00:38:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IE1C5DJFeXXOLxO67yqpmIAfWc/2OSbrHTsJ5U3Ep2xzO+hoMQ3NngGUl6hUAFNq6r0QjNW X-Received: by 2002:a81:5d42:0:b0:5f6:d6b9:9ea4 with SMTP id r63-20020a815d42000000b005f6d6b99ea4mr286146ywb.79.1704962305235; Thu, 11 Jan 2024 00:38:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704962305; cv=none; d=google.com; s=arc-20160816; b=xrfVjAkn1Pv24bi2Qxom8hNnuvyc3GDLOmOQ9vsZj+oZ4ZCrqeQm94UN+DaIj4oZzy 5GPMWdZ0cffHG72VwDwPVxF3EdSg2k7lFu/3iQdVGgzyJduYmeFJ/9QOcEPpNM/irs7o XUdYJTEOX8N1vG7HbbNd/RF6AxXcXAsHnhQHhGpXKSqxWWA9Xei8e3SBH2c0ul5L3Ldj AEZ341xKQvU1USX7S3sZ6wy+oGL1VRTD9FB3F4GrOtbscyJHX1TG8VijIUfu16IvZwnp BNYFuuhF6Jx6hHLrKjeWkpJixGq3Uz3ZgQ6mDs8AiZipouSKCMdNFHzfWdRaW1r6RIG4 HzHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:from:date; bh=W0hitzdnsT9xXLALlk74kY1DWUzFlKEn4jEYcOUCeb8=; fh=EzfJ7Wt1aorgwJcU9tVpjxJ2I5UPYbM2AOPRqUrEJ7M=; b=CAc3RrfuiIFP83gWOHjJJASwUTzWvq4HwqEA14qpT69WD6unHStMNCugAJQ4vtRMkg xqeNdwKLYXqABc4jAD6TFKicVX8BtU+fQaKBIhDeklI9vqc9g32qDViC9J3UlFrRH6ED NdvM+MuyEC+zcTHIvoE316xJMUKxOCYwCt02aIC3GqBWWqo5/9+gDDa9YHjUpWgvarHn Pybjz6lzN7fSZeo6qvwMY/RjCu1J+P3tKiBgQOKIaGqsbYFcefPYhvUfn9R9Pl7u568C mplxtm7q6eiJrIiwaLYgHp0hYQyAmb6oGwws5HvJqkSBUIUDgqWPIoOtjVLQrZYK4fD4 WJYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-23232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=lio96.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d2-20020a0cb2c2000000b0067aa7e04719si376292qvf.367.2024.01.11.00.38.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 00:38:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-23232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=lio96.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 02DEE1C21946 for ; Thu, 11 Jan 2024 08:38:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 41FCEF9C3; Thu, 11 Jan 2024 08:38:19 +0000 (UTC) Received: from er-systems.de (er-systems.de [162.55.144.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54B9C11704 for ; Thu, 11 Jan 2024 08:38:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lio96.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lio96.de Received: from localhost.localdomain (localhost [127.0.0.1]) by er-systems.de (Postfix) with ESMTP id 174E5ECDAE2; Thu, 11 Jan 2024 09:38:12 +0100 (CET) X-Spam-Level: Received: from localhost (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by er-systems.de (Postfix) with ESMTPS id F3A49ECDAC4; Thu, 11 Jan 2024 09:38:11 +0100 (CET) Date: Thu, 11 Jan 2024 09:38:11 +0100 (CET) From: Thomas Voegtle To: Arnd Bergmann cc: linux-kernel@vger.kernel.org Subject: Re: Build error kernel/cgroup/rstat.c on v6.7-1959-gaffc5af36bbb In-Reply-To: <91fe3dea-ca35-4dc9-ac13-e4eb0df30951@app.fastmail.com> Message-ID: <23af29c5-55ec-f63f-ddc9-43756fc0d60d@lio96.de> References: <91fe3dea-ca35-4dc9-ac13-e4eb0df30951@app.fastmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="933399184-1140405057-1704962291=:22212" X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with clamdscan / ClamAV 0.103.11/27150/Wed Jan 10 10:40:48 2024 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --933399184-1140405057-1704962291=:22212 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Thu, 11 Jan 2024, Arnd Bergmann wrote: > On Wed, Jan 10, 2024, at 22:18, Thomas Voegtle wrote: >> On Wed, 10 Jan 2024, Arnd Bergmann wrote: >> >>> On Wed, Jan 10, 2024, at 20:50, Thomas Voegtle wrote: >>>> Hello, >>>> >>>> building v6.7-1959-gaffc5af36bbb I get this: >>>> >>>> ... >>>> CALL scripts/checksyscalls.sh >>>> DESCEND objtool >>>> INSTALL libsubcmd_headers >>>> CC kernel/cgroup/rstat.o >>>> kernel/cgroup/rstat.c:218:22: error: no previous prototype for >>>> ‘bpf_rstat_flush’ [-Werror=missing-prototypes] >>>> __weak noinline void bpf_rstat_flush(struct cgroup *cgrp, >>>> ^~~~~~~~~~~~~~~ >>>> >>>> >>>> git bisects points to: >>>> >>>> commit 0fcb70851fbfea1776ae62f67c503fef8f0292b9 (refs/bisect/bad) >>>> Author: Arnd Bergmann >>>> Date: Thu Nov 23 12:05:06 2023 +0100 >>>> >>>> Makefile.extrawarn: turn on missing-prototypes globally >>>> >>>> >>>> My config is attached. >>>> openSUSE Leap 15.5 x86_64 with gcc 7.5.0 >>>> >>>> >>>> Is this already known? >>> >>> There is a workaround in linux-next, see commit >>> 15fb6f2b6c4c ("bpf: Add __bpf_hook_{start,end} macros") >>> >>> I assume this will be merged soon. >> >> That commit is already merged? > > It's probably missing this one then: > > 689b097a06ba ("compiler-gcc: Suppress -Wmissing-prototypes warning for all supported GCC") > > Arnd > With that patch (689b097a06ba) it builds fine. Thanks. Thomas --933399184-1140405057-1704962291=:22212--