Re: i486 emu in mainline?

Rene Rebe
2004-05-23T00:20:54Z

Hi,

On: Sun, 23 May 2004 01:40:59 +0200,
Christoph Hellwig <hch@lst.de> wrote:
> These days gcc uses i486+ only instruction by default in libstdc++ so
> most modern distros wouldn't work on i386 cpus anymore. To make it work
> again Debian merged Willy Tarreau's patch to trap those and emulate them
> on real i386 cpus. The patch is extremely non-invasive and would
> certainly be usefull for mainline. Any reason not to include it?

Oh cool! Given the fact with libstdc++ and sparc32 kernel also always
contain code to emulatre the mul/div instructions missing in the v7
hardware (just foudn this SIGILL trap by accident recently ..) the
comment might be a bit too strict. Maybe something like written in the
MATH_EMULATION config:

"If you are not sure, say Y; apart from resulting in a 66 KB bigger
kernel, it won't hurt."

Sincerely yours,
René Rebe
- ROCK Linux stable release maintainer

--
René Rebe - Europe/Germany/Berlin
rene@rocklinux.org rene@rocklinux-consulting.de
http://www.rocklinux.org http://www.rocklinux-consulting.de