libc: patched for Debian sarge to fix floating point exceptions on SSE2
GNU libc version 2.3.2 has a bug "feclearexcept() error on CPUs with SSE" (fixed in 2.3.3) which has been submitted to Debian but not fixed in sarge.
While I do not know enough about the Debian scripts to make a dpatch to get this fixed once and for all in the Debian distribution, I have assembled a (hackish) solution to produce .debs free from this bug. The method is:
- apt-get source glibc
- alter line 134583 of glibc-2.3.2.ds1/debian/patches/10_cvs.dpatch:
> + xnew_exc &= excepts ^ FE_ALL_EXCEPT; --- < + xnew_exc &= ~excepts;
- Edit debian/changelog to include a brief description of this patch. Append .1 to revision number to create .deb packages with a new revision numbers. This keeps apt-get upgrade happy.
- fakeroot dpkg-buildpackage -b -uc -us
- Links to .debs using the above instructions:
Page last modified Mon Sep 29 04:11:40 2008.