Dmitry Morozovsky
2015-Jul-03 10:13 UTC
OFED on stable/9 is not buildable at least on stable/10
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? -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck at FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru *** ------------------------------------------------------------------------
Hans Petter Selasky
2015-Jul-03 10:58 UTC
OFED on stable/9 is not buildable at least on stable/10
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
Hans Petter Selasky
2015-Jul-03 11:18 UTC
OFED on stable/9 is not buildable at least on stable/10
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): >> > Could you please take a look at this? >Hi, Does this patch fix the problem for you: https://svnweb.freebsd.org/changeset/base/285088 --HPS