bug-gnulib
[Top][All Lists]
Advanced

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

Re: coreutils 6.9.92 fail to configure on *bsd


From: Elias Pipping
Subject: Re: coreutils 6.9.92 fail to configure on *bsd
Date: Sun, 13 Jan 2008 23:31:50 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

On Sun, Jan 13, 2008 at 03:10:55PM +0100, Bruno Haible wrote:
> Hello Elias,
> 
> Jim Meyering wrote:
> > [cc'ing bug-gnulib, since the test-*frexpl failures come from gnulib]
> > >     FAIL: test-frexpl
> > >     FAIL: test-printf-frexpl
> > 
> > Maybe someone else (Bruno Haible?) will look into this part.
> > 
> > > (*) tested on powerpc-unknown-openbsd4.2, i386-apple-darwin9.1.0
> 
> Which platform was that? powerpc-unknown-openbsd4.2?

That's on i386-apple-darwin9.1.0.

> When these tests fail, they output something. What did they output?

That's the last two tests here[1].

> Please also show the contents of <float.h> (in /usr/include, I assume)

I've attached float.h

> and the result of running the following program:
> 
> #include <config.h>
> #include <float.h>
> #include <stdio.h>
> int main ()
> {
>   printf ("LDBL_MANT_DIG = %d\n", LDBL_MANT_DIG);
>   printf ("LDBL_DIG = %d\n", LDBL_DIG);
>   printf ("LDBL_MIN_EXP = %d\n", LDBL_MIN_EXP);
>   printf ("LDBL_MAX_EXP = %d\n", LDBL_MAX_EXP);
>   printf ("LDBL_MIN_10_EXP = %d\n", LDBL_MIN_10_EXP);
>   printf ("LDBL_MAX_10_EXP = %d\n", LDBL_MAX_10_EXP);
>   printf ("sizeof (long double) = %u\n", sizeof (long double));
>   printf ("LDBL_EXPBIT0_WORD = %d\n", LDBL_EXPBIT0_WORD);
>   printf ("LDBL_EXPBIT0_BIT = %d\n", LDBL_EXPBIT0_BIT);
>   return 0;
> }

  % gcc -Ilib buz.c
  % ./a.out        
  LDBL_MANT_DIG = 64
  LDBL_DIG = 18
  LDBL_MIN_EXP = -16381
  LDBL_MAX_EXP = 16384
  LDBL_MIN_10_EXP = -4931
  LDBL_MAX_10_EXP = 4932
  sizeof (long double) = 16
  LDBL_EXPBIT0_WORD = 2
  LDBL_EXPBIT0_BIT = 0
  % cat buz.c     
  #include <config.h>
  #include <float.h>
  #include <stdio.h>
  int main ()
  {
    printf ("LDBL_MANT_DIG = %d\n", LDBL_MANT_DIG);
    printf ("LDBL_DIG = %d\n", LDBL_DIG);
    printf ("LDBL_MIN_EXP = %d\n", LDBL_MIN_EXP);
    printf ("LDBL_MAX_EXP = %d\n", LDBL_MAX_EXP);
    printf ("LDBL_MIN_10_EXP = %d\n", LDBL_MIN_10_EXP);
    printf ("LDBL_MAX_10_EXP = %d\n", LDBL_MAX_10_EXP);
    printf ("sizeof (long double) = %u\n", sizeof (long double));
    printf ("LDBL_EXPBIT0_WORD = %d\n", LDBL_EXPBIT0_WORD);
    printf ("LDBL_EXPBIT0_BIT = %d\n", LDBL_EXPBIT0_BIT);
    return 0;
  }
  %


-- Elias

[1] 
http://www.mail-archive.com/address@hidden/msg11903/coreutils-6.9.92-check.log.bz2

Attachment: float.h
Description: Text Data

Attachment: pgpStAHFlPq7W.pgp
Description: PGP signature


reply via email to

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