bug-bison
[Top][All Lists]
Advanced

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

Re: [GNU Bison 2.4.2] testsuite: Failing tests of bison 2.4.2 on Solaris


From: Joel E. Denny
Subject: Re: [GNU Bison 2.4.2] testsuite: Failing tests of bison 2.4.2 on Solaris 8+9 w/Sun Studio 11+12
Date: Sat, 10 Apr 2010 18:22:31 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

Hi Dago,

On Wed, 31 Mar 2010, Dagobert Michelsen wrote:

> Am 31.03.2010 um 19:01 schrieb Joel E. Denny:
> > > Sure. Want the login now? ;-) There are lots of other
> > > GNU projects already testing Solaris compatibility on the
> > > farm:
> > > <http://www-mockup.opencsw.org/extend-it/signup/to-upstream-maintainers/>
> > > (mockup will become the new website soon).
> > 
> > Yes, thanks.  Should I sign up there, or are you planning to send more
> > info?
> 
> Just send me your intended user name and your ssh public key and
> I'll set up your account.

Thanks for the report, and thanks for the account.  The following patch 
fixes the problem.  I have tested it on your Solaris 9 SPARC system, 
current9s.  I pushed it to branch-2.4.3, branch-2.5, and master.

Also, I have just removed bison-2.4.2.3-cf80e.tar.gz from GNU's alpha 
server.

>From 4333ba11c65f428040d54820b6d4c6aa663944d2 Mon Sep 17 00:00:00 2001
From: Joel E. Denny <address@hidden>
Date: Sat, 10 Apr 2010 17:37:27 -0400
Subject: [PATCH] tests: fix for newer Sun Studio C++.

Reported by Dagobert Michelsen at
<http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00023.html>.
* THANKS (Dagobert Michelsen): Add.
* configure.ac (AC_PREREQ): Set to 2.64 so we get the latest
Autoconf macro for handling the restrict keyword.
* gnulib: Update to latest, which no longer overrides that macro
from Autoconf.
---
 ChangeLog    |   11 +++++++++++
 THANKS       |    1 +
 configure.ac |    6 ++++--
 gnulib       |    2 +-
 4 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ec42c73..89b7a63 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-04-10  Joel E. Denny  <address@hidden>
+
+       tests: fix for newer Sun Studio C++.
+       Reported by Dagobert Michelsen at
+       <http://lists.gnu.org/archive/html/bug-bison/2010-03/msg00023.html>.
+       * THANKS (Dagobert Michelsen): Add.
+       * configure.ac (AC_PREREQ): Set to 2.64 so we get the latest
+       Autoconf macro for handling the restrict keyword.
+       * gnulib: Update to latest, which no longer overrides that macro
+       from Autoconf.
+
 2010-04-03  Joel E. Denny  <address@hidden>
 
        portability: fix pointer arithmetic to conform to C standard.
diff --git a/THANKS b/THANKS
index 6a28713..6efa2ef 100644
--- a/THANKS
+++ b/THANKS
@@ -24,6 +24,7 @@ Christian Burger          address@hidden
 Cris Bailiff              address@hidden
 Cris van Pelt             address@hidden
 Csaba Raduly              address@hidden
+Dagobert Michelsen        address@hidden
 Daniel Hagerty            address@hidden
 David J. MacKenzie        address@hidden
 Derek M. Jones            address@hidden
diff --git a/configure.ac b/configure.ac
index 3caf935..8830b25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,8 +15,10 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# We have strange test case titles, so we need Autoconf 2.61 or better.
-AC_PREREQ(2.61)
+# In order for some versions of Sun Studio to compile our C++ test cases
+# correctly, we need Autoconf 2.64 or better to handle the restrict
+# keyword in at least string.h from gnulib.
+AC_PREREQ(2.64)
 
 AC_INIT([GNU Bison],
         m4_esyscmd([build-aux/git-version-gen .tarball-version]),
diff --git a/gnulib b/gnulib
index 7bacd33..1778ee9 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 7bacd338464a463f3ba0c14effd86b71ce3672b4
+Subproject commit 1778ee9e7d0e150a37db66a0e51c1a56755aab4f
-- 
1.5.4.3





reply via email to

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