bug-m4
[Top][All Lists]
Advanced

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

Re: snapshot in preparation for m4 1.4.12


From: Thomas Klausner
Subject: Re: snapshot in preparation for m4 1.4.12
Date: Sat, 23 Aug 2008 17:54:48 +0200

Hi again!


Btw, did I mention last time that m4 tests work, but skip a few?

Skipped checks were:
  ./114.changeword ./115.changeword ./116.changeword ./117.changeword ./118.chan
geword ./119.changeword
All checks successful

> According to Thomas Klausner on 8/14/2008 1:21 PM:
> > One failure on NetBSD-4.99.72/amd64:
> > test-frexp.c:113: assertion failed
> > [1]   Abort trap (core dumped) EXEEXT="" EXEEXT...
> > FAIL: test-frexp
> 
> Thanks for the report.  Are you able to help us fix gnulib, by debugging
> where the replacement frexp went wrong?

When stepping through test-frexp with gdb, it fails like this:
(gdb) s
113         ASSERT (signbit (mantissa));
(gdb)
test-frexp.c:113: assertion failed
rpl_fflush (stream=0x502810) at fflush.c:100
100       if (stream == NULL || ! freading (stream))
(gdb) p stream
$1 = (FILE *) 0x502810
(gdb) p freading(stream)
$2 = false
(gdb) l
95           fflush in this case.
96
97           We test ! freading (stream) here, rather than fwriting (stream), 
because
98           what we need to know is whether the stream holds a "read buffer", 
and on
99           mingw this is indicated by _IOREAD, regardless of _IOWRT.  */
100       if (stream == NULL || ! freading (stream))
101         return fflush (stream);
102
103       /* Clear the ungetc buffer.
104
(gdb)

> > Three more skipped:
> > SKIP: test-c-stack2.sh
> 
> Probably because you didn't install libsigsegv, not necessarily a problem,
> but something you might want to try.  Be aware, though, that libsigsegv
> 2.5 has a known bug,
> http://lists.gnu.org/archive/html/bug-gnulib/2008-07/msg00073.html.

Thanks for the pointer! Without it applied, I had 2 failures, with it
only the test-frexp one fails.
 Thomas




reply via email to

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