From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.44.254]) by listman.redhat.com (Postfix) with ESMTP id 6F8373EAC4 for ; Tue, 8 Jan 2002 11:03:51 -0500 (EST) Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g08G3pE28577 for ; Tue, 8 Jan 2002 11:03:51 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.6/8.8.7) id g08G3pc27066 for axp-list@listman.redhat.com; Tue, 8 Jan 2002 11:03:51 -0500 Received: from zcamail03.zca.compaq.com (zcamail03.zca.compaq.com [161.114.32.103]) by mail.redhat.com (8.11.6/8.8.7) with ESMTP id g08G3od27062 for ; Tue, 8 Jan 2002 11:03:50 -0500 Received: by zcamail03.zca.compaq.com (Postfix, from userid 12345) id 6F3367AA; Tue, 8 Jan 2002 08:03:29 -0800 (PST) Received: from mailrelay01.cce.cpqcorp.net (mailrelay01.cce.cpqcorp.net [16.47.68.171]) by zcamail03.zca.compaq.com (Postfix) with ESMTP id 0D72F775 for ; Tue, 8 Jan 2002 08:03:29 -0800 (PST) Received: by mailrelay01.cce.cpqcorp.net (Postfix, from userid 12345) id 2FB13717; Tue, 8 Jan 2002 10:03:44 -0600 (CST) Received: from linux04.mro.cpqcorp.net (linux04.mro.cpqcorp.net [16.129.9.99]) by mailrelay01.cce.cpqcorp.net (Postfix) with ESMTP id DF2B1537 for ; Tue, 8 Jan 2002 10:03:43 -0600 (CST) Received: (from jestabro@localhost) by linux04.mro.cpqcorp.net (8.11.6/8.11.6) id g08FvPO08327 for axp-list@redhat.com; Tue, 8 Jan 2002 10:57:25 -0500 Date: Tue, 8 Jan 2002 10:57:25 -0500 From: Jay Estabrook To: axp-list@redhat.com Subject: Re: Kernel 2.4.17 Message-ID: <20020108105725.A8263@linux04.mro.cpqcorp.net> Mail-Followup-To: Jay Estabrook , axp-list@redhat.com References: <20020107192038.24569.qmail@mail.america.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020107192038.24569.qmail@mail.america.com>; from spdracer@america.com on Mon, Jan 07, 2002 at 07:20:37PM +0000 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Mon, Jan 07, 2002 at 07:20:37PM +0000, Speedracer wrote: > > *note* > I changed to "generic" kernel because specifying PC164 causes the GCC > compiler options to specify MARCH=EV6 which the straight PC164's were not. Huh? Just tried building 2.4.17 for PC164 under RH 7.0 (GCC 2.96-85), and saw it issuing only: -Wa,-mev6 which is NOT the same thing as -mcpu=ev6; -Wa,-mev6 just tells the assembler to allow EV6 instructions to be assembled, if it encounters them in its input. However, I did NOT see any -mcpu=xxx issued, which is bad, since PC164 is EV56 and could use the byte/word instructions. Here's a little patch to make this happen - see if it helps in any way, or at least make sure it doesn't hurt anything... ;-} diff -ur LINUX/linux-2.4.17/arch/alpha/Makefile PATCH/linux-2.4.17/arch/alpha/Makefile --- LINUX/linux-2.4.17/arch/alpha/Makefile Sun Dec 3 20:45:20 2000 +++ PATCH/linux-2.4.17/arch/alpha/Makefile Tue Jan 8 10:41:38 2002 @@ -56,6 +56,14 @@ CFLAGS := $(CFLAGS) -mcpu=ev4 mcpu_done := y endif + ifeq ($(mcpu_done)$(CONFIG_ALPHA_PC164),ny) + CFLAGS := $(CFLAGS) -mcpu=ev56 + mcpu_done := y + endif + ifeq ($(mcpu_done)$(CONFIG_ALPHA_EV5),ny) + CFLAGS := $(CFLAGS) -mcpu=ev5 + mcpu_done := y + endif ifeq ($(mcpu_done)$(CONFIG_ALPHA_EV67)$(have_mcpu_ev67),nyy) CFLAGS := $(CFLAGS) -mcpu=ev67 mcpu_done := y > PS (is RH 7.2 going to come or no? Just curious.) Yes, it is. --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Project Compaq Computer Corp. - MRO1-2/K15 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com -----------------------------------------------------------------------------