bug-bison
[Top][All Lists]
Advanced

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

Re: A few bugs on Bison 2.0 on prtetty old Sun OS 4.1.4


From: Peter Klein
Subject: Re: A few bugs on Bison 2.0 on prtetty old Sun OS 4.1.4
Date: Thu, 29 Sep 2005 19:00:51 +0200 (CEST)

Hi Paul,

thanx for taking into account my suggestions!

Today I took the beast.

Two things:

The make check fails, due to insufficient swap space
(disk misconfiguration on my side).

The m4 ist gnu m4 1.4.2 (see end of log file).

The enclosures contain:

 - typescript.gz: A log of all the configuration, compilation and test (trail)
 - config.log.gz: The config.log
 
 Hope that helps!

>
>Peter Klein <address@hidden> writes:
>
>> enclosed I send you the man page for strtol (see attachement).
>
>Ah.  Apparently I misunderstood you.  I thought you said SunOS 4.1.4
>had strtoul but lacked strtol.  But it appears that the reverse is
>true, and that it has strtol but it does not have strtoul.  Is that
>correct?
>
Absolutely right!

>>>>>#ifdef sunos4
>>>>>static char *
>>>>>private_strerror (int errnum)
>>>
>>>Instead of doing this, I'd rather leave the mainstream code alone, and
>>>add the gnulib strerror module (which implements strerror).
>>
>> The result seams to be the same!
>
>Sorry, I don't understand what you mean.
>
Well! I don't mint the way, how it is done!
If it is finally working that's fine!
And I agree, my hack was an awfull one :-)

>
>Could you please try this test snapshot?
>
>http://www.cs.ucla.edu/~eggert/bison/bison-2.1a_sunos4.1.4test.tar.gz
>
done!

>It addresses the issues you raised, but I can't test whether my fixes
>suffice for SunOS 4.1.4.  Please make sure you have a working version
>of GNU m4 1.4.3 in your PATH, and then unpack the above-mentioned
>distribution and type these commands:
>
M4 is version 1.4.2, but there was no problem detected!


>cd bison-2.1a
>./configure
>make
>make check
>
>and email the output to <address@hidden>.  The sooner the better,
>since we want to generate a new release soon.  Thanks.
>
Done!

If youd like to get additional infos or if you want me to
test other OS (SUN 32bit: Solaris8, OpenBSD 3.4, Open BSD 3.6
SUN 64 bit: Solaris8, Solaris9, OpenBSD3.4, Open BSD 3.6)
let me know!

>For the record, here are the changes embodied in this test snapshot.
>I haven't checked them in.
>
looks pretty fine!


>Index: bootstrap
>===================================================================
>RCS file: /cvsroot/bison/bison/bootstrap,v
>retrieving revision 1.28
>diff -p -u -r1.28 bootstrap
>--- bootstrap  27 Sep 2005 06:08:27 -0000      1.28
>+++ bootstrap  27 Sep 2005 06:21:22 -0000
>@@ -108,6 +108,8 @@ quotearg
> stdbool
> stdio-safer
> stpcpy
>+strerror
>+strtoul
> unistd-safer
> verify
> xalloc
>Index: lib/.cvsignore
>===================================================================
>RCS file: /cvsroot/bison/bison/lib/.cvsignore,v
>retrieving revision 1.16
>diff -p -u -r1.16 .cvsignore
>--- lib/.cvsignore     27 Sep 2005 06:08:27 -0000      1.16
>+++ lib/.cvsignore     27 Sep 2005 06:21:22 -0000
>@@ -46,11 +46,14 @@ stpcpy.c
> stpcpy.h
> strdup.c
> strdup.h
>+strerror.c
> stripslash.c
> strndup.c
> strndup.h
> strnlen.c
> strnlen.h
>+strtol.c
>+strtoul.c
> unistd--.h
> unistd-safer.h
> unlocked-io.h
>Index: m4/.cvsignore
>===================================================================
>RCS file: /cvsroot/bison/bison/m4/.cvsignore,v
>retrieving revision 1.13
>diff -p -u -r1.13 .cvsignore
>--- m4/.cvsignore      22 Aug 2005 06:38:59 -0000      1.13
>+++ m4/.cvsignore      27 Sep 2005 06:21:22 -0000
>@@ -24,9 +24,12 @@ stdbool.m4
> stdio-safer.m4
> stpcpy.m4
> strdup.m4
>+strerror.m4
> strerror_r.m4
> strndup.m4
> strnlen.m4
>+strtol.m4
>+strtoul.m4
> unistd-safer.m4
> unlocked-io.m4
> xalloc.m4
>


Kind Regards from Germany

Peter Klein

Attachment: typescript.gz
Description: typescript.gz

Attachment: config.log.gz
Description: config.log.gz


reply via email to

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