This is a discussion on kernel compiling for the wrong arch. within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> All, I'm a OBSD newbie. Right now I'm compiling a new 4.1 kernel on a new install for a ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| All, I'm a OBSD newbie. Right now I'm compiling a new 4.1 kernel on a new install for a firewall. I copied GENERIC to "test" in /sys/arch/i386/ conf/, stripped out everything I didn't want and deleted all the CPU references at the top except for "I586_CPU". Yet, now that I'm watching compiler output go by I keep seeing references to "- march=i486". Shouldn't that be "-march=i586"? This is only a P75 so I'd like to get rid of any limiting code in the kernel, even though I think there is not much to be gained in the jump from 486 to 586. Not like getting rid of 386 anyway. What didI miss? thx, r |
| |||
| thefronny@gmail.com wrote: > All, > > I'm a OBSD newbie. Right now I'm compiling a new 4.1 kernel on a new > install for a firewall. I copied GENERIC to "test" in /sys/arch/i386/ > conf/, stripped out everything I didn't want and deleted all the CPU > references at the top except for "I586_CPU". Yet, now that I'm > watching compiler output go by I keep seeing references to "- > march=i486". Shouldn't that be "-march=i586"? > > This is only a P75 so I'd like to get rid of any limiting code in the > kernel, even though I think there is not much to be gained in the jump > from 486 to 586. Not like getting rid of 386 anyway. What didI miss? Kernel tweaking is not supported, and doesn't really help anyway. Remember: GNU is Not Unix (and neither is Linux). Joachim |
| |||
| On Jul 29, 9:43 am, "Joachim Schipper" <jdNoOtSPAMschip...@math.uu.nl> wrote: > thefro...@gmail.com wrote: > > All, > > > I'm a OBSD newbie. Right now I'm compiling a new 4.1 kernel on a new > > install for a firewall. I copied GENERIC to "test" in /sys/arch/i386/ > > conf/, stripped out everything I didn't want and deleted all the CPU > > references at the top except for "I586_CPU". Yet, now that I'm > > watching compiler output go by I keep seeing references to "- > > march=i486". Shouldn't that be "-march=i586"? > > > This is only a P75 so I'd like to get rid of any limiting code in the > > kernel, even though I think there is not much to be gained in the jump > > from 486 to 586. Not like getting rid of 386 anyway. What didI miss? > > Kernel tweaking is not supported, and doesn't really help anyway. > Remember: GNU is Not Unix (and neither is Linux). > > Joachim Thanks for the quick write-back. I haven't used Linux in years (I'm a FreeBSD-er), but didn't want to make assumptions about OpenBSD's behavior. thx, r |