OFED on stable/9 is not buildable at least on stable/10

Hans Petter Selasky hps at selasky.org
Fri Jul 3 10:57:49 UTC 2015


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 at 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


More information about the freebsd-stable mailing list