bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash 3.1 pl1 and later on IRIX 5.3


From: Georg Schwarz
Subject: bash 3.1 pl1 and later on IRIX 5.3
Date: Mon, 17 Apr 2006 00:04:22 +0200

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/
georg.schwarz@freenet.de  +49 178 8545053







reply via email to

[Prev in Thread] Current Thread [Next in Thread]