bug-gnulib
[Top][All Lists]
Advanced

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

Re: next m4 snapshot [was: M4 1.4.14 on AIX 7.1BETA]


From: Rainer Tammer
Subject: Re: next m4 snapshot [was: M4 1.4.14 on AIX 7.1BETA]
Date: Fri, 30 Jul 2010 17:58:58 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100504 SeaMonkey/2.0.5

Hello,

Eric Blake wrote:
> On 07/29/2010 05:03 AM, Rainer Tammer wrote:
>   
>> Hello,
>> I now have tested M4 1.4.14 on AIX 7.1BETA. I have replaced
>> build-aux/config.guess with the new AIX 7.1 aware version.
>>     
> Now fixed in gnulib, and therefore in my current m4 snapshot:
>
> Grab m4-1.4.14.6-76d1 from http://people.redhat.com/eblake/m4/
>
> I'm hoping that all the strtod issues have been resolved, but nothing
> has been done on the regex issues, so that still remains something to
> resolve.
>
>   
Not quite... but it's getting better...

Test "0xg" case is fixed.

# ./test-strtod
test-strtod.c:435: assertion failed
  {
    const char input[] = "0xp";
    char *ptr;
    double result;
    errno = 0;
    result = strtod (input, &ptr);
    ASSERT (result == 0.0);
    ASSERT (!signbit (result));
    ASSERT (ptr == input + 1);  <-  fail
    ASSERT (errno == 0);
  }
(dbx) print ptr
""
(dbx) print *ptr
'\0'
(dbx) print input
"0xp"

test-strtod.c:446: assertion failed
  {
    const char input[] = "0x.";
    char *ptr;
    double result;
    errno = 0;
    result = strtod (input, &ptr);
    ASSERT (result == 0.0);
    ASSERT (!signbit (result));
    ASSERT (ptr == input + 1);  <- fail
    ASSERT (errno == 0);
  }

test-strtod.c:457: assertion failed
  {
    const char input[] = "0xp+";
    char *ptr;
    double result;
    errno = 0;
    result = strtod (input, &ptr);
    ASSERT (result == 0.0);
    ASSERT (!signbit (result));
    ASSERT (ptr == input + 1);  <- fail
    ASSERT (errno == 0);
  }

test-strtod.c:468: assertion failed
  {
    const char input[] = "0xp+1";
    char *ptr;
    double result;
    errno = 0;
    result = strtod (input, &ptr);
    ASSERT (result == 0.0);
    ASSERT (!signbit (result));
    ASSERT (ptr == input + 1);  <- fail
    ASSERT (errno == 0);
  }

test-strtod.c:479: assertion failed
  {
    const char input[] = "0x.p+1";
    char *ptr;
    double result;
    errno = 0;
    result = strtod (input, &ptr);
    ASSERT (result == 0.0);
    ASSERT (!signbit (result));
    ASSERT (ptr == input + 1);   <- fail
    ASSERT (errno == 0);
  }

test-strtod.c:762: assertion failed
  {
    const char input[] = "0x1p";
    char *ptr;
    double result;
    errno = 0;
    result = strtod (input, &ptr);
    ASSERT (result == 1.0); 
    ASSERT (ptr == input + 3);  <- fail
    ASSERT (errno == 0);
  }

test-strtod.c:772: assertion failed
  {
    const char input[] = "0x1p+";
    char *ptr;
    double result;
    errno = 0;
    result = strtod (input, &ptr);
    ASSERT (result == 1.0);           
    ASSERT (ptr == input + 3);         <- fail
    ASSERT (errno == 0);
  }


This are the most interesting parts of the make check log (full log see
attachement):

# tail -f make_check.log
...
Checking ./164.regexp
@ ../doc/m4.texinfo:5688: Origin of test
./164.regexp: stdout mismatch
--- m4-tmp.4849724/m4-xout      2010-07-30 17:51:27.000000000 +0200
+++ m4-tmp.4849724/m4-out       2010-07-30 17:51:27.000000000 +0200
@@ -1,4 +1,4 @@
- 5
- -1
+
+
  *** Unix *** nix ***

@ ../doc/m4.texinfo:5688: Origin of test
./164.regexp: stderr mismatch
--- m4-tmp.4849724/m4-xerr      2010-07-30 17:51:27.000000000 +0200
+++ m4-tmp.4849724/m4-err       2010-07-30 17:51:27.000000000 +0200
@@ -0 +1,3 @@
+ m4:stdin:1: bad regular expression: `\<[a-z]\w+': Memory exhausted
+ m4:stdin:2: bad regular expression: `\<Q\w*': Memory exhausted
+ m4:stdin:4: bad regular expression: `\<Q\w*': Memory exhausted
Checking ./165.regexp
Checking ./166.regexp
...
Checking ./173.patsubst
@ ../doc/m4.texinfo:5906: Origin of test
./173.patsubst: stdout mismatch
--- m4-tmp.4849724/m4-xout      2010-07-30 17:51:28.000000000 +0200
+++ m4-tmp.4849724/m4-out       2010-07-30 17:51:28.000000000 +0200
@@ -1,5 +1,5 @@
- OBS: GNUs not Unix
- OBS: GNUs OBS: not OBS: Unix
+
+
  (GNUs)() (not)() (Unix)()
  (GNUs) (not) (Unix)
  GN not
@ ../doc/m4.texinfo:5906: Origin of test
./173.patsubst: stderr mismatch
--- m4-tmp.4849724/m4-xerr      2010-07-30 17:51:28.000000000 +0200
+++ m4-tmp.4849724/m4-err       2010-07-30 17:51:28.000000000 +0200
@@ -1 +1,3 @@
+ m4:stdin:1: bad regular expression `^': Memory exhausted
+ m4:stdin:2: bad regular expression `\<': Memory exhausted
  m4:stdin:6: Warning: trailing \ ignored in replacement
Checking ./174.patsubst
@ ../doc/m4.texinfo:5939: Origin of test
./174.patsubst: stdout mismatch
--- m4-tmp.4849724/m4-xout      2010-07-30 17:51:28.000000000 +0200
+++ m4-tmp.4849724/m4-out       2010-07-30 17:51:28.000000000 +0200
@@ -1,4 +1,4 @@

  GNUS NOT UNIX
  gnus not unix
- Gnus Not Unix
+
@ ../doc/m4.texinfo:5939: Origin of test
./174.patsubst: stderr mismatch
--- m4-tmp.4849724/m4-xerr      2010-07-30 17:51:28.000000000 +0200
+++ m4-tmp.4849724/m4-err       2010-07-30 17:51:28.000000000 +0200
@@ -0 +1,3 @@
+ m4:stdin:4: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
+ m4:stdin:4: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
+ m4:stdin:4: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
Checking ./175.patsubst
...
Checking ./231.improved_c
@ ../doc/m4.texinfo:8489: Origin of test
./231.improved_c: stdout mismatch
--- m4-tmp.4849724/m4-xout      2010-07-30 17:51:42.000000000 +0200
+++ m4-tmp.4849724/m4-out       2010-07-30 17:51:42.000000000 +0200
@@ -4,9 +4,9 @@
  act3,ive
  act1, ive
  active
- Act1
- Active
+
+
  _capitalize(`active')

- OOPSct1
- OOPSctive
+
+
@ ../doc/m4.texinfo:8489: Origin of test
./231.improved_c: stderr mismatch
--- m4-tmp.4849724/m4-xerr      2010-07-30 17:51:42.000000000 +0200
+++ m4-tmp.4849724/m4-err       2010-07-30 17:51:42.000000000 +0200
@@ -0 +1,4 @@
+ m4:stdin:11: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
+ m4:stdin:12: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
+ m4:stdin:15: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
+ m4:stdin:16: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
Checking ./232.improved_c
@ ../doc/m4.texinfo:8566: Origin of test
./232.improved_c: stdout mismatch
--- m4-tmp.4849724/m4-xout      2010-07-30 17:51:42.000000000 +0200
+++ m4-tmp.4849724/m4-out       2010-07-30 17:51:42.000000000 +0200
@@ -1,4 +1,4 @@
- Act1,Ive; Act2, Ive; Active; `Active'
+ ,; ; ; `'
  divert(`-1')
  # upcase(text)
  # downcase(text)
@ ../doc/m4.texinfo:8566: Origin of test
./232.improved_c: stderr mismatch
--- m4-tmp.4849724/m4-xerr      2010-07-30 17:51:42.000000000 +0200
+++ m4-tmp.4849724/m4-err       2010-07-30 17:51:42.000000000 +0200
@@ -0 +1,5 @@
+ m4:stdin:6: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
+ m4:stdin:6: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
+ m4:stdin:6: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
+ m4:stdin:6: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
+ m4:stdin:6: bad regular expression: `^\(\w\)\(\w*\)': Memory exhausted
Checking ./233.improved_f
Checking ./stackovf.test
Stack soft limit set to 300K
Pass

Skipped checks were:
  ./125.changeword ./126.changeword ./127.changeword ./128.changeword
./129.changeword ./130.changeword
Failed checks were:
  ./164.regexp:out ./164.regexp:err ./173.patsubst:out
./173.patsubst:err ./174.patsubst:out ./174.patsubst:err
./231.improved_c:out ./231.improved_c:err ./232.improved_c:out
./232.improved_c:err
gmake[2]: *** [check] Error 1
gmake[2]: Leaving directory `/daten/source/m4-1.4.14.6-76d1/checks'
Making check in tests
...
/bin/sh: 10682376 Abort(coredump)
FAIL: test-strtod
...
===============================
1 of 101 tests failed
(8 tests were not run)
See tests/test-suite.log
Please report to address@hidden
===============================
>> I also have
>> changed m4/posix_spawn.m4 so that
>> "gl_cv_func_posix_spawn_works="guessing yes";;" is set. According to my
>> tests the old POSIX spawn problem (which was present in early AIX
>> 5.3/6.1 versions) is gone.
>>     
> Your response to my previous 1.4.14.6-ffa0 snapshot didn't show any
> problems with posix_spawn, so I think we've nailed that one.
>
>   
Yes,
the posix_spawn should work - finally :-) ..

I will also test the whole thing under AIX 6.1 and 5.3.
I can also test under: 4.3.3, 5.1, 5.2

Bye
  Rainer

Attachment: m4-1.4.14.6-76d1.tar.gz
Description: GNU Zip compressed data


reply via email to

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