Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2850767pxb; Tue, 12 Oct 2021 15:00:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHC2lv6Q/BSL+ge2vBbfuqGOP/H6A5N8GquoXMFBas/HE2fsnhkUpBUMO5B6c+NJw5UmhT X-Received: by 2002:a05:6402:5189:: with SMTP id q9mr3633837edd.94.1634076021779; Tue, 12 Oct 2021 15:00:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634076021; cv=none; d=google.com; s=arc-20160816; b=Wh6iPLzyNpeVWaIuwz/u2bqVpdcALLheEYoxYeneMyEOdqNqD4kzxA6XF8mJb9I1Pg ANaG0VpVbUAp48r67cHOtFGaCtmT9FM7oDorBfzd9XAflFqfuZYvrY4nPLC92Oos9u9I 15Mhi+Np0sMMjT2p2XeEsndhAz5pUZXuEg6562besktvw9wl+e7ysBteHBAJm8VYTmfD 43P3q1KmuFhH9TXOZOCU/fBrhsNTDPUive6QIO6a6aBQnH1Rdpq7drs06tjrqpnV+PlX bFtpYb4+4WgMbeM8Ecpv3iMsHXmap2iNGNALzAZWGpzy2Kyitlp9Y4Sp+I97EBlAKdvl b0sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=uxQ7nLZzmivndg0FxAUA4ShGoEhQFmaES824qLb/QeE=; b=ytePl+AqXNEsnYpwB0SzKEttamNSqx+UZ+FWhkBTWoTfeKdWPo9axGnSg6J3FqNSt3 3m/gTQxQkbsUuPdiYBO+jen9mVxjTqSRrY3QZntPFEG3CJk+m/6bZ8Y7mqfUEHPzESnO BSY+DdcZKESweR07nA6ynjrLoA1TRlxSzNR7oJ2Z3cM95XPpkLq1xcDjomuQV6aKSlOv mhRuYXeazAQyQ/RGuF6DtOdPUEkQo+5iIqHMDt/El3D6tkRnQnvanWQ/UcU8FKLz5Oad TtXn5VEIKojJVRJAY1qSsIAILK7eJFXhXfgmv6zq6dUHIow49v4I8m7/CwXwFlu2Gs5u 46Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RVMdfmkm; 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 l7si23370259edk.342.2021.10.12.14.59.57; Tue, 12 Oct 2021 15:00: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=@infradead.org header.s=bombadil.20210309 header.b=RVMdfmkm; 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 S235727AbhJLV55 (ORCPT + 99 others); Tue, 12 Oct 2021 17:57:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235541AbhJLV54 (ORCPT ); Tue, 12 Oct 2021 17:57:56 -0400 Received: from bombadil.infradead.org (unknown [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 888AAC061570 for ; Tue, 12 Oct 2021 14:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=uxQ7nLZzmivndg0FxAUA4ShGoEhQFmaES824qLb/QeE=; b=RVMdfmkmHA8NbIUGAicwBbyEmv 5INLwcl8WAhoTpcGuiGnmPGnWjdkTXUogDGRUKIFoABl+1EfDQN1c3lZFvZ77QYuWl8P4/WPy075b hdYwFvkkAQfLmZmwF1rrfr2KleEqfGO+h2w5OGdb6eXo8bARIuP57VV9bAyYUAsgDMJON1qI/VNHj CadbiyCAb5mqeToKDdGFU+eMVluEoHzG3C7yPLDCIwVgDxJhaoYmNdP5JCj136rHv0DR8xzhSfkw6 lUyIfCkOrRFM+Gzo4/GzM3ciQWfhv9cQ9OgnnUixV32r1nofPbfFcM8kyVDitYgKnFTKGTs0mEZvL rgnAxduw==; Received: from [2601:1c0:6280:3f0::aa0b] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1maPkX-00E4Br-AX; Tue, 12 Oct 2021 21:55:53 +0000 Subject: Re: undefined reference to `memcg_bulk_charge_hook' To: kernel test robot , Vasily Averin Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Arnd Bergmann References: <202110130513.t6y4KgaP-lkp@intel.com> From: Randy Dunlap Message-ID: <2a5a496b-5b5e-0039-5bb2-d04268215e37@infradead.org> Date: Tue, 12 Oct 2021 14:55:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <202110130513.t6y4KgaP-lkp@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/12/21 2:34 PM, kernel test robot wrote: > tree: https://github.com/0day-ci/linux/commits/UPDATE-20211012-182031/Vasily-Averin/memcg-enable-memory-accounting-in-__alloc_pages_bulk/20211008-172703 > head: e10c5e64a0799c75d26d2a82c03f757335616711 > commit: e10c5e64a0799c75d26d2a82c03f757335616711 memcg: enable memory accounting in __alloc_pages_bulk > date: 11 hours ago > config: powerpc64-randconfig-r001-20211012 (attached as .config) > compiler: powerpc-linux-gcc (GCC) 11.2.0 > 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 > # https://github.com/0day-ci/linux/commit/e10c5e64a0799c75d26d2a82c03f757335616711 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review UPDATE-20211012-182031/Vasily-Averin/memcg-enable-memory-accounting-in-__alloc_pages_bulk/20211008-172703 > git checkout e10c5e64a0799c75d26d2a82c03f757335616711 > # save the attached .config to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash Hi ktr/lkp, Can you explain why the (previously) attached .config file says: CONFIG_32BIT=y but in the email text above, it says: config: powerpc64-randconfig-r001-20211012 I would expect a powerpc64 randconfig to say CONFIG_64BIT=y Am I just confused? Also, using (Arnd's) crosstools, the compiler for powerpc64 shows up as powerpc64-linux-ld, not as powerpc-linux-ld. Is that different for the 0day toolchains? (not AFAICT) > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > powerpc-linux-ld: mm/page_alloc.o: in function `__alloc_pages_bulk': >>> (.text+0x857c): undefined reference to `memcg_bulk_charge_hook' >>> powerpc-linux-ld: (.text+0x86d0): undefined reference to `memcg_bulk_post_charge_hook' > powerpc-linux-ld: (.text+0x870c): undefined reference to `memcg_bulk_post_charge_hook' >>> powerpc-linux-ld: (.text+0x87c8): undefined reference to `memcg_bulk_pre_charge_hook' > > --- thanks. -- ~Randy