bug-gnulib
[Top][All Lists]
Advanced

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

m4-1.4.9b on HP-UX 11


From: Bruno Haible
Subject: m4-1.4.9b on HP-UX 11
Date: Sat, 2 Jun 2007 03:31:10 +0200
User-agent: KMail/1.5.4

Gary V. Vaughan reported in
  http://article.gmane.org/gmane.comp.lib.gnulib.bugs/10446
that on HP-UX 11.23:

> ia64-hp-hpux11.23: 2 gnulib test failures
> hppa2.0w-hp-hpux11.23: 2 gnulib test failures
> 
>   gmake  check-TESTS
>   gmake[4]: Entering directory `/opt/build/m4-1.4.9b/tests'
>   test-lseek.c:76: assertion failed
>   ./test-lseek.sh[14]: 11912 Abort(coredump)
>   FAIL: test-lseek.sh
>   test-vasprintf-posix.c:1238: assertion failed
>   /opt/fsw/bash30/bin/bash: line 1: 11917 ABORT instruction       (core 
> dumped) EXEEXT='' EXEEXT='' EXEEXT='' srcdir='.' EXEEXT='' srcdir='.' 
> EXEEXT='' srcdir='.' ${dir}$tst
>   FAIL: test-vasprintf-posix

The test-lseek.sh failure was already fixed on 2007-05-30.

The test-vasprintf-posix failure I cannot reproduce with CC="cc -Ae" on
the machine td176.testdrive.hp.com (an ia64-hp-hpux11.23 machine). Can
you investigate what is the result of printf %Lf NaN on your machine?

1) With the native printf, like this:
==================== foo.c ===================
#include <stdio.h>
int main () 
{
  static long double zero = 0.0L;
  char result[100];
  sprintf (result, "%Lf", zero / zero);
  printf ("%s\n", result);
  return 0;
}
===============================================

2) With the gnulib vasprintf, by inserting an fprintf(stderr,...) statement
near test-vasprintf-posix.c:1238 ?

Bruno





reply via email to

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