build failure on sparc: proc/sig.c:97:14: error: ‘SIGLOST’ undeclared here (not in a function)
Commit bd72ba3a seems to break compilation on sparc linux. My 3.3.14 build fails unless I revert that specific commit.
sparc-unknown-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -include ./config.h -I. -I./include -DLOCALEDIR=\"/usr/share/locale\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Iproc -O2 -mcpu=ultrasparc -pipe -c -o top/top.o top/top.c
In file included from /usr/include/signal.h:30:0,
from proc/sig.c:21:
proc/sig.c:97:14: error: ‘SIGLOST’ undeclared here (not in a function)
{"PWR", SIGPWR},
^
proc/sig.c:124:44: error: size of array ‘static_assert_on_line_128’ is negative
#define STATIC_ASSERT(x) typedef int XJOIN(static_assert_on_line_,__LINE__)[(x) ? 1 : -1]
^
Edited by Craig Small