bug-bison
[Top][All Lists]
Advanced

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

[GNU Bison 2.0] testsuite: 44 45 88 89 90 91 92 93 114 failed


From: Ralf Menzel
Subject: [GNU Bison 2.0] testsuite: 44 45 88 89 90 91 92 93 114 failed
Date: Wed, 11 May 2005 16:23:05 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Reasonable Discussion, usg-unix-v)

Hi,

I ran the testsuite for bison 2.0 that I compiled with gcc 4.0.0. 
Looking at testsuite.log, it seems to me that the C++ compiler is not
invoked with the required linker flags to find the necessary
libraries. To test this assumption I applied the following patch:

--- snip ---
diff -ru bison-2.0/tests/local.at bison-2.0-patched/tests/local.at
--- bison-2.0/tests/local.at    2004-05-30 02:56:56.000000000 +0200
+++ bison-2.0-patched/tests/local.at    2005-05-11 13:36:53.512403000 +0200
@@ -179,7 +179,7 @@
 m4_define([AT_COMPILE_CXX],
 [AT_KEYWORDS(c++)
 AT_CHECK([$BISON_CXX_WORKS], 0, ignore, ignore)
-AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS m4_default([$2], [$1.cc]) -o $1],
+AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS m4_default([$2], [$1.cc]) -o $1],
          0, [ignore], [ignore])])
 
 

--- snip ---

After running config.status the test suited resulted in:

--- snip ---
## ------------- ##
## Test results. ##
## ------------- ##

120 tests were successful.
7 tests were skipped.
--- snip ---

Bye,
Ralf Menzel

Attachment: testsuite.log
Description: testsuite.log


reply via email to

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