CURRENT BUILD FAILURE sys/modules/cxgbe

Dimitry Andric dim at FreeBSD.org
Mon Oct 7 22:26:50 UTC 2013


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@ -I@/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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131008/68ec555c/attachment.sig>


More information about the freebsd-current mailing list