Bug 15241 - Unable to compile kernel
Unable to compile kernel
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-03 11:27 EDT by Need Real Name
Modified: 2008-08-01 12:22 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-05 17:10:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-08-03 11:27:03 EDT
Installing pinstripe toasted my modules.conf, presumably because it
installed a new kernel. This is okay, I kinda expected it. However, when I
went to recompile the kernel (2.2.16 from ftp.kernel.org), it failed with
all sorts of nasty errors while in the Assembler Pre-processor stage, on
the file checksum.c. When I uninstalled the gcc (and associated) rpms and
re-installed the RH6.2 egcs rpms, everything worked fine.

	HTH

	W
Comment 1 Brian J. Conway 2000-08-03 11:41:26 EDT
You need to install the kgcc package and then edit the kernel makefile to use
kgcc instead of the provided gcc when you compile.  My question is why is a gcc
compiler included that won't compile a kernel?  Why not use 2.95 and have it
work all around?
Comment 2 Alan Cox 2000-08-05 17:09:59 EDT
2.95 is not a recommended compiler for the 2.2 kernel. These arent compiler
problems but kernel assumptions about optimisations. 2.95 is believed to build
the very latest 2.2.17pre releases completely correctly but thats not the same
thing as a trusted build for a production site
Comment 3 Alan Cox 2000-08-05 17:10:24 EDT
2.95 is not a recommended compiler for the 2.2 kernel. These arent compiler
problems but kernel assumptions about optimisations. 2.95 is believed to build
the very latest 2.2.17pre releases completely correctly but thats not the same
thing as a trusted build for a production site

Note You need to log in before you can comment on or make changes to this bug.