[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.75 test suite failures with Sun C compiler
From: |
Albert Chin-A-Young |
Subject: |
Re: 1.75 test suite failures with Sun C compiler |
Date: |
Wed, 13 Nov 2002 14:48:42 -0600 |
User-agent: |
Mutt/1.2.5i |
On Tue, Nov 12, 2002 at 04:05:45PM +0100, Akim Demaille wrote:
> >>>>> "Albert" == Albert Chin-A-Young <address@hidden> writes:
>
> Albert> On Tue, Nov 12, 2002 at 11:32:33AM +0100, Akim Demaille wrote:
> >> >>>>> "Albert" == Albert Chin-A-Young <address@hidden>
> >> writes:
> >>
> Albert> With the Sun C compiler, I get the following testsuite
> Albert> failures on Solaris 2.5.1, 2.6, 7, 8, and 9/SPARC:
> >> Thanks Albert, this is fixed now.
>
> Albert> Can you send me the patch? Or should we just wait for the next
> Albert> version of bison?
>
> Well, please try the version below, but I don't know if my ISP works
> properly :*(
>
> We know that test 42 fails.
>
> http://www.lrde.epita.fr/~akim/download/bison-1.75b.tar.gz
Ok, this fixes the initial problem. However, a few more have cropped
up:
(Solaris 2.5.1)
103: glr-regr1.at:21 FAILED near `glr-regr1.at:95'
103. glr-regr1.at:21: testing Badly Collapsed GLR States...
glr-regr1.at:94: bison -o glr-regr1.c glr-regr1.y
glr-regr1.at:95: $CC $CFLAGS $CPPFLAGS glr-regr1.c -o glr-regr1
stderr:
"glr-regr1.y", line 5: warning: tokens ignored at end of directive line
"glr-regr1.y", line 61: syntax error before or at: /
"glr-regr1.y", line 61: newline in character constant
"glr-regr1.y", line 61: warning: character constant too long
cc: acomp failed for glr-regr1.c
glr-regr1.at:95: exit code was 2, expected 0
103. glr-regr1.at:21: FAILED near `glr-regr1.at:95'
[Problem is probably because you're using // as the comment for a C
source file.]
(HP-UX 10.20, 11.00, 11i)
4: input.at:93 FAILED near `input.at:207'
38: headers.at:81 FAILED near `headers.at:126'
4. input.at:93: testing Torturing the Scanner...
input.at:206: bison -d -v -o input.c input.y
input.at:207: $CC $CFLAGS $CPPFLAGS input.c main.c -o input
stderr:
cpp: "input.y", line 96: error 4033: Missing #endif at end of file.
0a1,2
> input.c:
> main.c:
input.at:207: exit code was 1, expected 0
4. input.at:93: FAILED near `input.at:207'
38. headers.at:81: testing export YYLTYPE...
headers.at:108: bison --defines -o input.c input.y
headers.at:126: $CC $CFLAGS $CPPFLAGS caller.c input.c -o caller
stderr:
0a1,2
> caller.c:
> input.c:
38. headers.at:81: FAILED near `headers.at:126'
(AIX 4.3.2)
gmake[3]: Entering directory `/opt/build/bison-1.75b/src'
xlc -DHAVE_CONFIG_H -DPKGDATADIR=\"/opt/TWWfsw/bison17/share/bison\"
-DLOCALEDIR=\"/opt/TWWfsw/bison17/share/locale\" -I. -I. -I.. -I..
-I../lib -I/opt/TWWfsw/gettext011/include
-I/opt/TWWfsw/libiconv18/include -O2 -qmaxmem=-1 -qarch=com -c `test
-f 'LR0.c' || echo './'`LR0.c
"struniq.h", line 31.17: 1506-120 (S) Function cannot return a const
qualified type.
[The problem here is that in struniq.h:
typedef const char *struniq_t;
const struniq_t struniq_new (const char *s);
How about just replacing the prototype with:
struniq_t struniq_new (const char *s);]
There are other AIX testsuite failures which I'll email later.
--
albert chin (address@hidden)
- 1.75 test suite failures with Sun C compiler, Albert Chin-A-Young, 2002/11/11
- Re: 1.75 test suite failures with Sun C compiler, Akim Demaille, 2002/11/12
- Re: 1.75 test suite failures with Sun C compiler, Albert Chin-A-Young, 2002/11/12
- Re: 1.75 test suite failures with Sun C compiler, Akim Demaille, 2002/11/12
- Re: 1.75 test suite failures with Sun C compiler,
Albert Chin-A-Young <=
- Re: 1.75 test suite failures with Sun C compiler, Paul Eggert, 2002/11/13
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Paul Eggert, 2002/11/13
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Paul Eggert, 2002/11/13
- Re: 1.75 test suite failures with AIX 4.3.2, Paul Eggert, 2002/11/13
- Message not available
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Albert Chin-A-Young, 2002/11/13
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Paul Eggert, 2002/11/13
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Akim Demaille, 2002/11/14
- Message not available
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Albert Chin-A-Young, 2002/11/13
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Paul Eggert, 2002/11/13
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Akim Demaille, 2002/11/14