Bug 161110

Summary: /usr/src/sys/arm/include/signal.h is bad
Product: Base System Reporter: Naoyuki Tai <ntai>
Component: armAssignee: freebsd-arm (Nobody) <freebsd-arm>
Status: Closed FIXED    
Severity: Affects Only Me CC: ian
Priority: Normal    
Version: 8.2-RELEASE   
Hardware: Any   
OS: Any   

Description Naoyuki Tai 2011-09-28 22:40:06 UTC
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.

Fix: 

I could imagine that, similar to sparc64, it needs a dummy member field in the sigcontex, but I'm not an export.
How-To-Repeat: Compile a program with cc and the source code includes
#include <machine/sginal.h>
Comment 1 Ian Lepore freebsd_committer freebsd_triage 2014-07-26 04:21:16 UTC
Fix was committed in r248153 on 2013-03-11