From: Jay Estabrook <Jay.Estabrook@compaq.com>
To: axp-list@redhat.com
Subject: Re: Kernel 2.4.17
Date: Tue, 8 Jan 2002 10:57:25 -0500 [thread overview]
Message-ID: <20020108105725.A8263@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <20020107192038.24569.qmail@mail.america.com>; from spdracer@america.com on Mon, Jan 07, 2002 at 07:20:37PM +0000
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
-----------------------------------------------------------------------------
next prev parent reply other threads:[~2002-01-08 16:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-07 19:20 Kernel 2.4.17 Speedracer
2002-01-08 15:57 ` Jay Estabrook [this message]
2002-01-08 17:05 ` Falk Hueffner
2002-01-08 17:26 ` Kurt A. Ludwig
2002-01-08 18:17 ` Jay Estabrook
2002-01-08 17:30 ` Robert Williams
2002-01-08 18:26 ` Linus Gasser
-- strict thread matches above, loose matches on Subject: below --
2002-01-08 21:58 Benton, Marco
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox