bug-bison
[Top][All Lists]
Advanced

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

Re: 1.75 test suite failures HP-UX C and "cc a.c b.c"


From: Paul Eggert
Subject: Re: 1.75 test suite failures HP-UX C and "cc a.c b.c"
Date: Wed, 13 Nov 2002 17:24:38 -0800

> From: Albert Chin-A-Young <address@hidden>
> Date: Wed, 13 Nov 2002 18:07:01 -0600

> >     cc -c caller.c -o caller.o
> >     cc -c input.c -o input.o
> >     cc caller.o input.o -o input
> 
> The above works fine.

Thanks.  I installed this patch:

2002-11-13  Paul Eggert  <address@hidden>

        * tests/input.at (Torturing the Scanner): Don't invoke "cc a.c b.c
        -o c"; the HP-UX 11i C compiler chatters during compilation.
        Instead, invoke "cc -c a.c -o a.o; cc -c b.c -o b.o; cc a.o b.o -o c".
        * tests/headers.at (export YYLTYPE): Likewise.

Index: tests/input.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/input.at,v
retrieving revision 1.18
diff -p -u -r1.18 input.at
--- tests/input.at      14 Nov 2002 00:26:45 -0000      1.18
+++ tests/input.at      14 Nov 2002 00:33:48 -0000
@@ -202,7 +202,9 @@ main (void)
 ]])
 
 AT_CHECK([bison -d -v -o input.c input.y])
-AT_COMPILE([input], [input.c main.c])
+AT_COMPILE([input.o], [-c input.c])
+AT_COMPILE([main.o], [-c main.c])
+AT_COMPILE([input], [input.o main.o])
 AT_PARSER_CHECK([./input], 0,
 [[[@<:@],
 ]])
Index: tests/headers.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/headers.at,v
retrieving revision 1.6
diff -p -u -r1.6 headers.at
--- tests/headers.at    14 Oct 2002 08:43:36 -0000      1.6
+++ tests/headers.at    14 Nov 2002 00:33:48 -0000
@@ -123,7 +123,9 @@ main (void)
 
 # Link and execute, just to make sure everything is fine (and in
 # particular, that MY_LLOC is indeed defined somewhere).
-AT_COMPILE([caller], [caller.c input.c])
+AT_COMPILE([caller.o], [-c caller.c])
+AT_COMPILE([input.o], [-c input.c])
+AT_COMPILE([caller], [caller.o input.o])
 AT_PARSER_CHECK([./caller])
 
 AT_CLEANUP




reply via email to

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