From owner-freebsd-doc@FreeBSD.ORG Sun Mar 23 15:50:02 2014 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2C6D5B0B for ; Sun, 23 Mar 2014 15:50:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 09A7E81B for ; Sun, 23 Mar 2014 15:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2NFo1l2025426 for ; Sun, 23 Mar 2014 15:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2NFo1dI025425; Sun, 23 Mar 2014 15:50:01 GMT (envelope-from gnats) Resent-Date: Sun, 23 Mar 2014 15:50:01 GMT Resent-Message-Id: <201403231550.s2NFo1dI025425@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Stevenson Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAB02982 for ; Sun, 23 Mar 2014 15:47:10 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A6A167E3 for ; Sun, 23 Mar 2014 15:47:10 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2NFl9BT080122 for ; Sun, 23 Mar 2014 15:47:09 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2NFl94Q080121; Sun, 23 Mar 2014 15:47:09 GMT (envelope-from nobody) Message-Id: <201403231547.s2NFl94Q080121@cgiserv.freebsd.org> Date: Sun, 23 Mar 2014 15:47:09 GMT From: Andrew Stevenson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: docs/187854: options XENHVM requires options SMP X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2014 15:50:02 -0000 >Number: 187854 >Category: docs >Synopsis: options XENHVM requires options SMP >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 23 15:50:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Andrew Stevenson >Release: 10-RELEASE >Organization: UgH! >Environment: 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: If compiling a kernel with options XENHVM the build will fail unless you also have options SMP. cc -c -O2 -pipe -fno-strict-aliasing -march=k8 -std=c99 -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-unused-function -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/x86/xen/hvm.c /usr/src/sys/x86/xen/hvm.c:120:18: error: use of undeclared identifier 'lapic_ipi_vectored'; did you mean 'xen_ipi_vectored'? .ipi_vectored = lapic_ipi_vectored, ^~~~~~~~~~~~~~~~~~ xen_ipi_vectored /usr/src/sys/x86/xen/hvm.c:75:13: note: 'xen_ipi_vectored' declared here static void xen_ipi_vectored(u_int vector, int dest); ^ 1 error generated. *** Error code 1 Stop. I don't know this dependency is a problem per se but it should be documented, e.g in xen(4) or in comments in GENERIC or if it is documented then documented in bigger letters :-) >How-To-Repeat: cd /usr/src/sys/amd64/conf cp GENERIC BLAH cd /usr/src make build kernel KERNCONF=BLAH >Fix: >Release-Note: >Audit-Trail: >Unformatted: