From owner-freebsd-stable@freebsd.org Fri Jul 3 10:57:49 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18A45993CB4 for ; Fri, 3 Jul 2015 10:57:49 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D14CB28E1 for ; Fri, 3 Jul 2015 10:57:48 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D849E1FE023; Fri, 3 Jul 2015 12:57:46 +0200 (CEST) Message-ID: <55966AE8.5050204@selasky.org> Date: Fri, 03 Jul 2015 12:58:48 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Dmitry Morozovsky , freebsd-stable@FreeBSD.org Subject: Re: OFED on stable/9 is not buildable at least on stable/10 References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 10:57:49 -0000 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