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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54476C433F5 for ; Mon, 3 Oct 2022 22:16:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BDEC06B0071; Mon, 3 Oct 2022 18:16:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B8DCE6B0073; Mon, 3 Oct 2022 18:16:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A57046B0074; Mon, 3 Oct 2022 18:16:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 940D16B0071 for ; Mon, 3 Oct 2022 18:16:47 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 6B50E1408B3 for ; Mon, 3 Oct 2022 22:16:47 +0000 (UTC) X-FDA: 79981048854.03.9C4D51C Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf22.hostedemail.com (Postfix) with ESMTP id E88F6C0016 for ; Mon, 3 Oct 2022 22:16:46 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C2326611FB; Mon, 3 Oct 2022 22:16:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C130EC433D6; Mon, 3 Oct 2022 22:16:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664835405; bh=NJyz/T+EkJhFvmjGYhkGYed0B8UcQEphU7bJFCNl+q4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NBHmBDb566uyWtqu76NaEp7oJqAH0LAl7uSzhakgFW5swEUHIZM8P/bSY9wFfBa5j 3+PXeAt+ZYhsH7c31Ov03upYWI5uAsjebeDSUrf1JHHHuHc+SaPKRg3pgBOlYP8Q40 Eu2iq51b7z8yrf/XkPJzIWWWx+Qve8V7AmiQcO5KMfKRqHQ+v9g7O8oFUPAwBp3OKS LUV3+6qi12KtnbrDF4WgPF5gjSm7Lzbm/vwDD8axRJrK4iL/X/3I3OL6zt+OF73wVG RyFmivJzNBKH9A0c8XdQsBBl001D7tZgZs0PB8mNVqi2twf3E5X2n8rVvl55BcRrq9 MUPVPZ4JXeFJA== Date: Mon, 3 Oct 2022 15:16:43 -0700 From: Nathan Chancellor To: kernel test robot Cc: Mark Rutland , llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Catalin Marinas Subject: Re: [linux-next:master 11523/11993] include/asm-generic/rwonce.h:67:9: error: expected string literal in 'asm' Message-ID: References: <202210040658.MIQoJiKz-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202210040658.MIQoJiKz-lkp@intel.com> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664835407; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=TrW3eKPr3ua37ydX+vm4Zwg8HrLYYHsOm/1i9Lbtfq0=; b=Oz+BPgzNG+sI1pwznekoMtBUS0Nbgpxi+E+vXW/4iGBk4MaJVYdN5+ywNdpnRxXqzoh2Xo /pRyMdhckmD/DeocP6NZgez8gSgim2LS7R+qKB7jH5AlYvIc0k+Ezns9fp7z7UzleJnY6J CH+SG5zbyEaRA7oNjriObPq95T3qKQw= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=NBHmBDb5; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf22.hostedemail.com: domain of nathan@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=nathan@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664835407; a=rsa-sha256; cv=none; b=PNYT6Asajqj+sJz1N/ionKI4iSuBfe0uSqpYBA5xET9CZmyO9ngA0kyrrKSaP0XXbY3xKX plEsHA9T3+AVuWk4BobOcBvSGh4eF04LR59toU5lC9wWA+oJohsWLaA9Uq+SZ1+3OxJJBd C6ltwusy0k3wfZZmgPuyPB95x7B103M= X-Stat-Signature: cx8pfpr8uiyijecuozywh3sxc779mjrb X-Rspam-User: X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: E88F6C0016 Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=NBHmBDb5; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf22.hostedemail.com: domain of nathan@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=nathan@kernel.org X-HE-Tag: 1664835406-460790 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Oct 04, 2022 at 06:13:07AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 274d7803837da78dfc911bcda0d593412676fc20 > commit: ba00c2a04fa5431d204a4183062b30372c062aa7 [11523/11993] arm64: fix the build with binutils 2.27 > config: arm64-randconfig-r034-20221003 > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install arm64 cross compiling tool for clang build > # apt-get install binutils-aarch64-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ba00c2a04fa5431d204a4183062b30372c062aa7 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout ba00c2a04fa5431d204a4183062b30372c062aa7 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > In file included from arch/arm64/kernel/module-plts.c:6: > In file included from include/linux/elf.h:6: > In file included from arch/arm64/include/asm/elf.h:8: > In file included from arch/arm64/include/asm/hwcap.h:9: > In file included from arch/arm64/include/asm/cpufeature.h:9: > In file included from arch/arm64/include/asm/alternative-macros.h:5: > In file included from include/linux/bits.h:22: > In file included from include/linux/build_bug.h:5: > In file included from include/linux/compiler.h:248: > In file included from arch/arm64/include/asm/rwonce.h:71: > >> include/asm-generic/rwonce.h:67:9: error: expected string literal in 'asm' > return __READ_ONCE(*(unsigned long *)addr); > ^ > arch/arm64/include/asm/rwonce.h:43:16: note: expanded from macro '__READ_ONCE' > asm volatile(__LOAD_RCPC(b, %w0, %1) \ > ^ > arch/arm64/include/asm/rwonce.h:17:2: note: expanded from macro '__LOAD_RCPC' > ALTERNATIVE( \ > ^ https://lore.kernel.org/20221003193759.1141709-1-nathan@kernel.org/ should resolve this. Cheers, Nathan