From owner-freebsd-current@FreeBSD.ORG Tue Jul 9 15:32:38 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 339C3970 for ; Tue, 9 Jul 2013 15:32:38 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-bk0-x22b.google.com (mail-bk0-x22b.google.com [IPv6:2a00:1450:4008:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id BDD86184D for ; Tue, 9 Jul 2013 15:32:37 +0000 (UTC) Received: by mail-bk0-f43.google.com with SMTP id jm2so2443420bkc.16 for ; Tue, 09 Jul 2013 08:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:reply-to:x-mailer:mime-version :content-type:content-transfer-encoding; bh=IUKGJHpSgdqTvXKkkNw4I+JEKk2GM3/QW2f0GXpHFFo=; b=K7m92QmrqM5vtgRugKkvhV2BX7/ZePbBoi5dxz3pdY9Iu/5p61OplwykPMQcfQM/cE Gr9lTOS39kMnXbSd7iGwrM7Yg91r+7lYrjqwt7os2wG9pxBqg11Vhr8sK/g8GCOKdpi7 R+VQw1kAK43jiY7gcQUxzfU/1/yh9JxZ6+JRIdsV1F3EQOKYJOizC3WlqeMBzfhkze1Z cxHPJvh7MyFRnFp7OC4UBBa3znH7q0qVkVUnQOSJaLLfA1IObk2qpO+9aOzJq+ZCrOOQ BWuXp4nntEMHRjim6Md230EU0/c32lNGoyReBOMuf3vvEeN00qVQjOxQV5mHrlTgm6Fs ksbA== X-Received: by 10.204.228.76 with SMTP id jd12mr4268030bkb.133.1373383956788; Tue, 09 Jul 2013 08:32:36 -0700 (PDT) Received: from ernst.home (p4FCA7CCC.dip0.t-ipconnect.de. [79.202.124.204]) by mx.google.com with ESMTPSA id l11sm6020039bkk.13.2013.07.09.08.32.34 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 09 Jul 2013 08:32:35 -0700 (PDT) Date: Tue, 9 Jul 2013 17:32:33 +0200 From: Gary Jennejohn To: FreeBSD Current Subject: kernel compile broken in latest HEAD Message-ID: <20130709173233.275469b4@ernst.home> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2013 15:32:38 -0000 I just saw this breakage while compiling a kernel on HEAD updated minutes ago: -------------------------------------------------------------- >>> stage 3.2: building everything -------------------------------------------------------------- cc1: warnings being treated as errors In file included from /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:91: @/contrib/v4l/videodev2.h:430: warning: declaration does not declare anything @/contrib/v4l/videodev2.h:460: warning: declaration does not declare anything @/contrib/v4l/videodev2.h:837: warning: declaration does not declare anything @/contrib/v4l/videodev2.h:930: warning: declaration does not declare anything @/contrib/v4l/videodev2.h:1478: warning: declaration does not declare anything @/contrib/v4l/videodev2.h:1600: warning: declaration does not declare anything @/contrib/v4l/videodev2.h:1651: warning: declaration does not declare anything --- linux_ioctl.o --- *** [linux_ioctl.o] Error code 1 make: stopped in /usr/src/sys/modules/linux 1 error These line numbers all point at nameless unions. Seems to me that a union needs a name, otherwise one cannot access its contents. I simply named them all x to get the kernel to compile, which succeeded. It seems that none of these unions are used at the moment. -- Gary Jennejohn