Bug 18060 - Failed to compile a kernel
Summary: Failed to compile a kernel
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-10-02 07:19 UTC by Imre Csaba Varasdy
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2000-10-02 08:34:05 UTC

Attachments (Terms of Use)

Description Imre Csaba Varasdy 2000-10-02 07:19:01 UTC
Cannot compile a new kernel,always exiting with
/usr/src/linux/arch/i386/lib/checksum.S in line #231 and #237

Comment 1 Need Real Name 2000-10-02 07:56:11 UTC
got the same error on an compaq proliant 2500 with 2 pentium pros.
failed to compile 2.2.16 (not the sources from redhat, but the standard ones)
and 2.2.17.

Comment 2 Need Real Name 2000-10-02 08:06:14 UTC
maybe connected to our problem?
i got these warnings, too.

Comment 3 Alan Cox 2000-10-02 08:34:04 UTC
Use kgcc (the kernel building gcc). The mainstream kernel is still abusing a few
things the new gcc catches out. And yes its not documented well enough!

Comment 4 Harvey Modlin 2000-10-05 08:04:20 UTC
Well, I get the same error msg and as a result get no bzImage -- with or 
without the "export CC=kgcc" before the make.

Comment 5 Harvey Modlin 2000-10-05 09:04:07 UTC
Aha. Found the problem! I really did forget to do the 'make mrproper' first! So 
with makr mrproper and 'export CC=kgcc', the kernel compiled just fine (thank 
you!) and the outcome was the bzImage file I wanted. Yippee! Thanks again.

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