NetBSD Problem Report #51907

From www@NetBSD.org  Mon Jan 23 00:07:32 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 185257A28D
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 Jan 2017 00:07:32 +0000 (UTC)
Message-Id: <20170123000730.D3D477A2C1@mollari.NetBSD.org>
Date: Mon, 23 Jan 2017 00:07:30 +0000 (UTC)
From: amonk@backwatcher.com
Reply-To: amonk@backwatcher.com
To: gnats-bugs@NetBSD.org
Subject: amd64 bpfjit npf xen bug
X-Send-Pr-Version: www-1.0

>Number:         51907
>Category:       kern
>Synopsis:       amd64 bpfjit npf xen bug
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 23 00:10:00 +0000 2017
>Closed-Date:    Sat Feb 10 09:41:43 +0000 2018
>Last-Modified:  Sat Feb 10 09:41:43 +0000 2018
>Originator:     Kyle Amon
>Release:        7.0.2
>Organization:
BackWatcher, Inc.
>Environment:
NetBSD nbsd.backwatcher.com 7.0.2_PATCH NetBSD 7.0.2_PATCH (XEN3_DOM0) amd64
>Description:
The XEN3_DOM0 (and, presumably the XEN3_DOMU, but I didn't get past the _DOM0 because of this), kernel will not build with 'options BPFJIT' on amd64.  One gets this...

One gets this...

/usr/src/sys/net/bpfjit.c:72:22: fatal error: sljitLir.h: No such file or directory                                                                              #include <sljitLir.h>                                                                                ^                                                         compilation terminated.                                                         --- bpfjit.o ---                                                                *** [bpfjit.o] Error code 1
>How-To-Repeat:
Try to build a XEN_DOM0 kernel with npf and bpfjit on amd64 7.0.2.
>Fix:
The same thing was evidently already fixed for i386.  See...

https://mail-index.netbsd.org/tech-net/2016/09/14/msg006102.html

And it's result...

http://releng.netbsd.org/cgi-bin/req-7.cgi?show=1255

Please do the same fix and pullup for amd64.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maxv@NetBSD.org
State-Changed-When: Sat, 10 Feb 2018 09:41:43 +0000
State-Changed-Why:
The patch fixed amd64 too. I'm closing this PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.