Skip to content
  • Jason Evans's avatar
    Disable floating point code/linking when possible. · d37d5ade
    Jason Evans authored
    Unless heap profiling is enabled, disable floating point code and don't
    link with libm.  This, in combination with e.g. EXTRA_CFLAGS=-mno-sse on
    x64 systems, makes it possible to completely disable floating point
    register use.  Some versions of glibc neglect to save/restore
    caller-saved floating point registers during dynamic lazy symbol
    loading, and the symbol loading code uses whatever malloc the
    application happens to have linked/loaded with, the result being
    potential floating point register corruption.
    d37d5ade
To find the state of this project's repository at the time of any of these versions, check out the tags.