Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1610654pxb; Thu, 28 Oct 2021 06:58:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHkIN9BuzzokBEBDK5qlCOyskLLInmtH8nIat/3hfxQ8HK1NbWHCc2ur8YllRW8rdCCPHj X-Received: by 2002:a17:90a:110:: with SMTP id b16mr4668119pjb.154.1635429501619; Thu, 28 Oct 2021 06:58:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635429501; cv=none; d=google.com; s=arc-20160816; b=ubUzfCqk+h9/PvKhmb4kVfl5gSznjzNIRq/6+uwAZSBLmDvhGl1/ejHDlebQra+roK exE7CN6WeUtBHjUjgLV04bWxXOXJHH/sU03nWv0kJE/M4xRHb6U2Bu70SuwWT5ze2YQg DBjP096ZYDM/oeI2EMDpZCcjZEeyP/M9j0kLA956RHD8iSsY5Fw8I3NkPNIeLdXrSr+r HsPd70wCS4sRp5sOJVu5UvJT6UN++FXuHSj3nMYaR4e/AGi1/mHWtm1KYHaI+OTYGiFN EOL9i+DCYxFRc6x7bftQ7dpVvEj1YUTrOrpERxE/llix8xxDNWlrSiL5xVh80dZJOy3n hFOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=WSTbLQavJNJbT4+PxFGX9NBSygatu7Mx2BWU1M2IA2U=; b=rZCd6zOyT6p4GCxTZxpntiCzX1I4lz0wyVW62eK0tIpeGdPZ7rkoeX6DOqQ5s6xSh4 HGEkOs6d6Vgs7LHMyoYhMulJR+cr9DmbrIyc2TvafQz4c5qOPuTJ1N4ydAx3bZ1plU5B L9QP/o40jtqAuE45KY4QHGcNzw+kPW9mBLSEnBnWovytXrm/f3rNKkx7tbKNCy7B5htT h8XjdNkpuSrT5eQ1H9RvD61XG1760O3yJaRlD/FkcrulGzhF8ZtoKaup2+1qSrDX5r0g UiaJa6ZU0uChp1NCSHOwcLKpXG0hFpjGIxBNwbqf2/yk832g9NtdpPLmZEbnAK4tBgrj nitw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U++kpKdE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u13si4440014pfg.134.2021.10.28.06.58.08; Thu, 28 Oct 2021 06:58:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U++kpKdE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230258AbhJ1N6s (ORCPT + 99 others); Thu, 28 Oct 2021 09:58:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230265AbhJ1N6o (ORCPT ); Thu, 28 Oct 2021 09:58:44 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44DE2C061767 for ; Thu, 28 Oct 2021 06:56:17 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id w15so25308423edc.9 for ; Thu, 28 Oct 2021 06:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=WSTbLQavJNJbT4+PxFGX9NBSygatu7Mx2BWU1M2IA2U=; b=U++kpKdE+2a6HUWZiDL/odN4hCBdt3L+qULt3hHPa/2P6zCxdca9gqn2cM3gRKwagi chgn50EDLkUleTLN0fUwcSIxigQI50idixTeOrkl94/LDeFHMyuqZZQyVHb1Ko6CyKs7 o3Gpr9QhKRStzhAFFoxxKt1s2uE/GP73DnLWtjByQGKIuE2+4Ipb44R1RgVKqrqRVQAD WDDZ+e2ixnLHfyvHh+6DfS3TI/aZfGpo+oK6+9/IKWE2+VnelKtmB1zqt7G+LdUEOJrV ZkSvz6hxm/awWMTifrNYi/wrQ/k3b7Wr1ISOdhX7f24VMXaquxFTUd+TOu5Wr3yrqI/h rBNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=WSTbLQavJNJbT4+PxFGX9NBSygatu7Mx2BWU1M2IA2U=; b=jkrBiHtvoyAlerQWhHFpiIwAi/Gj75jiEFL1sENUQRFZlEpco7jD0RcD9yNgDm4Tpa HD5WJAE2wZHlyonVzQm4nL9VjwO+1Gol8n/Jq9xL458trV1zVIpndsZTrfDG/sOmNcMQ ldHkGfx6PW3Akyn+EgRbkhPZ458jCsOr/uUDcjFvTn0tLk5lKteWsUwvkNQGMz5s6xeT cTmRw8fUyLoY+0jaF9xIB7n80Bs2B3uCD7yr8l1vNrjx/jl6KSM7wplho0aGYFALg0Nq XV6nBkVGVlHfLOghX5NsKzzD3fo/J+UWGXESm+snygZYmwBxLjqu2EVaV8mxfzU2u95s zr8g== X-Gm-Message-State: AOAM5330skweQZHkinqdK+uqCTm9l1hcDaf/zrpqfRDbMquVyyAgU771 /X4qMK55W5vhoKRM2InI8VgLlizFp39C8wQ4+1BAkw== X-Received: by 2002:a05:6402:5255:: with SMTP id t21mr6182196edd.103.1635429375474; Thu, 28 Oct 2021 06:56:15 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 28 Oct 2021 19:26:04 +0530 Message-ID: Subject: riscv: delay.c:77:17: error: implicit declaration of function 'cpu_relax' [-Werror=implicit-function-declaration] To: linux-riscv , open list , Linux-Next Mailing List , lkft-triage@lists.linaro.org Cc: Paul Walmsley , Albert Ou , Palmer Dabbelt , Stephen Rothwell Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Regression found on riscv gcc-11 built with defconfig Following build warnings / errors reported on linux next 20211028. metadata: git_describe: next-20211028 git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git_short_log: 503f375baa99 (\"Add linux-next specific files for 20211028\") target_arch: riscv toolchain: gcc-11 build error : -------------- /builds/linux/arch/riscv/lib/delay.c: In function '__delay': /builds/linux/arch/riscv/lib/delay.c:77:17: error: implicit declaration of function 'cpu_relax' [-Werror=implicit-function-declaration] 77 | cpu_relax(); | ^~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [/builds/linux/scripts/Makefile.build:288: arch/riscv/lib/delay.o] Error 1 Reported-by: Linux Kernel Functional Testing build link: ----------- https://builds.tuxbuild.com/208R1uE0CO13gO5XbrrWlqwau7r/build.log build config: ------------- https://builds.tuxbuild.com/208R1uE0CO13gO5XbrrWlqwau7r/config # To install tuxmake on your system globally # sudo pip3 install -U tuxmake tuxmake --runtime podman --target-arch riscv --toolchain gcc-11 --kconfig defconfig -- Linaro LKFT https://lkft.linaro.org