Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp399379rdd; Tue, 9 Jan 2024 07:33:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEik1apVruN70z8Z3GmuCMxWae73EtRTlDdrL1ZCuOAvYwlOBMPnUa+OJ0Z9JcomA+r1zFL X-Received: by 2002:a17:902:b788:b0:1d4:5a7d:21e8 with SMTP id e8-20020a170902b78800b001d45a7d21e8mr3425854pls.88.1704814424294; Tue, 09 Jan 2024 07:33:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704814424; cv=none; d=google.com; s=arc-20160816; b=HgaMzOqsBSKGbvWgBRLwWpsBPG/TeTfPsjG/aMQ3qxUDpH+U25b7b4qHphkbxPiboq XZA1asc9z49w16FC5hpwOj4RodHK6/g6PtnetJaf4BwypNKoE9OFWwz+aA3S0qYgkHWo bXrfHiCA7sEJWWVBOp9eh8OVeQmTPVoxUK+MJIqwy8kf0QgPUVr5eHoJat5MgQ1UxvzI w9UG5cDAPtc7fo6Es/ZthppgTO2lzw7pzoIkpMni7VU10Iofy08eEcOjGX7kJhruOav3 OC35qbkKx5wmcccHGBMZQN+EcJwf4u7qAKr+1OrA5zX1LFGiedejYJ3G9C6n0mc1MSBn xvPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=foalcZKzAHENY+fQ0NC8nckgv9ndw8kVv8EayDy0NCQ=; fh=nYh7Hr/e9oxCHGkkMg06o+Pk38UGm0Lb4vyFVVuPhcU=; b=nWjVIa+xZpZlTRoYvozEA0exEkoMWTasuOzYekoEeugVE1o/8oMZLX485gOdizTkUM Mnty2+r6k1xqPy3R6pY1dDgITBbO3ISRQIoKfLgT3jAC0hcUbmtE1RczIN5aiWX1N8PE lg7t5XpN2BkR7yNaUApr0khA05mdTlvaVoXGQREuBvnHVTmPRse4RLzunMucqMVyAvZM wY77V6CSFN9vQiXXYBhenzTVZuDnA/EjLegx1VQWBh57VgnjRKqGfVIaj2oZDKRsv0nL UnHjTezPlztEDi62TuyFiTb7z8456vLoFuzxzc8sgbJsmaOzLinvhdsfvY/anQ4UIzHj AXsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=urIOvyOe; spf=pass (google.com: domain of linux-kernel+bounces-21052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21052-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k14-20020a170902c40e00b001d408d60138si1688051plk.115.2024.01.09.07.33.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 07:33:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=urIOvyOe; spf=pass (google.com: domain of linux-kernel+bounces-21052-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21052-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5E778B24C17 for ; Tue, 9 Jan 2024 15:33:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97B4B3A1D0; Tue, 9 Jan 2024 15:32:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="urIOvyOe" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C4B783A1A4; Tue, 9 Jan 2024 15:32:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7EFDC433F1; Tue, 9 Jan 2024 15:32:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704814371; bh=hDja7E4tLI84/B+LvKvpuGzDwB00YZ742js1mLiw8AE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=urIOvyOeYXKfa+n5L5JpW8d918D2fKc4i1SpRLtvR7WRQDMQ05W6MSBDoqt1ixtO/ hVHMzKuzqzELPV8JUWHykNDc0Dcjte+zJrOyoKKr79ML/O3vPUvX/YU9bzWgZfgvVe VCT8xwJ6q519RUMfWR0Pf6cUJ5EV9kpk7DZMuWbTQS7Irjra/lyUsknqE1BYsaPC/z OC8qRED1dePHyyfuL1fJPo2rsu4MmmXDr11qXXun0G5iqbF0CIHbEoNNMfuwA5vY1Z SQc34JFXkU9rtl/4qrTMTWu0fpaw1eBDItt2B6XgsBEo+u+tHP+PNsLpPLkn6LkojA sHJ/BCMefuYIg== Date: Tue, 9 Jan 2024 08:32:49 -0700 From: Nathan Chancellor To: Sergey Senozhatsky Cc: Miguel Ojeda , Kees Cook , "Gustavo A . R . Silva" , Nick Desaulniers , Bill Wendling , Justin Stitt , linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] Compiler Attributes: counted_by: bump compiler versions Message-ID: <20240109153249.GA205400@dev-arch.thelio-3990X> References: <20240109133633.1103876-1-senozhatsky@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240109133633.1103876-1-senozhatsky@chromium.org> On Tue, Jan 09, 2024 at 10:36:24PM +0900, Sergey Senozhatsky wrote: > Bump compiler versions, as GCC is expected to implement it > in version 15 and current clang-18 still has no support for > counted_by(). Also fix clang URL - the project has moved > to github. > > Signed-off-by: Sergey Senozhatsky > --- > include/linux/compiler_attributes.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/include/linux/compiler_attributes.h b/include/linux/compiler_attributes.h > index 28566624f008..1829c24c3357 100644 > --- a/include/linux/compiler_attributes.h > +++ b/include/linux/compiler_attributes.h > @@ -95,11 +95,11 @@ > #endif > > /* > - * Optional: only supported since gcc >= 14 > - * Optional: only supported since clang >= 18 > + * Optional: only supported since gcc >= 15 > + * Optional: only supported since clang >= 19 It is still possible in theory for this feature to make clang-18, as the release/18.x branch is not scheduled to be cut until the fourth Tuesday in January, which is two weeks from now. I don't have a good feeling for how close that pull request is to being mergeable though, so this is fine for now. I assume this won't go to Linus immediately so we would have time to change it if necessary. The link change is obviously good. Reviewed-by: Nathan Chancellor I should probably go through and try to update all the other review.llvm.org links to GitHub as well... > * > * gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 > - * clang: https://reviews.llvm.org/D148381 > + * clang: https://github.com/llvm/llvm-project/pull/76348 > */ > #if __has_attribute(__counted_by__) > # define __counted_by(member) __attribute__((__counted_by__(member))) > -- > 2.43.0.472.g3155946c3a-goog >