From owner-freebsd-arm@FreeBSD.ORG Wed Sep 28 21:40:06 2011 Return-Path: Delivered-To: freebsd-arm@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9CAE1065676 for ; Wed, 28 Sep 2011 21:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AE8DC8FC13 for ; Wed, 28 Sep 2011 21:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8SLe6Cx091887 for ; Wed, 28 Sep 2011 21:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8SLe6Jn091886; Wed, 28 Sep 2011 21:40:06 GMT (envelope-from gnats) Resent-Date: Wed, 28 Sep 2011 21:40:06 GMT Resent-Message-Id: <201109282140.p8SLe6Jn091886@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-arm@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Naoyuki Tai Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08A071065674 for ; Wed, 28 Sep 2011 21:37:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id ECF648FC15 for ; Wed, 28 Sep 2011 21:37:07 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8SLb7B2082149 for ; Wed, 28 Sep 2011 21:37:07 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p8SLb7Hs082148; Wed, 28 Sep 2011 21:37:07 GMT (envelope-from nobody) Message-Id: <201109282137.p8SLb7Hs082148@red.freebsd.org> Date: Wed, 28 Sep 2011 21:37:07 GMT From: Naoyuki Tai To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: arm/161110: /usr/src/sys/arm/include/signal.h is bad X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 21:40:07 -0000 >Number: 161110 >Category: arm >Synopsis: /usr/src/sys/arm/include/signal.h is bad >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-arm >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 28 21:40:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Naoyuki Tai >Release: 8.2-RELEASE >Organization: >Environment: FreeBSD 8.2-RELEASE arm >Description: The header file arm/include/signal.h contains the sigcontext data structure with no fields. GCC does not like the empty struct, reports "syntax error" from the compiler, causing the build to fail. Because of this, sparc64's struct definition ( /usr/src/sys/sparc64/include/signal.h) contains one "_dummy" in it. >How-To-Repeat: Compile a program with cc and the source code includes #include >Fix: I could imagine that, similar to sparc64, it needs a dummy member field in the sigcontex, but I'm not an export. >Release-Note: >Audit-Trail: >Unformatted: