From owner-freebsd-current@FreeBSD.ORG Sat Jan 11 17:39:57 2014 Return-Path: Delivered-To: freebsd-current@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 E14E1226 for ; Sat, 11 Jan 2014 17:39:56 +0000 (UTC) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9E2BA12FF for ; Sat, 11 Jan 2014 17:39:56 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id x13so4043613qcv.33 for ; Sat, 11 Jan 2014 09:39:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uit50uEviwywgGHGDpx3VWJ0Bxd6EgOnkIHr5yvm6qE=; b=DUgiLXGucLsVum5DLc57lwdYaKEN+p7GjW+cs0jE6tdNG96aylaI7q79mbLCqy+pQi rT4yOizXGmkxPY648ljZW7bJ8TuTtVAEjj5PO7potLVhN+nKu5R6mp5ZvXUYpAyD3uai 7vVclw6jd7p5IUl2//IsjQVu63MmJ52F3LfEKgt/ZldcK81XzxMewDyPcDQxpa92O7vD aGVb+QmKRf9Iv0EsUg4+hzwld2wZRW7yOcNKcp9ayjoKe0I8/MmAqur7XraZfoN+8RPF RFjRb0/VO5vYDG2Rd+bC6mcSGyKrxlXP4BoEbefU5urocGLGgNhQQSYuLF5DhmDGzWRz JRsQ== MIME-Version: 1.0 X-Received: by 10.229.32.197 with SMTP id e5mr20820773qcd.5.1389461995849; Sat, 11 Jan 2014 09:39:55 -0800 (PST) Received: by 10.140.34.17 with HTTP; Sat, 11 Jan 2014 09:39:55 -0800 (PST) In-Reply-To: <20140111125229.GG2390@shaka.acc.umu.se> References: <20140111113206.581760d9@thor.walstatt.dyndns.org> <20140111113444.GF2390@shaka.acc.umu.se> <20140111125229.GG2390@shaka.acc.umu.se> Date: Sat, 11 Jan 2014 09:39:55 -0800 Message-ID: Subject: Re: CURRENT: build world failure: /usr/src/usr.sbin/bhyvectl/bhyvectl.c:1466:8: error: use of undeclared identifier 'VMCS_EXIT_INTERRUPTION_ERROR' VMCS_EXIT_INTERRUPTION_ERROR, &u64); From: Neel Natu To: Marcus Karlsson Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD CURRENT , "O. Hartmann" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 11 Jan 2014 17:39:57 -0000 Hi Marcus, On Sat, Jan 11, 2014 at 4:52 AM, Marcus Karlsson wrote: > On Sat, Jan 11, 2014 at 12:34:44PM +0100, Marcus Karlsson wrote: >> On Sat, Jan 11, 2014 at 11:32:06AM +0100, O. Hartmann wrote: >> > Recent sources (revision 260540) fail to build: >> > >> > cc -O2 -pipe -O3 -march=native >> > -I/usr/src/usr.sbin/bhyvectl/../../sys/amd64/vmm -pipe -O3 -std=gnu99 >> > -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall >> > -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes >> > -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized >> > -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int >> > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality >> > -Wno-unused-function -Wno-enum-conversion >> > -c /usr/src/usr.sbin/bhyvectl/bhyvectl.c /usr/src/usr.sbin/bhyvectl/bhyvectl.c:1457:8: >> > error: use of undeclared identifier 'VMCS_EXIT_INTERRUPTION_INFO'; did >> > you mean 'SET_VMCS_ENTRY_INTERRUPTION_INFO'? >> > VMCS_EXIT_INTERRUPTION_INFO, &u64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > SET_VMCS_ENTRY_INTERRUPTION_INFO /usr/src/usr.sbin/bhyvectl/bhyvectl.c:382:2: >> > note: 'SET_VMCS_ENTRY_INTERRUPTION_INFO' declared here >> > SET_VMCS_ENTRY_INTERRUPTION_INFO, >> > ^ /usr/src/usr.sbin/bhyvectl/bhyvectl.c:1466:8: error: use of >> > undeclared identifier 'VMCS_EXIT_INTERRUPTION_ERROR' >> > VMCS_EXIT_INTERRUPTION_ERROR, &u64); >> >> I see the same thing. It appears that the definition of >> VMCS_EXIT_INTERRUPTION_INFO and VMCS_EXIT_INTERRUPTION_ERROR changed in >> r260531 to VMC_EXIT_INT_INFO and VMCS_EXIT_INTR_ERRCODE respectively. > > This patch was enough for the build to complete successfully in case > anyone else wants it. The old macros are not used anywhere else in the > source tree apart from bhyvectl. > Sorry about the breakage and thanks for the patch. Submitted as r260550. best Neel > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"