bug-gnulib
[Top][All Lists]
Advanced

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

Re: m4 tests failed


From: Eric Blake
Subject: Re: m4 tests failed
Date: Thu, 27 Sep 2007 06:14:53 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Piotr Tarnowski on 9/27/2007 2:26 AM:

Hi Piotr, and thanks for the report.  Can you please rerun with 'make -k
check' to ensure the rest of the testsuite is okay?

> Machine hardware:   sun4u
> OS version:         5.10
> Processor type:     sparc
> Hardware:           SUNW,Sun-Fire-V890
> 
> version of "/opt/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.9
> SunOS_sparc Patch 124867-01 2007/07/12
> test-vasprintf-posix.c:164: assertion failed
> /bin/bash: line 1: 22623 Abort                   (core dumped) EXEEXT=''
> EXEEXT='' EXEEXT='' srcdir='.' EXEEXT='' srcdir='.' EXEEXT='' srcdir='.'
> ${dir}$tst
> FAIL: test-vasprintf-posix

This would indicate a bug in the gnulib *printf replacements.  That
particular line is:

    char *result;
    int retval =
      my_asprintf (&result, "%Lg %d", (long double) 1.5, 33, 44, 55);
    ASSERT (result != NULL);
    ASSERT (strcmp (result, "1.5 33") == 0);

So, what _did_ your compiler/C library print instead of the expected "1.5"
when printing the long double value 1.5?  Also, attaching config.log would
be useful for showing us if gnulib detected any *printf bugs in your
compilation environment.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG+56984KuGfSFAYARAouAAJ93y7D973pDQ6BrLfNeTt6crJl5zACdFzQ5
qubTTMmbXK2Q0N3c+caduyE=
=vsC4
-----END PGP SIGNATURE-----




reply via email to

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