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

From: David Wolfskill <david_at_catwhisker.org>
Date: Fri, 29 Aug 2014 06:33:28 -0700
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 _at_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_at_ -I_at_/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)
                                                  ^
1 error generated.
*** [i40e_osdep.o] Error code 1

make[4]: stopped in /usr/src/sys/modules/ixl
--- all_subdir_ixgbe ---
--- ixgbe_common.o ---
ctfconvert -L VERSION -g ixgbe_common.o
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/src/sys/modules/ixgbe
*** [all_subdir_ixgbe] Error code 2

make[3]: stopped in /usr/src/sys/modules
--- all_subdir_ixlv ---
ctfconvert -L VERSION -g if_ixlv.o
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/src/sys/modules/ixlv
*** [all_subdir_ixlv] Error code 2

make[3]: stopped in /usr/src/sys/modules
--- all_subdir_ixl ---
--- if_ixl.o ---
ctfconvert -L VERSION -g if_ixl.o
1 error

make[4]: stopped in /usr/src/sys/modules/ixl
*** [all_subdir_ixl] Error code 2

make[3]: stopped in /usr/src/sys/modules
3 errors

make[3]: stopped in /usr/src/sys/modules
*** [modules-all] Error code 2

make[2]: stopped in /common/S4/obj/usr/src/sys/CANARY
1 error

make[2]: stopped in /common/S4/obj/usr/src/sys/CANARY
*** [buildkernel] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildkernel] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src
.
>>> stage 3.2: building everything
...


Running:
FreeBSD g1-235.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1354  r270745M/270748:1100029: Thu Aug 28 06:35:04 PDT 2014     root_at_g1-235.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  i386

with sources:
g1-235(11.0-C)[1] svn info /usr/src
Path: /usr/src
Working Copy Root Path: /usr/src
URL: file:///svn/freebsd/src/base/head
Relative URL: ^/head
Repository Root: file:///svn/freebsd/src/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 270801
Node Kind: directory
Schedule: normal
Last Changed Author: bz
Last Changed Rev: 270799
Last Changed Date: 2014-08-29 02:37:18 -0700 (Fri, 29 Aug 2014)

g1-235(11.0-C)[2] 

(First encountered during my usual "-DNOCLEAN" build, so I tried
(just the kernnel) again without -DNOCLEAN; the latter is what I
quoted above.)

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Fri Aug 29 2014 - 11:33:31 UTC

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