public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* linux and EGCS PATCH
@ 1997-12-05  1:17 Martin.Dalecki
  1997-12-05 10:44 ` Linus Torvalds
  0 siblings, 1 reply; 8+ messages in thread
From: Martin.Dalecki @ 1997-12-05  1:17 UTC (permalink / raw)
  To: torvalds; +Cc: egcs, linux kernel

The following little patch resolvs the compilation problems for the linux
kernel with the just releases egcs-1.0 compiler. It seems to be correct
anyway. 

Please apply it to the next kernel release.

--- linux-orig/arch/i386/kernel/process.c	Wed Oct 15 02:24:09 1997
+++ linux/arch/i386/kernel/process.c	Thu Dec  4 22:49:10 1997
@@ -443,6 +443,13 @@
 			if (task[i] == current)  {
 				set_ldt_desc(gdt+(i<<1)+
 					     FIRST_LDT_ENTRY,&default_ldt, 1);
+    	/*
+    	 * 1997/12/04 Marcin Dalecki:
+    	 *
+    	 * The introduction of the following (over-) optimization preventer
+    	 * fixes the compilation under egcs-1.0.
+    	 */
+			    	barrier();
 				load_ldt(i);
 			}
 		}	



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: linux and EGCS PATCH
@ 1997-12-11 16:33 Daniel Egger
  1997-12-12 10:18 ` linux kernel account
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Egger @ 1997-12-11 16:33 UTC (permalink / raw)
  To: egcs; +Cc: linux kernel

On Wed, 10 Dec 1997, you wrote:

>So at this point, I haven't had any real indications of the kernel doing
>anything wrong, and egcs should be considered broken for now. I can be
>made to change my mind, but so far all the indications are that if you
>want a stable kernel you should not use egcs yet.

 Hm, here works a linux kernel version 2.1.72 compiled with egcs-971207 on i486.
 It's up now for 48h and stands heavy network traffic without any problems.
 
 Servus,
              Daniel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1997-12-12 10:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-05  1:17 linux and EGCS PATCH Martin.Dalecki
1997-12-05 10:44 ` Linus Torvalds
1997-12-06  8:41   ` Jeffrey A Law
1997-12-10  8:57   ` Horst von Brand
1997-12-10 10:58     ` Paul Koning
1997-12-10 10:58     ` Linus Torvalds
1997-12-11 16:33 Daniel Egger
1997-12-12 10:18 ` linux kernel account

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).