Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1560713pxa; Fri, 28 Aug 2020 16:45:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZ2hSuD49PTKzUoy3luLmZMdJ/jsYw/QUl4hVtBqyXx3n5ehh475s3EMi6vchwq9aRqtrQ X-Received: by 2002:a17:906:4f08:: with SMTP id t8mr1231861eju.164.1598658312247; Fri, 28 Aug 2020 16:45:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598658312; cv=none; d=google.com; s=arc-20160816; b=jJZgUAM6Z7gy+YTb0aLY1oiXQnhzPN2gQBaP+iNP9JD/BRdehwW3QlpAKBuTv21WYk s/YCimL4W6IdBLAqUIO8Q6ogkYZ6GwYZtHuOO4FN4AziTekXpOujQgjg4R7t+sbV1RK9 NVqPKY4JJ7hyV/xs38IA9sdw805WyOMeppOPDTb5GbE+Ouc6V0wumxQtCwhGfMq5OkOh RQyHfi0NbT4qKkYjozTzXYvR1MYj/7vm0hsnkUC8bTB2a6aJ/erUS83PBLAx3Uc5w2aI SiaVj2WO0Zx0MuCTRPegZMQU47XItqRaEtKp1VDcqN9doRuqHySxYs13GH8UphlIL3Ux 2aSQ== 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=sJO6zPU113docaHLc9V1IgRkQ/8ndDDRf6lClTOXy8A=; b=igwzKYED+NMmIqrocZ19Hys5rYXvviF6Er0ibMdRPLShmMH/fZLXqBznyFSmbXmH8W EmeEpxPctUYhTgc07Ne/om2aOhylo78gautbs4OHEdeHJUfTHjflx0Igy5b5Zz/GMyhb DtHMwizz2sryv0TEPEYmgJ8vfjA0RsKo73TIw5/GJ5GWRSrP1wToMKq13B5T6TZu0Rm6 EpkwUShDrwuRPR0UHV87WQs75Mf2Gxl56s9kOizmZxjLHzCXg/JmP4NlZwRGPcFnfxEL 1w9Yxn6MY+FesYlBNF8tTKVOm6xSBOyxGAf7JnhSai7FzKC6af/DSEmW+zNvvWhvUXRX JZAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=cl2YYh2X; 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 i7si832043ejo.230.2020.08.28.16.44.49; Fri, 28 Aug 2020 16:45: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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=cl2YYh2X; 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 S1726930AbgH1XmW (ORCPT + 99 others); Fri, 28 Aug 2020 19:42:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726649AbgH1XmT (ORCPT ); Fri, 28 Aug 2020 19:42:19 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F70DC061264; Fri, 28 Aug 2020 16:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=sJO6zPU113docaHLc9V1IgRkQ/8ndDDRf6lClTOXy8A=; b=cl2YYh2XhhyHrjF6cjPtHRfL4w a9bZacq5X4pQT+e4sw3dJFFnG372xlZsICmZ3p5dDFKy0QtC9kHNdG1fUYIEWH+VE1w/UiiAAohoJ Y3yI8R7JM69uD0/MA7NQZc3ffuX2+Cept29LMA8KM1Tkg62ho9z1aghXS+5wQr4KVns+QM1rIVmbH P3GyTSx6Pema1BWPF0PpNUWP+YLeW1eGwWjsypc+Pi1vZpeE8xLKVz2RolUlBDlLW18qyMxFJDzoA SfuxqBKym0IrDb+Bbo1vIv9ykplJwEpy4+FhkgFrvahE+97odJF6MxeyyckAwZJ29PqQ7pLJBSOm8 bIGUbw9g==; Received: from [2601:1c0:6280:3f0::19c2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBo0T-0001Bv-OP; Fri, 28 Aug 2020 23:42:06 +0000 Subject: Re: linux-next: build failure after merge of the net-next tree To: Brian Vazquez Cc: Sven Joachim , Stephen Rothwell , David Miller , Networking , Linux Next Mailing List , Linux Kernel Mailing List References: <20200729212721.1ee4eef8@canb.auug.org.au> <87ft8lwxes.fsf@turtle.gmx.de> <87y2m7gq86.fsf@turtle.gmx.de> <87pn7gh3er.fsf@turtle.gmx.de> <878sdyn6xz.fsf@turtle.gmx.de> <49315f94-1ae6-8280-1050-5fc0d1ead984@infradead.org> From: Randy Dunlap Message-ID: <4dce5976-d4a1-1fbf-8824-a92adfc542b5@infradead.org> Date: Fri, 28 Aug 2020 16:42:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.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/28/20 4:16 PM, Brian Vazquez wrote: > On Fri, Aug 28, 2020 at 8:12 AM Randy Dunlap wrote: >> >> On 8/28/20 8:09 AM, Sven Joachim wrote: >>> On 2020-08-27 11:12 -0700, Brian Vazquez wrote: >>> >>>> I've been trying to reproduce it with your config but I didn't >>>> succeed. I also looked at the file after the preprocessor and it >>>> looked good: >>>> >>>> ret = ({ __builtin_expect(!!(ops->match == fib6_rule_match), 1) ? >>>> fib6_rule_match(rule, fl, flags) : ops->match(rule, fl, flags); }) >>> >>> However, in my configuration I have CONFIG_IPV6=m, and so >>> fib6_rule_match is not available as a builtin. I think that's why ld is >>> complaining about the undefined reference. >> >> Same here FWIW. CONFIG_IPV6=m. > > Oh I see, > I tried this and it seems to work fine for me, does this also fix your > problem? if so, I'll prepare the patch, and thanks for helping! > diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c > index 51678a528f85..40dfd1f55899 100644 > --- a/net/core/fib_rules.c > +++ b/net/core/fib_rules.c > @@ -16,7 +16,7 @@ > #include > #include > > -#ifdef CONFIG_IPV6_MULTIPLE_TABLES > +#if defined(CONFIG_IPV6_MULTIPLE_TABLES) && defined(CONFIG_IPV6) Yes, that works for me. You can add this to your patch: Acked-by: Randy Dunlap # build-tested thanks. -- ~Randy