bug-coreutils
[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: Andreas Schwab
Subject: Re: Fwd: Re: error.c: "Unknown system error" should report errno value
Date: Sat, 06 Oct 2007 01:14:49 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Martin Koeppe <address@hidden> writes:

> 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.
>
> I don't know how to fix that...

The right fix is to use a ABI compatible compiler.  If gcc cannot
generate code that is compatible with the system library it is a bug
that should be reported.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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