Re: CURRENT BUILD FAILURE sys/modules/cxgbe

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Tue, 8 Oct 2013 00:26:45 +0200
On Oct 7, 2013, at 23:04, Outback Dingo <outbackdingo_at_gmail.com> wrote:
> On Mon, Oct 7, 2013 at 5:00 PM, Ian Lepore <ian_at_freebsd.org> wrote:
> 
>> On Mon, 2013-10-07 at 16:52 -0400, Outback Dingo wrote:
>>> cc  -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
>> -nostdinc
>>> -I/usr/src/sys/modules/cxgbe/if_cxgbe/../../../dev/cxgbe
>>> -DHAVE_KERNEL_OPTION_HEADERS -include
>>> /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I_at_ -I_at_/contrib/altq
>>> -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
>>> -I/usr/obj/usr/src/sys/GENERIC  -mno-aes -mno-avx -mcmodel=kernel
>>> -mno-red-zone -mno-mmx -mno-sse -msoft-float
>>> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
>>> -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall
>>> -Wredundant-decls -Wnested-externs -Wstrict-prototypes
>>> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
>>> -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
>>> -fdiagnostics-show-option  -Wno-error-tautological-compare
>>> -Wno-error-empty-body  -Wno-error-parentheses-equality  -c
>>> /usr/src/sys/modules/cxgbe/if_cxgbe/../../../dev/cxgbe/t4_sge.c
>>> /usr/src/sys/modules/cxgbe/if_cxgbe/../../../dev/cxgbe/t4_sge.c:228:12:
>>> error: use of undeclared identifier 'cpu_clflush_line_size'
>>>        pad = max(cpu_clflush_line_size, 16);
>>>                  ^
>>> /usr/src/sys/modules/cxgbe/if_cxgbe/../../../dev/cxgbe/t4_sge.c:273:9:
>>> error: use of undeclared identifier 'cpu_clflush_line_size'
>>>                len = cpu_clflush_line_size > 64 ? 128 : 64;
>>>                      ^
>>> 2 errors generated.
>> 
>> Fixed in r256118.
>> 
> 
> odd i show that commit in my svn log however, kernel build still fails


My bad, the fix for gcc I committed in r256118 does not work on amd64,
since the headers work differently there.  I will commit a fix ASAP.

-Dimitry


Received on Mon Oct 07 2013 - 20:26:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:42 UTC