[vorbis-dev] Current Debian unstable has a broken libm?

Monty xiphmont at xiph.org
Thu Oct 14 06:23:14 PDT 1999



I made the mistake of upgrading my primary development machine last night...

The libc/libm in the current debian appear to be somewhat broken.  Compiling 
with -O2 and linking aginst libc/m 2.1.2 yields a broken executable; it 
appears that calls to libm (specifically log() and fabs()) with a perfectly 
valid input argument result in a garbage return.

I don't know for certain what part of the chain is broken.  A different gcc
version (that previously worked before installing libc/m 2.1.2) also broke.
Building and linking against libc5 still produces a working executable.
Bulding with -O0 and -O1 is OK.  Building against libc/m 2.0.7 on other
machines is OK.  I can't downgrade just the libc on Bloopfish as Debian won't
let a libc go backward... 

(The code in question is squeaky clean with efence.  This doesn't rule out a stack-based clobber of course...)

*sigh*.  Maybe all of Joerg's complaints about broken floating point in libc 2.1 (which I had been dismissing) are true after all....

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list