Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 18:11:25 -0500
From:      Glen Barber <gjb@FreeBSD.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        Current FreeBSD <freebsd-current@freebsd.org>
Subject:   Re: FreeBSD 10-CURRENT/amd64: revision 230789: [...]
Message-ID:  <20120130231125.GC2315@glenbarber.us>
In-Reply-To: <4F271FF4.9010103@zedat.fu-berlin.de>
References:  <4F271FF4.9010103@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 30, 2012 at 11:55:48PM +0100, O. Hartmann wrote:
> The follwoing error occurs hwen trying to compile a kernel (make
> buildworld works fine):
> 
> objcopy --strip-debug if_ixgb.ko
> ===> ixgbe (all)
> clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -pipe -O3
> -fno-strict-aliasing -march=native -DSMP -DIXGBE_FDIR -D_KERNEL
> -DKLD_MODULE -nostdinc  -I/usr/src/sys/modules/ixgbe/../../dev/ixgbe
> -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/THOR/opt_global.h -I. -I@ -I@/contrib/altq
> -fno-common  -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/THOR
> -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
> -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 -c
> /usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe.c
> In file included from /usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe.c:40:
> In file included from /usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe.h:96:
> In file included from
> /usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_api.h:38:
> In file included from
> /usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_type.h:38:
> /usr/src/sys/modules/ixgbe/../../dev/ixgbe/ixgbe_osdep.h:109:19: error:
> typedef redefinition with different types ('boolean_t' (aka 'int') vs
> '_Bool')
> typedef boolean_t       bool;
>                         ^
> @/sys/types.h:271:15: note: previous definition is here
> typedef _Bool   bool;
>                 ^
> 1 error generated.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules/ixgbe.
> *** Error code 1
> 
> Stop in /usr/src/sys/modules.
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/THOR.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 

I believe this was just fixed:

http://svn.freebsd.org/changeset/base/230790

Glen




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120130231125.GC2315>