i386 compilation errors in head/sys/dev/ixl/if_ixl.c

Bjoern A. Zeeb bz at FreeBSD.org
Fri Aug 29 14:02:40 UTC 2014

On 29 Aug 2014, at 13:33 , David Wolfskill <david at catwhisker.org> wrote:

> On Fri, Aug 29, 2014 at 12:55:40PM +0000, Bjoern A. Zeeb wrote:
>> On 29 Aug 2014, at 12:02 , Steven Hartland <killing at multiplay.co.uk> wrote:
>>> Looks like this was already fixed by:
>>> http://svnweb.freebsd.org/changeset/base/270799
>> Yes, just before I closed the bugreport.
>> There?s a few more follow-up commits that (if I didn?t screw up) should make things at least compile now.  To which extends some things work I have no idea.
>> ....
> Err....  I think I'm seeing this (or a related) problem @r270799:
>>>> Kernel build for CANARY started on Fri Aug 29 06:17:52 PDT 2014
> ..ll_subdir_ixlv ---
> --- if_ixlv.o ---
> clang -O2 -pipe  -DSMP -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /common/S4/obj/usr/src/sys/CANARY/opt_global.h -I. -I@ -I@/contrib/altq -fno-common -g -I/common/S4/obj/usr/src/sys/CANARY  -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Qunused-arguments -std=iso9899:1999 -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 -Wno-error-unused-function  -mno-aes -mno-avx -Qunused-arguments -c /usr/src/sys/modules/ixlv/../../dev/ixl/if_ixlv.c
> --- all_subdir_ixl ---
> /usr/src/sys/modules/ixl/../../dev/ixl/i40e_osdep.c:66:1: error: conflicting types for 'i40e_allocate_dma'
> i40e_allocate_dma(struct i40e_hw *hw, struct i40e_dma_mem *dma,
> ^
> /usr/src/sys/modules/ixl/../../dev/ixl/i40e_alloc.h:54:23: note: previous declaration is here
> enum i40e_status_code i40e_allocate_dma_mem(struct i40e_hw *hw,
>                      ^
> /usr/src/sys/modules/ixl/../../dev/ixl/i40e_osdep.h:169:51: note: expanded from macro 'i40e_allocate_dma_mem'
> #define i40e_allocate_dma_mem(h, m, unused, s, a) i40e_allocate_dma(h, m, s, a)

svn update;  that was fixed

There is one more on powerpc and then a couple of unrelated infiband changes

Bjoern A. Zeeb             "Come on. Learn, goddamn it.", WarGames, 1983

More information about the freebsd-current mailing list