Quote Originally Posted by MarsMan2020 View Post
A couple notes in case anyone actually tries this. On the 386:
-386 support was dropped from the kernel in 3.7 in late 2012 - https://git.kernel.org/pub/scm/linux...71d1a0b2a82e21
-I've heard rumblings that recent versions of GCC don't build proper 386 code either, so if you want a kernel for a 386 your best bet is probably to fire up a pre-3.7 distribution in a VM and use that to build it.
On an old enough kernel, you might not be able to get it to compile on newer GCC at all! I'd try and use something contemporaneous to the kernel you're trying to compile for.