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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C538DC52D6D for ; Sat, 3 Aug 2024 08:03:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ChVTiGdYPFEhWu1znKPIMwiy58kLR6qAS9OD9lZfQ0M=; b=Qid6tNXmcxUACZsxnPccsvDosb 4AifC6hZhexh34gooCu/9qQUtKIsXwMG/0zpQw/iJPEWZ2ci7t1RQZMX1Htvfm3etyorVgOv9OcAD OGGJ+qPDoujDIuVBfLZ+Of2gJV4DpHG+W63XT+agAoUfajgxd2ETsAOj6VpHz/Y9gkrhF/odGJ5b/ uSPbpv+Tji0gn0dL16GLbNRJzgHDAVJFNLUBJaiaQc9rWYo+tfG5TlP+rXQ5MkqV5Z8i2KI2NfLi6 OWzciVhYhSz5sJq86ibf5DrmRMJXOXvJKE/8ABp4AZ3GbeiFKBkj1yUs2Z6cMhaHNzgAu41onF2j2 uNqaIw6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sa9jn-0000000B1VK-1Xk5; Sat, 03 Aug 2024 08:03:39 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sa9jI-0000000B1RV-2OFJ for linux-arm-kernel@lists.infradead.org; Sat, 03 Aug 2024 08:03:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1722672186; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=ChVTiGdYPFEhWu1znKPIMwiy58kLR6qAS9OD9lZfQ0M=; b=h3egY4Kg7ciCQk4Z2iuzpmCkgECUNyF2A4+iqutcbXBNmKAuNqj9EQx8ksdGzlllh96lDg bSXFrF+y20V9XQkCPzMjghwOVGLfINWZY/SYPALiiFu2nN5rcKLJkzU0LRz8l54Mu53Fgx y9uRgjx+tj8Bl0g2nCoZ2JoKyUZvfN8= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-288-i1KcjCVDOlW0clbpFo74aw-1; Sat, 03 Aug 2024 04:01:00 -0400 X-MC-Unique: i1KcjCVDOlW0clbpFo74aw-1 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1FC0C19560A1; Sat, 3 Aug 2024 08:00:51 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.224.25]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 20CAF300018D; Sat, 3 Aug 2024 08:00:48 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 47380i3q931236 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 3 Aug 2024 10:00:44 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 47380fEc931235; Sat, 3 Aug 2024 10:00:41 +0200 Date: Sat, 3 Aug 2024 10:00:41 +0200 From: Jakub Jelinek To: Rudi Heitbaum Cc: Arnd Bergmann , Catalin Marinas , Will Deacon , Huacai Chen , Paul Walmsley , Palmer Dabbelt , Albert Ou , Andreas Schwab , Florian Weimer , linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-api@vger.kernel.org, Arnd Bergmann , WANG Xuerui , "Masami Hiramatsu (Google)" , linux-kernel@vger.kernel.org, loongarch@lists.linux.dev Subject: Re: [PATCH] syscalls: fix syscall macros for newfstat/newfstatat Message-ID: References: <20240801123305.2392874-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240803_010308_756225_5BD1068E X-CRM114-Status: GOOD ( 11.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jakub Jelinek Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Aug 03, 2024 at 05:14:41AM +0000, Rudi Heitbaum wrote: > With this patch to kernel 6.11-rc1 the error whilst compiling gcc-14.2 for > aarch64 with libsanitizer has changed from '__NR_newfstatat' to > '__NR_fstat', so some change, but still fail8ng. > > sanitizer_syscall_linux_aarch64.inc:13:23: error: '__NR_newfstatat' was not declared in this scope > 13 | #define SYSCALL(name) __NR_ ## name > | ^~~~~ > > sanitizer_syscall_linux_aarch64.inc:13:23: error: '__NR_fstat' was not declared in this scope > 13 | #define SYSCALL(name) __NR_ ## name > | ^~~~~ Probably it would be useful to check echo '#include ' | gcc -E -dD -xc - | grep '#define __NR_' | sort for all arches between 6.10 and the latest git, diff them and resolve any unintended differences. Jakub