From owner-freebsd-current@freebsd.org Thu Dec 29 21:34:21 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D916C9659C; Thu, 29 Dec 2016 21:34:21 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C107B173D; Thu, 29 Dec 2016 21:34:20 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::7d0d:fedb:8b40:bd7f] (unknown [IPv6:2001:7b8:3a7:0:7d0d:fedb:8b40:bd7f]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id F198818ECD; Thu, 29 Dec 2016 22:34:16 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_56A9EB76-C03D-4975-B392-A3567A3AD86D"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: emulators/qemu: qemu ports failing due to compiler error on 12-CURRENT From: Dimitry Andric In-Reply-To: <1483046691.16152.67.camel@freebsd.org> Date: Thu, 29 Dec 2016 22:34:09 +0100 Cc: "O. Hartmann" , FreeBSD CURRENT , FreeBSD Ports , Ed Maste Message-Id: <4CA179F7-4B73-4E74-819F-DED17CEBE524@FreeBSD.org> References: <20161207104203.7c9524a3@thor.walstatt.dynvpn.de> <782FAC01-9A7C-438F-912C-831628A08E63@FreeBSD.org> <20161229172949.48792b29@thor.walstatt.dynvpn.de> <20161229211738.54f9beae@thor.walstatt.dynvpn.de> <1483046691.16152.67.camel@freebsd.org> To: Ian Lepore X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 29 Dec 2016 21:34:21 -0000 --Apple-Mail=_56A9EB76-C03D-4975-B392-A3567A3AD86D Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 On 29 Dec 2016, at 22:24, Ian Lepore wrote: > > On Thu, 2016-12-29 at 21:17 +0100, O. Hartmann wrote: >> Am Thu, 29 Dec 2016 20:26:32 +0100 >> Dimitry Andric schrieb: ... >>> Do you have some Linux rdma or infiniband headers or libraries >>> installed >>> into /usr or /usr/local? This might be the cause of the problems. >> No Linux, but I found these files on all of the boxes in question: >> >> locate rdma >> >> [...] >> /usr/include/rdma >> /usr/include/rdma/rdma_cma.h >> /usr/include/rdma/rdma_cma_abi.h >> /usr/lib/librdmacm.a >> /usr/lib/librdmacm.so >> /usr/lib/librdmacm.so.1 >> >> ll usr/include/rdma discovers: >> >> total 44 >> 322075 drwxr-xr-x 2 root wheel - 512B Oct 7 13:52 ./ >> 240768 drwxr-xr-x 55 root wheel - 6.5K Dec 29 19:14 ../ >> 324275 -r--r--r-- 1 root wheel - 21K Oct 7 13:52 rdma_cma.h >> 324276 -r--r--r-- 1 root wheel - 4.7K Oct 7 13:52 >> rdma_cma_abi.h ... > The rdma stuff is part of OFED, it comes from sys/ofed/include. Other > parts of it are in sys/contrib/rmda and src/contrib/ofed. Maybe it > only gets installed if you are using certain kernel options? I'm not > sure. Indeed, this turns out to be enabled by WITH_OFED. It then uses the Makefile in contrib/ofed/include/rdma to install headers, and the Makefile in contrib/ofed/usr.lib/librdmacm to install a library. Unfortunately the headers aren't compatible with the qemu requirements, so the port still needs to have --disable-rdma, in any case. -Dimitry --Apple-Mail=_56A9EB76-C03D-4975-B392-A3567A3AD86D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlhlgVgACgkQsF6jCi4glqOk7wCfZ51RPr2SfoL8sEpWXDLOf4Hp CI4An2FkwCOlgzScZvhs+wCgZKgMBR1D =Ldnk -----END PGP SIGNATURE----- --Apple-Mail=_56A9EB76-C03D-4975-B392-A3567A3AD86D--