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: Jim Meyering
Subject: Re: Fwd: Re: error.c: "Unknown system error" should report errno value
Date: Sat, 06 Oct 2007 14:28:04 +0200

Bruno Haible <address@hidden> wrote:

> 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().

Thanks for the suggestion.  I'll probably do that.

Is seq segfaulting on mingw and BeOS, too?




reply via email to

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