Hacker News new | ask | show | jobs
by leni536 1386 days ago
Does this only affect pypi, or should I now worry about shared libraries shipped with my distro as well? Debian is not crazy enough to ship shared libs compiled with -ffast-math, right? RIGHT?
4 comments

All right fine, I give in. In current amd64 Debian unstable (main, contrib, and non-free), 48 of the 69,112 packages include a shared library built with -ffast-math, a total of 485 .so files.

Actually it wasn't so bad :) All the current debs add up to a mere 113GB, and the .so files are just 46GB once extracted. Quick work. Here's the list:

https://moyix.net/~moyix/debian_unstable_amd64_ffast_results...

And here's a visualization of the reverse dependency graph:

https://moyix.net/~moyix/ffast_debian.pdf

Please don't do this to me, I don't know if I have it in me to go on ANOTHER big scrape & scan.
Various distributions have meddled with ffast-math over the years. At one stage early on, I think Clear Linux might have used it, which was part of the reason they kept demolishing distributions on benchmarks. I don't know any that still actively use it, but holy crap folks, please don't.
If the package build scripts from upstream have that in them, Debian packaged versions probably do too