www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/07/17/21:01:34

Date: Sun, 18 Jul 1999 01:59:47 +0100 (BST)
From: "Dr H. T. Leung" <htl10 AT cus DOT cam DOT ac DOT uk>
To: root <steve AT netplus DOT net>
cc: "pgcc AT delorie DOT com" <pgcc AT delorie DOT com>
Subject: Re: pgcc and linux-2.2.9 DMA problem
In-Reply-To: <37911716.7A691225@netplus.net>
Message-ID: <Pine.SOL.3.96.990718012951.11121C-100000@ursa.cus.cam.ac.uk>
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hmmm; the linux kernel source tree has always been a bit touchy about
being compiled with optimization or by anything other than gcc/egcs (I
believe this is in one of the "NOT TO TRY" lists in the pgcc faq). But it
would be a shame to lose the pgcc optimization for the rest, and since
Mandrake is supposed to be RedHat compatible and the kernel is pretty much
independent of the rest, you should be able to mix-and-match, and graft
the RedHat kernel package on top of a Mandrake installation.

In fact, I just did a few days ago. I put a 2.2.10 kernel compiled by
slackware 4.0 (libc5) + egcs 1.1.2, onto RedHat 6.0 :-), and it works
beautifully.

On Sat, 17 Jul 1999, root wrote:

> I picked up Linux-Mandrake 6.0 yesterday and installed it on a machine
> with a VIA chipset and amdk6-3.  Mandrake is, of course, compiled with
> pgcc and -mpentium, -march=pentium.  It also sets DMA hard drive access
> on  by default.  As soon as it does, the system hangs, the kernel
> performs a reset on the drive (and disables DMA) and everything is fine
> after that.  I used a stock tree to compile 2.2.9 (without all the
> "fancy" optimizations, meaning -m486, etc.) and had the same problem.
> I'm now back to my trusty RH 6.0 and it works great (2.2.9 compiled with
> egcs 2.91.66.  BTW, why does egcs have 2 different version numbers,
> 2.91.66 and 1.1.2?)  I liked what I saw with mandrake but lack of
> DMA-ide is kind of a show stopper.
> 
> Thanks,
> Steve Bergman

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019