uname output: IRIX64 indigo2 6.5 10070055 IP26
Machine Type: mips-sgi-irix6.5
Bash Version: 4.3
Patch Level: 39
Release Status: release
Description:
Bash 4.3.39 does not compile due to wrong signal.h handling i sig.h
Repeat-By:
normal configure, make, make install with the following options:
In file included from quit.h:24:0,
from shell.h:33,
from general.c:41:
sig.h:111:1: error: unknown type name 'sig_atomic_t'
sig.h:112:1: error: unknown type name 'sig_atomic_t'
In file included from shell.h:33:0,
from general.c:41:
quit.h:27:1: error: unknown type name 'sig_atomic_t'
quit.h:28:1: error: unknown type name 'sig_atomic_t'
Makefile:97: recipe for target 'general.o' failed
gmake: *** [general.o] Error 1
there are also some more warnings during the build, which are fixed by
the attached patch:
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"mips"'
-DCONF_OSTYPE='"irix6.5"' -DCONF_MACHTYPE='"mips-sgi-irix6.5"'
-DCONF_VENDOR='"sgi"' -DLOCALEDIR='"/usr/share/locale"'
-DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include
-I./lib -mabi=64 -Ofast -mips4 -mtune=r8000 -c pcomplete.c
pcomplete.c: In function 'pcomp_filename_completion_function':
pcomplete.c:781:9: warning: passing argument 1 of 'sh_contains_quotes'
discards 'const' qualifier from pointer target type [enabled by default]
In file included from shell.h:42:0,
from pcomplete.c:46:
externs.h:327:12: note: expected 'char *' but argument is of type 'const
char *'
evalstring.c:208:3: warning: passing argument 1 of 'sigemptyset'
discards 'volatile' qualifier from pointer target type [enabled by default]
In file included from /usr/include/signal.h:4:0,
from evalstring.c:31:
/usr/include/internal/signal_core.h:142:12: note: expected 'struct
sigset_t *' but argument is of type 'volatile struct sigset_t *'
evalstring.c:209:3: warning: passing argument 3 of 'sigprocmask'
discards 'volatile' qualifier from pointer target type [enabled by default]
In file included from /usr/include/signal.h:4:0,
from evalstring.c:31:
/usr/include/internal/signal_core.h:138:12: note: expected 'struct
sigset_t *' but argument is of type 'volatile struct sigset_t *'
evalstring.c:288:5: warning: passing argument 2 of 'sigprocmask'
discards 'volatile' qualifier from pointer target type [enabled by default]
In file included from /usr/include/signal.h:4:0,
from evalstring.c:31:
/usr/include/internal/signal_core.h:138:12: note: expected 'const struct
sigset_t *' but argument is of type 'volatile struct sigset_t *'
evalstring.c: In function 'parse_string':
evalstring.c:460:3: warning: passing argument 1 of 'sigemptyset'
discards 'volatile' qualifier from pointer target type [enabled by default]
In file included from /usr/include/signal.h:4:0,
from evalstring.c:31:
/usr/include/internal/signal_core.h:142:12: note: expected 'struct
sigset_t *' but argument is of type 'volatile struct sigset_t *'
evalstring.c:461:3: warning: passing argument 3 of 'sigprocmask'
discards 'volatile' qualifier from pointer target type [enabled by default]
In file included from /usr/include/signal.h:4:0,
from evalstring.c:31:
/usr/include/internal/signal_core.h:138:12: note: expected 'struct
sigset_t *' but argument is of type 'volatile struct sigset_t *'
evalstring.c:513:8: warning: passing argument 2 of 'sigprocmask'
discards 'volatile' qualifier from pointer target type [enabled by default]
In file included from /usr/include/signal.h:4:0,
from evalstring.c:31:
/usr/include/internal/signal_core.h:138:12: note: expected 'const struct
sigset_t *' but argument is of type 'volatile struct sigset_t *'