[CentOS] Compiling kernel 2.6.12.2 with gcc-3.4.3-22.1

alex at milivojevic.org alex at milivojevic.org
Wed Jul 6 14:18:58 UTC 2005


Quoting "Bryan J. Smith" <b.j.smith at ieee.org>:

> If not, I typically use Fedora Development (fka Rawhide), although I
> would _not_ recommend that for production systems.  Grab the SRPM from
> Fedora Development and see if it builds (rpmbuild --build --target=i386|
> i686|x86_64) on CentOS 4:
>
> http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/kernel-2.6.12-1.1421_FC5.src.rpm
>
> I would at least try this one _instead_ of a "stock kernel" from
> kernel.org.  Or is there another option that I'm not aware of?

I agree with what Bryan wrote.  The Red Hat / Fedora kernels have a 
great number
of patches specific to Red Hat distributions.  It is best to run the 
kernel with
those patches applied (such as the kernel from Fedora rawhide Bryan 
mentioned). Plus it gives nice RPM package to install.

I'd just add that i386 is not supported as a target for kernel.  i586 and i686
are the only two supported targets for 32-bit processors.  If nothing else,
i386 kernel (if it compiles at all) would not have Native Posix Thread Library
support, which is mandatory for Red Hat distributions (many programs 
would fail
during runtime without it, for example Cyrus IMAPD).

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the CentOS mailing list