Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp104837pxa; Thu, 13 Aug 2020 21:23:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+wBH0epwuFFlCLaJjBjQBLJjggXUA5xBjGmf6EwcrFo0KDfRK6J2/PRFf0H3F4Z0+i6z8 X-Received: by 2002:a17:906:a413:: with SMTP id l19mr697324ejz.15.1597379005008; Thu, 13 Aug 2020 21:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597379005; cv=none; d=google.com; s=arc-20160816; b=XJggARzsRDUMEvaNqxF7zDGHy0YizELUiXBDjYPgW536FpjjGRzFHhzAgUNBghPmQh WOmcwwMKFRx32v48V2g2gJrtqecxwR3xfzjcykwuX0uMOgfXc2ji+B/955SN1Yz6o92T XE+y7FzE5sC2hr67D3QLkmTYwWYBol7//eQQ9XpRHQpfTpPqX6ostXCoI/oiECKdi53A VUODvQ+t/pKanRHmwaYDIlpvPgRVXav+AIB2UcAt3OkqatqMU24HkAc489OVBm0E9N37 dQHGqEPf7Jel4e2GTYiVRfhNQq8SW/PgN5Q9MlSq7e3/awJj2+O1T6D3kSVSDQxhMt00 Jyrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=6u8Q+umVnRxiYYDPDA9arw80XfyHuNVnhyeRkqd+wgE=; b=LOafT5UnxkY8t9a/xNQ3/hks17zCcpvG3rNxm8s1TkFPxx/ghYcv7d/U1+fcuOXEa6 0Sg+nSD22jKv9xL8UDq6JKtA5nfnlhhrvOFRttsTE6efWuJEEeW4DKzhbn7TuwvVGw2I USuXRLl6RZxTYp9fo6vi5jUhThcs5DYohM1SPvhpRkWhhgL/sst3qc8ppEK5GmiIWpuM A/9KkM9uqVEAJfyiGwY51W13U7TC/WgvoDng55Iuw3v1r085LJxbVQih2zmlf8WeE2uo rUISssqxNIMasopm6dv90ZODspo0TmMLDFCfScuu2SPU8I0jH3lkb4UyapXMxtkxj1tl kxFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=AUUNBvBz; 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 t4si4513406ejt.506.2020.08.13.21.23.00; Thu, 13 Aug 2020 21:23:24 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=AUUNBvBz; 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 S1726139AbgHNEVx (ORCPT + 99 others); Fri, 14 Aug 2020 00:21:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbgHNEVx (ORCPT ); Fri, 14 Aug 2020 00:21:53 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22BFCC061757 for ; Thu, 13 Aug 2020 21:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=6u8Q+umVnRxiYYDPDA9arw80XfyHuNVnhyeRkqd+wgE=; b=AUUNBvBzzD8i5v1Rf6ugorkyGQ La0hjzSqKhbHaeuOnuQYRkFNjyVWFlhtEREwbee9n4C2O5Et1GEqDLJW7D53xW3zN2n7qevbMOfEv 7DdkQ7O9H4JhC+pH0Qc0iCGL5bmxwODxDK8ivPO2emYNEADJpAtP5l6AJkN16ywm9W+EuHR562J/W fN4Ax0d6JwEqIP5QfahMyc6fwS4gBs2KDRBFuthmaCI8DzDqe6VXPSqqeRpBU9LV2r0BUfs//ypS3 BrAE1ijwVw0tyoqcml7DZRB64A+1v/PDuK7AOrfXlwtZzviDjbTg0be+QWPNlFUy4d7saJop41Wv6 vbxg9IiQ==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1k6RDx-0007c4-Nm; Fri, 14 Aug 2020 04:21:50 +0000 Subject: Re: net/tipc/udp_media.c:743: undefined reference to `ipv6_dev_find' To: Xin Long , kernel test robot Cc: kbuild-all@lists.01.org, LKML References: <202008120718.VxKCVIJX%lkp@intel.com> From: Randy Dunlap Message-ID: Date: Thu, 13 Aug 2020 21:21:46 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/13/20 2:35 AM, Xin Long wrote: > On Wed, Aug 12, 2020 at 7:21 AM kernel test robot wrote: >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head: c636eef2ee3696f261a35f34989842701a107895 >> commit: 5a6f6f579178dbeb33002d93b4f646c31348fac9 tipc: set ub->ifindex for local ipv6 address >> date: 6 days ago >> config: ia64-randconfig-r005-20200811 (attached as .config) >> compiler: ia64-linux-gcc (GCC) 9.3.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 >> git checkout 5a6f6f579178dbeb33002d93b4f646c31348fac9 >> # save the attached .config to linux build tree >> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >> ia64-linux-ld: net/tipc/udp_media.o: in function `tipc_udp_enable': >>>> net/tipc/udp_media.c:743: undefined reference to `ipv6_dev_find' > To use some APIs exported from ipv6 code. > We need add this: > > --- a/net/tipc/Kconfig > +++ b/net/tipc/Kconfig > @@ -6,6 +6,7 @@ > menuconfig TIPC > tristate "The TIPC Protocol" > depends on INET > + depends on IPV6 || IPV6=n > Thanks. Works for me. Acked-by: Randy Dunlap # build-tested Please make a proper patch and send it to the maintainers. -- ~Randy