[lkml]   [2000]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] 2.4 Changes update (was Re: [patch] kernel/module.c)
[I accidentally sent the message to the first time. Sorry.]

Linus Torvalds wrote:

> It seems that gcc- is terminally ill. I'd rather change
> Documentation/Changes, and just document the fact.

FWIW, here's a patch that does that. It also fixes a typo ("IA/32" should
be "IA-32") and clarifies that the Documentation/Changes comments about gcc
versions apply mainly to x86.

If I made any mistakes, please correct me...

-Barry K. Nathan <>

--- linux-2.4.0test10pre5/Documentation/Changes Mon Oct 23 20:20:31 2000
+++ linux-2.4.0test10pre5-bkn/Documentation/Changes Tue Oct 24 20:57:13 2000
@@ -31,7 +31,7 @@
Eine deutsche Version dieser Datei finden Sie unter

-Last updated: October 13, 2000
+Last updated: October 24, 2000

Chris Ricker ( or

@@ -48,7 +48,7 @@
Card) hardware, for example, you probably needn't concern yourself
with pcmcia-cs.

-o Gnu C # gcc --version
+o Gnu C 2.91.66 # gcc --version
o Gnu make 3.77 # make --version
o binutils # ld -v
o util-linux 2.10o # kbdrate -v
@@ -64,13 +64,23 @@

-You will need at least gcc 2.7.2 to compile the kernel. You currently
-have several options for gcc-derived compilers: gcc, various
-versions of egcs, the new gcc 2.95 and upcoming gcc 3.0, and experimental
-compilers like pgcc. For absolute stability, it is still recommended
-that gcc be used to compile your kernel. egcs 1.1.2 should also
-work. gcc 2.95 is known to have problems, and using pgcc for your kernel
-is just asking for trouble.
+The gcc version requirements may vary depending on the type of CPU in your
+computer. The next paragraph applies to users of x86 CPUs, but not
+necessarily to users of other CPUs. Users of other CPUs should obtain
+information about their gcc version requirements from another source.
+The recommended compiler for the kernel is egcs 1.1.2 (gcc 2.91.66), and it
+should be used when you need absolute stability. You may use gcc 2.95.2
+instead if you wish, although it may cause problems. Later versions of gcc
+have not received much testing for Linux kernel compilation, and there are
+almost certainly kernel bugs that will need to be fixed for these
+compilers. In any case, using pgcc instead of egcs or plain gcc is just
+asking for trouble.
+Note that gcc is no longer supported. Linux kernel 2.4, unlike
+previous releases, does not work around gcc's bugs. Attempting to
+compile kernel 2.4 with this version of gcc will most likely result in a
+compilation error or in a miscompiled kernel.

In addition, please pay attention to compiler optimization. Anything
greater than -O2 may not be wise. Similarly, if you choose to use gcc-2.95
@@ -85,7 +95,7 @@

-Linux on IA/32 has recently switched from using as86 to using gas for
+Linux on IA-32 has recently switched from using as86 to using gas for
assembling the 16-bit boot code, removing the need for as86 to compile
your kernel. This change does, however, mean that you need a recent
release of binutils.
@@ -244,11 +254,6 @@

-o <>
-o <>

egcs 1.1.2
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at
 \ /
  Last update: 2005-03-22 12:41    [W:0.084 / U:10.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site