From owner-freebsd-pf@freebsd.org Fri Jun 29 08:58:02 2018 Return-Path: Delivered-To: freebsd-pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3240310351E6 for ; Fri, 29 Jun 2018 08:58:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B058A82B72 for ; Fri, 29 Jun 2018 08:58:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6660410351E5; Fri, 29 Jun 2018 08:58:01 +0000 (UTC) Delivered-To: pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 418CA10351E4 for ; Fri, 29 Jun 2018 08:58:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CAE8D82B71 for ; Fri, 29 Jun 2018 08:58:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 1AA45221E6 for ; Fri, 29 Jun 2018 08:58:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w5T8vxsE001509 for ; Fri, 29 Jun 2018 08:57:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w5T8vx6Y001508 for pf@FreeBSD.org; Fri, 29 Jun 2018 08:57:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pf@FreeBSD.org Subject: [Bug 229404] [pflog] [patch] pflogs kernel modules build fails with VIMAGE Date: Fri, 29 Jun 2018 08:57:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: easy, patch-ready X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2018 08:58:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229404 Bug ID: 229404 Summary: [pflog] [patch] pflogs kernel modules build fails with VIMAGE Product: Base System Version: 11.2-STABLE Hardware: Any OS: Any Status: New Keywords: easy, patch-ready Severity: Affects Some People Priority: --- Component: kern Assignee: pf@FreeBSD.org Reporter: eugen@freebsd.org Created attachment 194720 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194720&action= =3Dedit add opt_global.h pflog's module Makefile fails to include opt_global.h to SRCS leading to bu= ild error for VIMAGE case. Trivial patch fixing this is attached. cc -O2 -pipe -include opt_global.h -march=3Dcore2 -fno-strict-aliasing -We= rror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/data2/src/sys -fno-common=20 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD=20 -MF.depend.if_pflog.o -MTif_pflog.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwra= pv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy= pes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-comp= are -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-a= es -mno-avx -std=3Diso9899:1999 -c /data2/src/sys/netpfil/pf/if_pflog.c -o if_pflog.o :1:10: fatal error: 'opt_global.h' file not found #include "opt_global.h" ^~~~~~~~~~~~~~ 1 error generated. *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=