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
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to