bug-gnulib
[Top][All Lists]
Advanced

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

Re: Fwd: Re: error.c: "Unknown system error" should report errno value


From: Bruno Haible
Subject: Re: Fwd: Re: error.c: "Unknown system error" should report errno value
Date: Sat, 6 Oct 2007 13:18:14 +0200
User-agent: KMail/1.5.4

Martin Koeppe wrote:
> The Interix libc is built with MSVC. MSVC has no long double data 
> type. Ok, it understands "long double", but always maps that to 64-bit 
> double. So libc's printf(), when it sees "%Lg", expects 64-bit double.
> 
> But Interix also has gcc. gcc OTOH has 80 bit long double (stored are 
> 12 bytes). When I build seq with gcc, for the "%Lg" arg 12 bytes are 
> reserved. This will crash then.

Adding the gnulib 'vasprintf-posix' module to bootstrap.conf should do
the trick. That's because the only 'long double' support that coreutils
requires are:
  - the elementary operations, these are inlined by gcc or come from libgcc.a,
  - asprintf(), this comes from gnulib.

The same problem with 'seq' exists on mingw and BeOS, which - like Interix -
lack 'long double' support in printf().

Bruno





reply via email to

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