Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2016 22:34:09 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Ian Lepore <ian@freebsd.org>
Cc:        "O. Hartmann" <o.hartmann@walstatt.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>, Ed Maste <emaste@freebsd.org>
Subject:   Re: emulators/qemu: qemu ports failing due to compiler error on 12-CURRENT
Message-ID:  <4CA179F7-4B73-4E74-819F-DED17CEBE524@FreeBSD.org>
In-Reply-To: <1483046691.16152.67.camel@freebsd.org>
References:  <20161207104203.7c9524a3@thor.walstatt.dynvpn.de> <782FAC01-9A7C-438F-912C-831628A08E63@FreeBSD.org> <20161229172949.48792b29@thor.walstatt.dynvpn.de> <F84C2E65-8402-49E4-A0EF-173C045CD753@FreeBSD.org> <20161229211738.54f9beae@thor.walstatt.dynvpn.de> <1483046691.16152.67.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ian@freebsd.org> wrote:
> 
> On Thu, 2016-12-29 at 21:17 +0100, O. Hartmann wrote:
>> Am Thu, 29 Dec 2016 20:26:32 +0100
>> Dimitry Andric <dim@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA179F7-4B73-4E74-819F-DED17CEBE524>