Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1342928lqp; Mon, 15 Apr 2024 03:47:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSfCt3HWWMzGMKo+3AP+ioENAyNH31ng687/DjKmNPp5xUPlYMb+BUz359d9bAZD+7//m8kD6R7GkmirhnL2hXbDCzhX+zh7fxDPyvRQ== X-Google-Smtp-Source: AGHT+IHoKkm9yFYKZ2UR5WkOOhOLCMiS6zjZV4RimCwh9ekGqMiv5M3W7ZJxmLXYv4eGzF6IAhwI X-Received: by 2002:ac8:4517:0:b0:436:8314:96f3 with SMTP id q23-20020ac84517000000b00436831496f3mr11651546qtn.38.1713178042246; Mon, 15 Apr 2024 03:47:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713178042; cv=pass; d=google.com; s=arc-20160816; b=dj5fiBXGTxIzc8f45zoetFGF2F1YM4OtLkbOOP58Gae5wMAsrAgHHqUv15uQVq0scL q9J2Wl2mrlG7PypO4BBmDi52yNuPKHto2WBVkE5NJI+WZFpbcir3R0FHrgCSlC+K4wqw t9QsHeZ2VAw5m4Z14X6tY+IyS75quTxqjBKXFixzAduOYS1Mfr0mPMKn22B/PnoHoOve MPgmQyAHUiDMZAzUEusl0Y1G+AKJr0ReDBwvXFaTJtIuNcU74OOgt5ZPX58qa1MBR9cP LEciRw1PUE4sQBdTnaNQBCIF8bli5ExHXp5981g+bRCpLQjVv5swHrdzMlY50eXDWfXc IF6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=5kbitX8QbhgxnsV5uCd0z4f/iShjUxkr6d7+ekg5tWU=; fh=smTq2HNGZyzdeCEIDIfYOai+kFb1KcJpxtQorB1gz8c=; b=OaOoErM4RhpqCqCPUG0hV9YGDRbg3gPccrj9HyM0491oXKpu/3Kcy7XFT1loTZr7nc U02LrqdsBousWD6Y3KqDR6Ot2/mSUa8uiLXsTHIk6CiFDGqMiILcHQSkkgjD+DyMHmkH nQUphaVIh12gXZuQaAptlbpZ2gNBtslVJJA1ILOcX1iPB6vRJnbhw9fUMGu3QfZk7ajH 3Vb90iQ7Ww0/ARI4QFlEvbW8n/vjWm2oR8i7J0cke1lRA7vnFXIpu5XAmEkv/tLJHVXW XuE+a+C+fvM8FtZ3K2/0IUnFsmkbTrnsNxOXhUzWnabq3iNXlaoNku1/TXWWk/0Mv3we 7DYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GgCYMAmR; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-144932-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144932-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w12-20020a05622a190c00b0043184988189si10065585qtc.706.2024.04.15.03.47.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 03:47:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144932-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GgCYMAmR; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-144932-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144932-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id F35F51C21DC4 for ; Mon, 15 Apr 2024 10:47:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A99615C900; Mon, 15 Apr 2024 10:47:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GgCYMAmR" Received: from mail-ua1-f54.google.com (mail-ua1-f54.google.com [209.85.222.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C85D5C602 for ; Mon, 15 Apr 2024 10:47:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713178035; cv=none; b=OHANVa7eUmIAsloWQdph9M0U9VQo/XUqYRUgNVn3DRAqWhD5xOs/T4/edq7x925QeyLVWF9vms2a9d1Fmen6tzJWOGZj/V9Cykahj9UTuT+ihq0BWchZi0fX3oHpN5NrCNI0+OxAy0cRjqn1+useBqokvWohebsdMlmHIll0eX4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713178035; c=relaxed/simple; bh=W2Fbao+/FlwxfuGH1OFvZW2kvHWXUxBXy9sroyi2Gh0=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=Xui0O0wHb4NcFBnBXc75ikFYpAs9P4Yam3LfJHCnyYI0LIZlRhPZgcoUzovm8distMAJI+3X4zlaLWBz7R1eR0OpFfwLOF2imPfpkna2Ce/Sv466A7OsA7GQvP/DEfG4OyF5qkAdm8v4UP0foJZmeySSv6w2OUR/0FitjUANgGU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=GgCYMAmR; arc=none smtp.client-ip=209.85.222.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ua1-f54.google.com with SMTP id a1e0cc1a2514c-7e3e0b2f653so867035241.0 for ; Mon, 15 Apr 2024 03:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713178033; x=1713782833; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=5kbitX8QbhgxnsV5uCd0z4f/iShjUxkr6d7+ekg5tWU=; b=GgCYMAmRx3oR3IwqHhCAAzppu7jBJndHHIemaE/dDrZzLwIbVz2vSyEF1fwNwlKi3J unT4b+vNvAoA4N9fYO+ohqdbZdjzuRcpwdWr0e8BkJLMigBH+mj+W3OLCwPKuQKPs1MU mlFY98HFmeBDcjeq7tsb8QsSK3eVGT42mspwhODnm/o4Pd2eLBW53LKYTsC39ciJ83Xb lCDCSNqeulGVBve5ayyfZeE9nKJvjXCK2cfc54jZc6hmQz4EF77isuNHYelB6OrDy22G 1/wQzu4cKh17DK13euQVm1e8bwCF1HZ/K6Eg98bibP4us6Tl0Y5ltPdapOEAqpKVom9u c5tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713178033; x=1713782833; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5kbitX8QbhgxnsV5uCd0z4f/iShjUxkr6d7+ekg5tWU=; b=Qh43rkDRGAjM68oTofJDxsuaWqsAwycTmNRXoWtAJA0wQB/DpGcVSnhPwzDnARu126 40v9k8k1RNLZFmBApYcAtKKQvi89lbsTDunmgfM36de2ZngB6t1Fz77zTrqpow5RdI1z ymwEN3nqbt+LSe+SBD3jQJ3WZIS73+HPztEN3LB1WRRl3cMR2LGRvkjz9pz/Wuj+37cl DfSaaehdCoXcW1E7unAnjth9P/1V52JAdyq+P5sgqIw3fHGk1TlZuUKzr86fkkEoEXJK ogie5oKEWfu12h7J55v2y++zOp/ODKdEjT0MZp9afYQMtqlVDZr0xAy5m2KxpR0VpS9B hzsg== X-Gm-Message-State: AOJu0YzTnlbb34MX1vDZqCHv8zDDxn4bdJV895DP77j47alDAnDo7jFc oRg2Sej61WNelU/ctpPPPp4SuZoPoCyvq2C4Nyg2tkrELT3WGblxBkaHNipEgMjmme4EAXqiCN9 NPePYZc/YZ0uz7ZtPk2ZJOQq6rWfjTvHNdLG11BcTR8HKaMHNk5M= X-Received: by 2002:a05:6102:3590:b0:47b:8ef7:bc1e with SMTP id h16-20020a056102359000b0047b8ef7bc1emr175678vsu.15.1713178032756; Mon, 15 Apr 2024 03:47:12 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 15 Apr 2024 16:17:01 +0530 Message-ID: Subject: sh: arc: cmpxchg.h:50:12: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration] To: open list , lkft-triage@lists.linaro.org, Linux Regressions Cc: Arnd Bergmann , "Paul E. McKenney" , Linux-sh list , linux-snps-arc@lists.infradead.org, Vineet Gupta , Yoshinori Sato , Rich Felker Content-Type: text/plain; charset="UTF-8" The arc and sh defconfig builds failed due to following build warnings / errors on the Linux next-20240415 with gcc-9 and gcc-11. Reported-by: Linux Kernel Functional Testing Following builds failed. sh: arc: - defconfig - tinyconfig - allnoconfig - vdk_hs38_smp_defconfig Build log: -------- In file included from arch/arc/include/asm/atomic.h:13, from include/linux/atomic.h:7, from include/asm-generic/bitops/lock.h:5, from arch/arc/include/asm/bitops.h:188, from include/linux/bitops.h:70, from include/linux/log2.h:12, from kernel/bounds.c:13: include/linux/atomic/atomic-arch-fallback.h: In function 'raw_atomic_cmpxchg': arch/arc/include/asm/cmpxchg.h:50:12: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration] 50 | _prev_ = cmpxchg_emu_u8((volatile u8 *)_p_, _o_, _n_); \ | ^~~~~~~~~~~~~~ Steps to reproduce: --- # tuxmake --runtime podman --target-arch arc --toolchain gcc-9 --kconfig defconfig # tuxmake --runtime podman --target-arch sh --toolchain gcc-11 --kconfig defconfig Links: --- - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240415/testrun/23463978/suite/build/test/gcc-9-defconfig/details/ - https://storage.tuxsuite.com/public/linaro/lkft/builds/2f7sIl2MlKB5Fgq7JtTpYQ9lnXw/ - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240415/testrun/23463981/suite/build/test/gcc-11-defconfig/details/ -- Linaro LKFT https://lkft.linaro.org