svn commit: r227538 - head/tools/build

Dimitry Andric dim at FreeBSD.org
Tue Nov 15 21:52:05 UTC 2011


On 2011-11-15 22:14, David Schultz wrote:
> On Tue, Nov 15, 2011, Dimitry Andric wrote:
>> Note all the final executables will use 'real' atomic operations.  That
>> is, unless you compile with CPUTYPE?=i386, and I wish you the best of
>> luck in that case, you'll need it. :)
> 
> I thought we dropped support for anything less than a 486DX years ago.

Well, theoretically you could still attempt to build for i386, but it is
almost sure to have bitrotted beyond any working state.  The CPUTYPE
stuff in bsd.cpu.mk still seems to support it, as does gcc itself, of
course.  And as mentioned in the commit message, until 2 years ago, the
default CPU for gcc was i386; which is the only reason for this commit.

Indeed, I386_CPU support was removed from GENERIC more than 10 years
ago, in r71025.  But even there it says:

"Remove I386_CPU from GENERIC.  Support for the 386 seriously pessimizes
performance on other x86 processors.  Custom kernels can still be built
that will run on the 386."

I wonder if that's still true... maybe it is time to really clean up any
pre-i486 leftovers. :)


More information about the svn-src-all mailing list