Bruno Haible <[EMAIL PROTECTED]> 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?


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to