Date: Fri, 03 Jul 2015 12:58:48 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Dmitry Morozovsky <marck@rinet.ru>, freebsd-stable@FreeBSD.org Subject: Re: OFED on stable/9 is not buildable at least on stable/10 Message-ID: <55966AE8.5050204@selasky.org> In-Reply-To: <alpine.BSF.2.00.1507031308520.99971@woozle.rinet.ru> References: <alpine.BSF.2.00.1507031308520.99971@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/03/15 12:13, Dmitry Morozovsky wrote: > Dear colleagues, > > on stable/10 trying to buildkernel with ALL_MODULES chokes at OFED (actually, > for quite a few months already): > > marck@castor:/FreeBSD/pristine/src.9> make -DNO_CLEAN buildkernel > __MAKE_CONF=/dev/null SRCCONF=/dev/null KERNCONF=GENERIC ALL_MODULES= > > cc1: warnings being treated as errors > /FreeBSD/pristine/src.9/sys/modules/ipoib/../../ofed/include/linux/linux_compat.c: > In function 'kvasprintf': > /FreeBSD/pristine/src.9/sys/modules/ipoib/../../ofed/include/linux/device.h:420: > warning: function 'kvasprintf' can never be inlined because it uses variable > argument lists [-Winline] > *** [linux_compat.o] Error code 1 > ctfconvert -L VERSION -g linux_radix.o > > Could you please take a look at this? > Hi, I think if you use clang to build this compile problem will not happen. Anyhow, I'll make a fix for it. It is simply about declaring the function externally. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55966AE8.5050204>