From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26932 invoked from network); 4 Jun 1998 16:24:20 -0000 Received: from canoe.roc.servtech.com (HELO canoe.xcski.com) (ptomblin@204.181.4.141) by mail2.redhat.com with SMTP; 4 Jun 1998 16:24:20 -0000 Received: (from ptomblin@localhost) by canoe.xcski.com (8.8.7/8.8.7) id MAA25978; Thu, 4 Jun 1998 12:24:57 -0400 Message-ID: <19980604122456.B25707@xcski.com> Date: Thu, 4 Jun 1998 12:24:56 -0400 From: Paul Tomblin To: axp-list@redhat.com Subject: Re: EGCS and Linux kernel References: <19980604103517.A22507@xcski.com> <199806041604.KAA18852@ellpspace.math.ualberta.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: <199806041604.KAA18852@ellpspace.math.ualberta.ca>; from Michal Jaegermann on Thu, Jun 04, 1998 at 10:04:09AM -0600 Quoting Michal Jaegermann (michal@ellpspace.math.ualberta.ca): > Paul Tomblin writes: > > > > When I reported here that when I compiled my kernel with egcs that X would no > > longer start, all I got was derision and "helpful" suggestions that I did > > something wrong. Well, guess what - it's now official that egcs optimizes out > > an assignment that is necessary to make X work. > > The file in question, which "officially" creates problems for X when > not fixed (it is modified in development kernels), is > arch/i386/kernel/ioport.c > so, unless you are running Intel kernel on your box, I fail to see how > this may affect your Alpha. Well, I compiled my kernel using egcs (using a make clean; make dep; make boot; make modules; make modules_install, so there was NO CHANGE IN CONFIGURATION), and X wouldn't start. I switched back to gcc, and compiled using the same sequence of commands and it would. So they *know* about the ioport.c problem, but there is something similar in the alpha kernel (at least in 2.0.30). I'll give it another try with egcs 1.0.3a and kernel 2.0.34, and let you all know. Does anybody know if the alpha patches that were applied to 2.0.30 by RedHat were incorportated in the basic 2.0.34 kernel? I'd like to get it before RedHat gets around to supplying it. BTW: I agree with you that comparing the results with a broken program like qtscape is probably not valid - if it's broken one way with gcc, then that same breakage can show up in a different way with a different compiler. -- Paul Tomblin, ptomblin@xcski.com. "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners" - Ernst Jan Plugge