Dear developers,

bash 3.1 pl1 (and later patch levels) ends up like this on IRIX 5.3:


cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"mips"' - DCONF_OSTYPE='"irix5.3"' -DCONF_MACHTYPE='"mips-sgi-irix5.3"' - DCONF_VENDOR='"sgi"' -DLOCALEDIR='"/usr/local/pkg/share/locale"' - DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./ lib -I/usr/local/pkg/include -g -c y.tab.c cfe: Warning 608: ./include/shmbutil.h: 51: Undefined the ANSI standard library defined macro MB_LEN_MAX cfe: Warning 608: ./include/shmbutil.h: 52: Undefined the ANSI standard library defined macro MB_CUR_MAX
cfe: Error: /usr/include/malloc.h, line 121: Syntax Error
extern void sh_xfree((void *), "/usr/include/malloc.h", 121) ;
-----------            ---------^
cfe: Warning 625: /usr/include/malloc.h, line 121: Empty declaration
extern void sh_xfree((void *), "/usr/include/malloc.h", 121) ; ----------- -------------------------------------------------^
gmake: *** [y.tab.o] Error 1

Manually removing #include <malloc.h> from y.tab.c (created during compiling) works around the problem.

bash 3.1 without further patches compiles OK.

The problem introduced by patch bash31-001 does not occur when using GNU bison instead of IRIX 5.3's yacc.

If there's anything I can do to further help you track down the issue please do not hesitate to let me know.

Georg


--
Georg Schwarz    http://home.pages.de/~schwarz/
[EMAIL PROTECTED]  +49 178 8545053





_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to