Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1819952pxb; Mon, 11 Oct 2021 13:56:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwp+lA3zvqah3FoCv/Lc2RG3+9EMApoXOQlBMVX0FJJDLPW1IwZShLYeDx6swRXCdq2G9ry X-Received: by 2002:a17:906:2cd5:: with SMTP id r21mr28530854ejr.435.1633985772368; Mon, 11 Oct 2021 13:56:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633985772; cv=none; d=google.com; s=arc-20160816; b=Di3To7CrFHfmDMV8faI5zLIE+6CCAGfbLtH2cyqH1BhmFc07P8RaP3bdiGoVLi3LNc jW9IAQLQ5HONRyGFzhmXrjfHEQc33vi85b6JyRwE8BNXWDnXqZgT7Cf74Z6Urt1C1B+s c/+kZfYkkgBMVDKoerkU0UgLPLgI9tR9Shgt2hamqV92CMrDzZOF/FpHbXgGxpe2Qnww NLGgxMvgsB67iEHmpcMXp1axPbLANhLWxzVVcA4esxjEDjOr6gKtEXuLy6Pv13LFUpOX aRzQVDVVCWe7bb+LHSIlF4+EXqjo2F32TMeVJ5qfsL1HXyRJtwTg9sY1k7iq8vY567/L wsuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Mf8aZsn7zRLVZIvP/Bl2wAFBk0x3xpA3/afyeWY9Nvk=; b=vpq+0IADzxud0SEkfnQe6sGjdLhf5zm4rbS7o7WYbZZx/vh9GoF3n6TYfD0u2EV33t Q0LNk9qNZ/QB2l4AFn6+gjzD7zApVJSWHaq42P+xiZreW1rlp0mfiV9oSOtfOHCSHDfe 1EMiuFwbSnax16OdiBrRYh3VnleP/h5Xo3hPBZ9sOmtZyz3dnAfVDkRNu8gngxK0cFIP upGYWi6njGLGgJiU7HWBeCOIgJuZE6l/TDsHr0yh4n531pkecwtwqNklzO7NHvvWVAbh 1/ac5/cz6M2coYNqBlVuIkpX5+DYYOeTRi/lOgwp26INEky+UKbjDoDGAEy5X0URT6Hz s23A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=bPTVvzI2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q3si11938988edb.445.2021.10.11.13.55.46; Mon, 11 Oct 2021 13:56:12 -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=@linux-foundation.org header.s=korg header.b=bPTVvzI2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234411AbhJKUzu (ORCPT + 99 others); Mon, 11 Oct 2021 16:55:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:59874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230299AbhJKUzs (ORCPT ); Mon, 11 Oct 2021 16:55:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1B16760F11; Mon, 11 Oct 2021 20:53:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1633985628; bh=JRiHDPpa/b2nvZt745PcbTbloc06/449gj+RuRs0POc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bPTVvzI21lWBCgGle48sGEd0S5rAAibwG5MtRHmKKGXaH6bICiDEpbSnOr8Vq6Ciy hokKffgKnx2S2wI9Nl8Axk4kZNluLuBY6Zx6okLhjrnLL2ygVlVFvabyXyHulJpnZx onphqhZohxUZkdSzwJ1B0020oAX8kgf3sCmdQVdQ= Date: Mon, 11 Oct 2021 13:53:45 -0700 From: Andrew Morton To: Naresh Kamboju Cc: Linux-Next Mailing List , open list , linux-mm , kasan-dev , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Stephen Rothwell , Kefeng Wang Subject: Re: mm/kasan/init.c:282:20: error: redefinition of 'kasan_populate_early_vm_area_shadow' Message-Id: <20211011135345.9506437ee2504a81054dc06f@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Oct 2021 18:12:44 +0530 Naresh Kamboju wrote: > + 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 Presumably "kasan: arm64: fix pcpu_page_first_chunk crash with KASAN_VMALLOC". Let's cc Kefeng.