From owner-freebsd-current@FreeBSD.ORG Mon Jan 30 23:11:27 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1E89106566C for ; Mon, 30 Jan 2012 23:11:27 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from glenbarber.us (onyx.glenbarber.us [199.48.134.227]) by mx1.freebsd.org (Postfix) with SMTP id 98B088FC0A for ; Mon, 30 Jan 2012 23:11:27 +0000 (UTC) Received: (qmail 57682 invoked by uid 0); 30 Jan 2012 18:11:26 -0500 Received: from unknown (HELO glenbarber.us) (75.146.225.65) by 0 with SMTP; 30 Jan 2012 18:11:26 -0500 Date: Mon, 30 Jan 2012 18:11:25 -0500 From: Glen Barber To: "O. Hartmann" Message-ID: <20120130231125.GC2315@glenbarber.us> References: <4F271FF4.9010103@zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F271FF4.9010103@zedat.fu-berlin.de> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Current FreeBSD Subject: Re: FreeBSD 10-CURRENT/amd64: revision 230789: [...] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2012 23:11:27 -0000 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