From owner-freebsd-current@freebsd.org Thu Aug 10 17:58:11 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6747DD8FA5 for ; Thu, 10 Aug 2017 17:58:11 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 901646B463 for ; Thu, 10 Aug 2017 17:58:11 +0000 (UTC) (envelope-from rlibby@gmail.com) Received: by mail-pg0-f67.google.com with SMTP id y129so1168709pgy.3 for ; Thu, 10 Aug 2017 10:58:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rhDVELmYOxSF7dfsLyaWtrqhWoigrQNBg4WDyU6guEU=; b=ZF/+O6xPM27BOEP6+9Rt5sy9prKErY0Osxis9p6v/6IrizJeAZ8cSPhv/faghj2jiD Ra0QYKtwF7Z0MWD7F+NXJlLpyqM2baBEaRP8ixKUHGDNFrjp/nko9eaEfpDHgp+Ylh+9 TlTR1W47vs4rn3tvx4ucOTcqhEa2KtaefABp2Ykfc/1COKC1tNLwAfAclFVYtgUXaDFY XsT8LtgCBcPlnepUs4O4B/qDefb5470EJ8XfsvI3KHmLLuW+8pt4SKDRQ0HvXkCYZJHV VN7JpvRY/hQEVFbykhU9YepiST+5SlIfATrUhv+9qz8K4e5BHpmiTLZ5DXdfTJaNc+Hz LRSQ== X-Gm-Message-State: AHYfb5gdEecSF19wrUxgu2qIiq1Rs9pCCBdGwF7D6dSM/6SmJ7PQXjib RJ3GHI9PHftcAxR2xVE= X-Received: by 10.84.198.3 with SMTP id o3mr14243611pld.11.1502385969249; Thu, 10 Aug 2017 10:26:09 -0700 (PDT) Received: from mail-pf0-f170.google.com (mail-pf0-f170.google.com. [209.85.192.170]) by smtp.gmail.com with ESMTPSA id q80sm14872388pfj.187.2017.08.10.10.26.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Aug 2017 10:26:09 -0700 (PDT) Received: by mail-pf0-f170.google.com with SMTP id o86so5668321pfj.1 for ; Thu, 10 Aug 2017 10:26:09 -0700 (PDT) X-Received: by 10.99.60.83 with SMTP id i19mr12274327pgn.51.1502385968924; Thu, 10 Aug 2017 10:26:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.207.193 with HTTP; Thu, 10 Aug 2017 10:26:08 -0700 (PDT) In-Reply-To: <20170810185153.312aedf0@thor.intern.walstatt.dynvpn.de> References: <20170810185153.312aedf0@thor.intern.walstatt.dynvpn.de> From: Ryan Libby Date: Thu, 10 Aug 2017 10:26:08 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [322369] buildkernel failure: error: use of undeclared identifier 'mp_ncpus' To: "O. Hartmann" Cc: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 17:58:11 -0000 On Thu, Aug 10, 2017 at 9:51 AM, O. Hartmann wrote: > r322369 fails to build a kernel due to: > > > --- mptable.o --- > /usr/src/sys/x86/x86/mptable.c:480:39: error: use of undeclared identifier 'mp_ncpus' > proc->apic_id < MAX_LAPIC_ID && mp_ncpus < MAXCPU) { > ^ > /usr/src/sys/x86/x86/mptable.c:481:4: error: use of undeclared identifier 'mp_ncpus' > mp_ncpus++; > ^ > /usr/src/sys/x86/x86/mptable.c:482:4: error: use of undeclared identifier 'mp_maxid' > mp_maxid = mp_ncpus - 1; > ^ > /usr/src/sys/x86/x86/mptable.c:482:15: error: use of undeclared identifier 'mp_ncpus' > mp_maxid = mp_ncpus - 1; > ^ > 8 errors generated. > *** [mptable.o] Error code 1 > Yes, emaste identified this as related to r322347: https://lists.freebsd.org/pipermail/svn-src-head/2017-August/103426.html