From owner-freebsd-virtualization@freebsd.org Thu Jul 11 13:01:57 2019 Return-Path: Delivered-To: freebsd-virtualization@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 E805C15D219F for ; Thu, 11 Jul 2019 13:01:56 +0000 (UTC) (envelope-from dariusmihaim@gmail.com) Received: from mail-yb1-xb43.google.com (mail-yb1-xb43.google.com [IPv6:2607:f8b0:4864:20::b43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 02CC876250 for ; Thu, 11 Jul 2019 13:01:55 +0000 (UTC) (envelope-from dariusmihaim@gmail.com) Received: by mail-yb1-xb43.google.com with SMTP id a14so2422567ybm.11 for ; Thu, 11 Jul 2019 06:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fic6l6ce/E1xOXeNuLsRjI5OJbyzobhMmQigE/jvUDM=; b=S5gKt27HqkSNCF1YgTClb06x1UrMDPTdi83bjcL+zXttG2FCD2kTesagC+45We7gWX qvrRZyEyK9jzrGcoe/zLfx7ssdVZ4ck7ecEOJp+DUgU3JQUe5S0V+tsv8/YpbZETheaJ oU9B7vErcayzdGLEvV0GEha5H2FBQ3DgT8KFyAnCn6rhAYaOaSdF94B7slE17zIJPO+R OwYd45xuo73ayPt4PhaldJm+v0CXonCSo4zUC+/8cPGjWLzJvSCToMwwwrKhMMwxlCgn f69j862UZkKkekm6H7SWppgYqI1jzelX7223fBMljDQbfThoH+31b8yCT+myU3XMdRC9 vstw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fic6l6ce/E1xOXeNuLsRjI5OJbyzobhMmQigE/jvUDM=; b=jT3JOu8IT+qWj0iu9T4CXQoGvFutUBkuGm/RuNpTiUOaao13GYHL5iWCxv/eGWsJed altWZr/TQkdhITf2IWy7ofPJ8q6Iq19w2Py8lkP1rEwbLh8PMShWoojil0KFYRxshcsM EYJbLGh0ujdRDBUI9+bJq9vUzAUkgIpS9OgqZEJCFcEmMxdjU2MBhC6LuJ+A+cyFZugk p+l7I9oPFqSjWGsntb/4l7JOMwPUY1xOgridLIzwusq8071PyzMXX/OYVvKNxLGBRbPz zhi98RcJ5FL0mWFscGcOOYuD6TGYpdUKyrKaYxe5uIwN0ROnDS9b5qu+2ne2dOLxVd2L hC/g== X-Gm-Message-State: APjAAAXOmlQLpHurUGkQgqwx3nzzGLG6xnj+ItKinbKARRCtUvdJN84Z W83r/FFiVNAwoxMxzdveTxoq1/xI+OqgmfZaP48= X-Google-Smtp-Source: APXvYqz5Y/R7IlPiv4VrVKuO94x0uy2Oop7HEkrVahFmGMkKn5Zcz5Zarjf/KAaYYWY0rJISGkYxMFzGgvZVdT0/0w4= X-Received: by 2002:a0c:89b2:: with SMTP id 47mr1957296qvr.203.1562850115466; Thu, 11 Jul 2019 06:01:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Darius Mihai Date: Thu, 11 Jul 2019 16:01:19 +0300 Message-ID: Subject: Re: bhyve/arm64 status To: Kamil Koczurek Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 02CC876250 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=S5gKt27H; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dariusmihaim@gmail.com designates 2607:f8b0:4864:20::b43 as permitted sender) smtp.mailfrom=dariusmihaim@gmail.com X-Spamd-Result: default: False [-4.72 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.4.b.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.85)[-0.852,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.86)[ip: (1.36), ipnet: 2607:f8b0::/32(-3.18), asn: 15169(-2.44), country: US(-0.06)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jul 2019 13:01:57 -0000 On Thu, Jul 11, 2019 at 1:09 PM Kamil Koczurek wrote: > > I'm trying to cross-compile bhyve for espressobin myself, but I've > come across some problems. `make buildworld`* throws the following > errors: > > 1. on branch bhyvearm64: > ``` > make[4]: make[4]: don't know how to make bhyvectl.1. Stop > ``` > > 2. on branch bhyvearm64_refactor: > ``` > In file included from > /root/bhyve/ehh/freebsd/usr.sbin/bhyve/mmio//devemu_irq.c:14: > /root/bhyve/ehh/freebsd/sys/dev/virtio/mmio/virtio_mmio.h:36:1: error: > type specifier missing, defaults to 'int' > [-Werror,-Wimplicit-int] > DECLARE_CLASS(vtmmio_driver); > ^ > /root/bhyve/ehh/freebsd/sys/dev/virtio/mmio/virtio_mmio.h:36:15: > error: a parameter list without types is only allowed in a function > definition > DECLARE_CLASS(vtmmio_driver); > ^ > /root/bhyve/ehh/freebsd/sys/dev/virtio/mmio/virtio_mmio.h:41:2: error: > unknown type name 'device_t' > device_t dev; > ^ > /root/bhyve/ehh/freebsd/sys/dev/virtio/mmio/virtio_mmio.h:42:2: error: > unknown type name 'device_t' > device_t platform; > ^ > /root/bhyve/ehh/freebsd/sys/dev/virtio/mmio/virtio_mmio.h:49:2: error: > unknown type name 'device_t' > device_t vtmmio_child_dev; > ^ > /root/bhyve/ehh/freebsd/sys/dev/virtio/mmio/virtio_mmio.h:57:19: > error: a parameter list without types is only allowed in a function > definition > int vtmmio_attach(device_t); > ^ > ``` > > Both builds were done on freshly installed FreeBSD 13.0 / amd64. I can > supply full logs if anybody wants to take a look at them. > > * Using supplied build scripts from bhyvearm64-utils gives the same results. Hello, You didn't mention where you got the code from. I assume it's the one at https://github.com/FreeBSD-UPB/freebsd/tree/projects/bhyvearm64-refactor. I'll try building it on my side to see why you're getting those errors. All the best, Darius