Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp626852pxa; Thu, 27 Aug 2020 11:14:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlwtmLIKRee+T6sLZvI0x4LiCD2vDty+bG6Ph2J0nlKjGpoZXiWiENhbcoG3DZKVMCTtOo X-Received: by 2002:a17:907:aa2:: with SMTP id bz2mr21717210ejc.521.1598552050778; Thu, 27 Aug 2020 11:14:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598552050; cv=none; d=google.com; s=arc-20160816; b=bt8nvNDcC8y9CYSVoAe2MFLMW12upVIwJOd5fH2/4hGB6C5LubKV2izNoSsucL4oZo W7EUV9MfdJzPFOK8aIh0b53TlENay4NmhoK2rU6xRrsFeNO1zJAB4QiHnTiW0MijcvaF pDji6bgrqCeJc+p2AUEB5QaLDseTYSJBzBBb1M+bL9cq+BTurCUxZxNys1QXz3AteSl4 bodSJsW+HWV7zG8mttmRYsA2BBZvZYyjK4Pqlz9+hMMe8Q8afpByBZdtn3sfAOoPe0j6 N1QViQcbkacnEyuHahdG4yPx2QNBoSJXvhPhwUAz2D5MtEQyG0/lSea4wPB+jyfqwuLP 3onw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ssRaouXMj2o/HtEZZ3R9vlEAQEleSnlrqRH6Z6mK0YM=; b=dbrBoWp0fZ7okQ/AXUs2vcLL8J72m86YZBz8MmQx0HsOfPa7O///Itp1indgw9wXPm m3A0TmNuMb+obrkQi0w8d4fLUu40fcbPnR5Pvx+nFkds8r2+iujxlpi6GO0/zLMIJ0zO ZsBacSDu9+XAgbT74+HQiOv5N4wQOt1VlwQSHI7ZFWlk10GVBuRrqdwy4ZQO1sAecgUF 9LK7t4P6Pry+0G2u+2JVx6yPBJr9p4hZM4M5/knvHX8HjFtTc9sjI6g4fB/PrDwnJyWd R9JTVcL1MA8nypQjRVaNKCOeO64q9kNvjlzEJ8IIbJEvmLJD0lFcef6o0HSlN5bFF7Y4 363g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hTYxcSPY; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s8si1926118edc.566.2020.08.27.11.13.48; Thu, 27 Aug 2020 11:14:10 -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=@google.com header.s=20161025 header.b=hTYxcSPY; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726938AbgH0SNJ (ORCPT + 99 others); Thu, 27 Aug 2020 14:13:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726243AbgH0SNI (ORCPT ); Thu, 27 Aug 2020 14:13:08 -0400 Received: from mail-qv1-xf43.google.com (mail-qv1-xf43.google.com [IPv6:2607:f8b0:4864:20::f43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8171C061264 for ; Thu, 27 Aug 2020 11:13:08 -0700 (PDT) Received: by mail-qv1-xf43.google.com with SMTP id e5so2396298qvr.3 for ; Thu, 27 Aug 2020 11:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ssRaouXMj2o/HtEZZ3R9vlEAQEleSnlrqRH6Z6mK0YM=; b=hTYxcSPYcs/JpYjOgeSQeg6Xl3LxylMwCdjgvYwx1aZ0q9UMPVlNcB95FXYna3al52 IbTaBhRvKMuLTqjFu5nwJvvcRfM5hlW4mr0CAIw5t/TZ9K03o40d9+HsdyT9aHbx1V9u 6lZyigyUUK6y9vpQiHxICC3q0LPAv4EOwqGca0jbl9DK/0ufdjWzxlzp4M+vIrJCDfLD rTLXzM7s1yCsMnkF3SLfrSOCuq2rWL6RINgYVQ1ynhxBGMt2E2ZfHWhIMvb97fvURbWm /4HAoGwQtJz95MMLCIXruMdQ2RP37flfW+Z+PMdo9OixEUHbUjbtaq1V5cLjd1XtAf10 iwTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ssRaouXMj2o/HtEZZ3R9vlEAQEleSnlrqRH6Z6mK0YM=; b=kEdKlyPWoGigOW1PpkrdCizMj0Jt+4iHC3xiVJFYktQQCWdd+4Bu4BtzpQdMjaP8qY UzvwrCYmh4y7KnUsrIGtSMxSY7VQ1GxVJQXIWZU3VSPxM1xtNT7PnM4cpx+h4G7+7oku L8zae+x7gUuz0dZoZVRmFWqIimPDlw69U1NWnkuyjB8W4tUMJptQHs5c4ErYpPXHyq3I /Vq/JG+K3vrVWDy5OWPq45nbZkyVeqR5VGnoL/Tbp+9j15OsEw/ZkDkipEBZXgao9xPl R6+3+VUnJopJdHw23k7NIa0/Nlgk7fOynfKfhNutTmDm04ikA7FD+Xd233neshHvxar2 MrtQ== X-Gm-Message-State: AOAM530FaPb1JcBuvvfZbBGod0Kq5+AishPvsLdV+dEHSM9m6lytZDl+ akTsIsOBNJpNXdciXQMeU6D40gcBK5a5yoQ5GfeNoQ== X-Received: by 2002:a05:6214:10ca:: with SMTP id r10mr232930qvs.185.1598551987724; Thu, 27 Aug 2020 11:13:07 -0700 (PDT) MIME-Version: 1.0 References: <20200729212721.1ee4eef8@canb.auug.org.au> <87ft8lwxes.fsf@turtle.gmx.de> <87y2m7gq86.fsf@turtle.gmx.de> <87pn7gh3er.fsf@turtle.gmx.de> In-Reply-To: <87pn7gh3er.fsf@turtle.gmx.de> From: Brian Vazquez Date: Thu, 27 Aug 2020 11:12:56 -0700 Message-ID: Subject: Re: linux-next: build failure after merge of the net-next tree To: Sven Joachim Cc: Stephen Rothwell , David Miller , Networking , Linux Next Mailing List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sven, 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); }) Note that fib4_rule_match doesn't appear as the CONFIG_IP_MULTIPLE_TABLES is not there. Could you share more details on how you're compiling it and what compiler you're using?? Thanks, Brian On Mon, Aug 24, 2020 at 1:08 AM Sven Joachim wrote: > > On 2020-08-22 08:16 +0200, Sven Joachim wrote: > > > On 2020-08-21 09:23 -0700, Brian Vazquez wrote: > > > >> Hi Sven, > >> > >> Sorry for the late reply, did you still see this after: > >> https://patchwork.ozlabs.org/project/netdev/patch/20200803131948.41736-1-yuehaibing@huawei.com/ > >> ?? > > > > That patch is apparently already in 5.9-rc1 as commit 80fbbb1672e7, so > > yes I'm still seeing it. > > Still present in 5.9-rc2 as of today, I have attached my .config for > reference. Note that I have CONFIG_IPV6_MULTIPLE_TABLES=y, but > CONFIG_IP_MULTIPLE_TABLES is not mentioned at all there. > > To build the kernel, I have now deselected IPV6_MULTIPLE_TABLES. Not > sure why this was enabled in my .config which has grown organically over > many years. > > Cheers, > Sven > > > >> On Mon, Aug 17, 2020 at 12:21 AM Sven Joachim wrote: > >> > >>> On 2020-07-29 21:27 +1000, Stephen Rothwell wrote: > >>> > >>> > Hi all, > >>> > > >>> > After merging the net-next tree, today's linux-next build (i386 > >>> defconfig) > >>> > failed like this: > >>> > > >>> > x86_64-linux-gnu-ld: net/core/fib_rules.o: in function > >>> `fib_rules_lookup': > >>> > fib_rules.c:(.text+0x5c6): undefined reference to `fib6_rule_match' > >>> > x86_64-linux-gnu-ld: fib_rules.c:(.text+0x5d8): undefined reference to > >>> `fib6_rule_match' > >>> > x86_64-linux-gnu-ld: fib_rules.c:(.text+0x64d): undefined reference to > >>> `fib6_rule_action' > >>> > x86_64-linux-gnu-ld: fib_rules.c:(.text+0x662): undefined reference to > >>> `fib6_rule_action' > >>> > x86_64-linux-gnu-ld: fib_rules.c:(.text+0x67a): undefined reference to > >>> `fib6_rule_suppress' > >>> > x86_64-linux-gnu-ld: fib_rules.c:(.text+0x68d): undefined reference to > >>> `fib6_rule_suppress' > >>> > >>> FWIW, I saw these errors in 5.9-rc1 today, so the fix in commit > >>> 41d707b7332f ("fib: fix fib_rules_ops indirect calls wrappers") was > >>> apparently not sufficient. > >>> > >>> ,---- > >>> | $ grep IPV6 .config > >>> | CONFIG_IPV6=m > >>> | # CONFIG_IPV6_ROUTER_PREF is not set > >>> | # CONFIG_IPV6_OPTIMISTIC_DAD is not set > >>> | # CONFIG_IPV6_MIP6 is not set > >>> | # CONFIG_IPV6_ILA is not set > >>> | # CONFIG_IPV6_VTI is not set > >>> | CONFIG_IPV6_SIT=m > >>> | # CONFIG_IPV6_SIT_6RD is not set > >>> | CONFIG_IPV6_NDISC_NODETYPE=y > >>> | CONFIG_IPV6_TUNNEL=m > >>> | CONFIG_IPV6_MULTIPLE_TABLES=y > >>> | # CONFIG_IPV6_SUBTREES is not set > >>> | # CONFIG_IPV6_MROUTE is not set > >>> | # CONFIG_IPV6_SEG6_LWTUNNEL is not set > >>> | # CONFIG_IPV6_SEG6_HMAC is not set > >>> | # CONFIG_IPV6_RPL_LWTUNNEL is not set > >>> | # CONFIG_NF_SOCKET_IPV6 is not set > >>> | # CONFIG_NF_TPROXY_IPV6 is not set > >>> | # CONFIG_NF_DUP_IPV6 is not set > >>> | # CONFIG_NF_REJECT_IPV6 is not set > >>> | # CONFIG_NF_LOG_IPV6 is not set > >>> | CONFIG_NF_DEFRAG_IPV6=m > >>> `---- > >>> > >>> > Caused by commit > >>> > > >>> > b9aaec8f0be5 ("fib: use indirect call wrappers in the most common > >>> fib_rules_ops") > >>> > > >>> > # CONFIG_IPV6_MULTIPLE_TABLES is not set > >>> > > >>> > I have reverted that commit for today. > >>> > >>> Cheers, > >>> Sven > >>>