Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1610883pxb; Mon, 11 Oct 2021 09:26:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxH2+zR1X3hWx1cphxoSYMXb6CYUoNaWz5B9Ed7XqMG9Ka0DSjnFwhJDKtV3cz1aNjMsXXm X-Received: by 2002:a63:b349:: with SMTP id x9mr18844581pgt.139.1633969607150; Mon, 11 Oct 2021 09:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969607; cv=none; d=google.com; s=arc-20160816; b=oC03YyptaxJjSiCYkqPiJI4IsR0JSlPZcXFOzq+vrtNl5mTffa9KiIcGa0O5FrBWL1 L5iIQqEOkp3f+YiTtHv/oyNOs9cCq3BKLQdbmzafLyH0f94KuQeTUpKycwl09nL4piST bo4shRzAQcO/P9vD063cEjTaE1N6cz3al5K+IomlU1bV2OBphDJpw8DICWOB25sNz69Y UXFLTBFb+gwmJwZ8Dreiezl8+PI+DMEl9SDO9b+UivlaNgIJNl77D5tPDKk0uvIKzGpX /of1TT7ymuwW5EzTpLCbp2BCyjvYiC+fhbPXJ6lq1elK0a4BzEBCLPDGre5PzaGlF1tN sLKw== 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:in-reply-to :references:mime-version:dkim-signature; bh=aH+daMH8/JBhYD/VNld/K3vNCe4mWktvAcObPC4aWG4=; b=J9Zk11ip5HaSZJBK1AAVgbPsAIgwfHGyPPosfbMf/Ho7ASUnR05fvRAyYK43rnmOFE vs25PNhkrijnc6V/G82xPwQC8AnTzFmzU036i3Xyn9Ysl5TxSdT3jiR8hp0Jj3rifGAj oA4UvncW47wzM4pTQgSbp0mT1XF1jQqAFUr7QNgg/7EZ9Pw4h1ut7Lwm4A3ArSk/Vt+a u8LxNIx+kwIEjUn0iw5Em1nAT1m+6x0WRnT7A9GFlW3BAUDhL6GWnqDRpg7Fs/G/X4RB r9SvP+vqLWQ94otUDCBFQw9atbKBH3cWyyEwnJwTZyNNrcr2+93jlQvYekTq6B0wr1xD lQEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xLAEEpeg; 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 u6si13024093pfk.23.2021.10.11.09.26.33; Mon, 11 Oct 2021 09:26:47 -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=xLAEEpeg; 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 S235066AbhJKMo6 (ORCPT + 99 others); Mon, 11 Oct 2021 08:44:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234921AbhJKMo5 (ORCPT ); Mon, 11 Oct 2021 08:44:57 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8CACC061570 for ; Mon, 11 Oct 2021 05:42:57 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id w14so15536792edv.11 for ; Mon, 11 Oct 2021 05:42:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aH+daMH8/JBhYD/VNld/K3vNCe4mWktvAcObPC4aWG4=; b=xLAEEpeguQ0woOp63ioI84nC66mr/vNC4iM/XmaXMiR9QYFGYakzTcnCnaHK0Zc1e9 F6SVKNckvU9wm9BB5+GFFc5UNe+g/qDBgYlf7xCE6cKla83nQsT0yJy3JCE7ac6G9KJq XADRbelRbMcY+njlJNQLn1PW7duC4Vj6rnp0iM7FWu9pPI//hOj0ra+tRNKgsOEbqqhL vX6oQOe0/+oBUJhXHqiH+UYFE+t6drOSbO7orVfi6uwUrGSpthmNLpMq/WxwZbuqJA53 qKDIBq882XZzIobYK11lbxtPNhoujcK7bDUlmekVqSfHwHnN4AIswFT6iM2pJDUpoNgy 9sNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aH+daMH8/JBhYD/VNld/K3vNCe4mWktvAcObPC4aWG4=; b=o3GmPjNdRQtxAC20UbQa+LE2esI2Hk0OiZrZv9KKmjIGIGKte0jxnaBLqJcRcO95uf 9A0u3dA82Yy1bmM/zbz13GmRbSv8hn7JRwkqTt6pQnHnxWh4LXSXUx7MkeZdH9haErI5 Qec7o9TAIV1I8duxkIuE7xDcT/dDjwBgvnEC59tMr69j/QWUOHD6i5Ot4jVoaqurgJh5 Tyots186Pot3BdIXg2ZNk0zk0otVUeIaGJzPT3R9490LRdwesF121xCyQIiJ4k5Wt0rk eWjocLcqvS2eY3Ouef7/jH2vbnQ/4EQANxLWLHgybHv5Yb4WNzLt0rYhZRoARzQS5CpA 3H6Q== X-Gm-Message-State: AOAM532xl6nkXM/f6XXZQdui+pqGhAN4IMJW8Jp6xKrWcR3cej7RBtBZ bVBVKbLea9fH1kHE0bUQv2MmvsrPgFRXRmUig6HKNQ== X-Received: by 2002:a50:9993:: with SMTP id m19mr40386265edb.357.1633956175595; Mon, 11 Oct 2021 05:42:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Mon, 11 Oct 2021 18:12:44 +0530 Message-ID: Subject: Re: mm/kasan/init.c:282:20: error: redefinition of 'kasan_populate_early_vm_area_shadow' To: Linux-Next Mailing List , open list , linux-mm , kasan-dev Cc: Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Stephen Rothwell , Andrew Morton Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Andrew Morton On Mon, 11 Oct 2021 at 17:08, Naresh Kamboju wrote: > > Regression found on x86_64 gcc-11 built with KASAN enabled. > Following build warnings / errors reported on linux next 20211011. > > metadata: > git_describe: next-20211011 > git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next > git_short_log: d3134eb5de85 (\"Add linux-next specific files for 20211011\") > target_arch: x86_64 > toolchain: gcc-11 > > build error : > -------------- > mm/kasan/init.c:282:20: error: redefinition of > 'kasan_populate_early_vm_area_shadow' > 282 | void __init __weak kasan_populate_early_vm_area_shadow(void *start, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from include/linux/mm.h:34, > from include/linux/memblock.h:13, > from mm/kasan/init.c:9: > include/linux/kasan.h:463:20: note: previous definition of > 'kasan_populate_early_vm_area_shadow' with type 'void(void *, long > unsigned int)' > 463 | static inline void kasan_populate_early_vm_area_shadow(void *start, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > make[3]: *** [scripts/Makefile.build:288: mm/kasan/init.o] Error 1 > make[3]: Target '__build' not remade because of errors. > > > Reported-by: Linux Kernel Functional Testing > > build link: > ----------- > https://builds.tuxbuild.com/1zLv2snHfZN8QV01yA9MB8NhUZt/build.log > > build config: > ------------- > https://builds.tuxbuild.com/1zLv2snHfZN8QV01yA9MB8NhUZt/config > > # To install tuxmake on your system globally > # sudo pip3 install -U tuxmake > tuxmake --runtime podman --target-arch x86_64 --toolchain gcc-11 > --kconfig defconfig --kconfig-add > https://builds.tuxbuild.com/1zLv2snHfZN8QV01yA9MB8NhUZt/config > > -- > Linaro LKFT > https://lkft.linaro.org