From owner-freebsd-current@FreeBSD.ORG Wed Jul 10 10:33:15 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8F29745D for ; Wed, 10 Jul 2013 10:33:15 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0FE6C11E5 for ; Wed, 10 Jul 2013 10:33:14 +0000 (UTC) Received: from outgoing.leidinger.net (pD9FBB33F.dip0.t-ipconnect.de [217.251.179.63]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 316CA84408D; Wed, 10 Jul 2013 12:32:59 +0200 (CEST) Received: from unknown (Titan.Leidinger.net [192.168.1.17]) by outgoing.leidinger.net (Postfix) with ESMTP id B30D5E12; Wed, 10 Jul 2013 12:32:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1373452376; bh=RvikkPA8o0mm7tTMlt3Xy11hofqXCszL0LW5xvvGWxw=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Iv7B5HqFR+ZzcSv6njQb+ZZRBst2u7zaTJrUbYiPvHvrKKdrcBb6etgi+zKCapmYA h/qJLKtgJCKn5UvnInadFCv3YtaKKOOZbup6orywFPQNTFoyb+I2nFCanz/swyLlki M5rIOoP/oL/0a6VBBXrAj2AU+mC+LCgBK/efjiJUQ0UB8VoQDQb0h6b8NZxHH8MNuC tnBNcIonI0moLlFJOzip4YdeiO7rIVcKLeMzAXAewpenEC7W+pIyaRKHWerTkTAz1G h4WgxSc1ni07JrxZX9Jz6FMjpIbRnwt6aXHmX8deCCWu5wSflfdppe9bFvMJGq9o/i 4nnlozeTfVB5A== Date: Wed, 10 Jul 2013 12:32:54 +0200 From: Alexander Leidinger To: Andreas Tobler Subject: Re: kernel compile broken in latest HEAD Message-ID: <20130710123254.00004266@unknown> In-Reply-To: <51DC750C.6090707@fgznet.ch> References: <20130709173233.275469b4@ernst.home> <20130709223356.000005ad@unknown> <51DC750C.6090707@fgznet.ch> X-Mailer: Claws Mail 3.9.1-2-g66aa06 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 316CA84408D.A1788 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.986, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL 0.12, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, T_RP_MATCHES_RCVD -0.01, URIBL_BLOCKED 0.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1374057180.59643@iOIHfWy+bX3mKpquN+f62w X-EBL-Spam-Status: No Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 10 Jul 2013 10:33:15 -0000 On Tue, 09 Jul 2013 22:39:40 +0200 Andreas Tobler wrote: > On 09.07.13 22:33, Alexander Leidinger wrote: > > Here's what I wrote as a reference: > > ---snip--- > > Does someone know what this is supposed to result in? > > > > I would assume as the unions are unnamed and no variable is declared > > inside the struct with it, that the size of the struct is the same > > as not having those unions inside the structs. > > > > If this is correct I would assume the correct fix would be to #if-0 > > them out. > > ---snip--- > > I did so and my kernelbuild is happy now. Yes, I do not use this > header at all. The linuxulator uses it for v4l2 compatibility. If you use skype, you use the header. The fix above is wrong (it changes the size of the structs with gcc and with clang). I will commit a fix in a few minutes. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137