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 D3BAF4010A for ; Wed, 5 Dec 2001 11:22:37 -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 fB5GMbp10459 for ; Wed, 5 Dec 2001 11:22:37 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id fB5GMbX26046 for axp-list@listman.redhat.com; Wed, 5 Dec 2001 11:22:37 -0500 Received: from zmamail05.zma.compaq.com (mailout.zma.compaq.com [161.114.64.105]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id fB5GMbw26041 for ; Wed, 5 Dec 2001 11:22:37 -0500 Received: by zmamail05.zma.compaq.com (Postfix, from userid 12345) id E0DD14B8F; Wed, 5 Dec 2001 11:22:31 -0500 (EST) Received: from taynzmail03.nz-tay.cpqcorp.net (taynzmail03.nz-tay.cpqcorp.net [16.47.4.103]) by zmamail05.zma.compaq.com (Postfix) with ESMTP id DA31D49AB for ; Wed, 5 Dec 2001 11:22:31 -0500 (EST) Received: by taynzmail03.nz-tay.cpqcorp.net (Postfix, from userid 12345) id A85541AB6; Wed, 5 Dec 2001 11:22:31 -0500 (EST) Received: from linux04.mro.cpqcorp.net (linux04.mro.cpqcorp.net [16.129.9.99]) by taynzmail03.nz-tay.cpqcorp.net (Postfix) with ESMTP id 9AF7D1A91 for ; Wed, 5 Dec 2001 11:22:31 -0500 (EST) Received: (from jestabro@localhost) by linux04.mro.cpqcorp.net (8.11.6/8.11.6) id fB5GARY06207 for axp-list@redhat.com; Wed, 5 Dec 2001 11:10:27 -0500 Date: Wed, 5 Dec 2001 11:10:27 -0500 From: Jay Estabrook To: axp-list@redhat.com Subject: Re: gcc options for kernel 2.4.x build on miata Message-ID: <20011205111027.A6202@linux04.mro.cpqcorp.net> Mail-Followup-To: Jay Estabrook , axp-list@redhat.com References: <20011205154248.LALZ24249.tomts11-srv.bellnexxia.net@there> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011205154248.LALZ24249.tomts11-srv.bellnexxia.net@there>; from ghoz@sympatico.ca on Wed, Dec 05, 2001 at 10:44:57AM -0500 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 Wed, Dec 05, 2001 at 10:44:57AM -0500, Ghozlane Toumi wrote: > > I just noticed that when building a 2.4.x kernels on a miata (PWS 433au) , > the kernel uses the following optimisations flags : "-mcpu=ev5 -Wa,-mev6" > > Knowing that this box has an ev56 (/cpu/procinfo just confirmed this), > is there any reason why it doesn't use "-mcpu=ev56" ? It should, dunno why it doesn't. Check the arch/alpha/Makefile. > and uh.. well.. why the hell does it asks the assembler to build an ev6 > binary ? i thought ev56 and ev5 where almost the same, but ev6 was another > generation ... That switch (-Wa,-mev6) allows the assembler to process EV6 instructions. This is necessary for "generic" kernels, in which there may be EV6 insns explicitly included. It's not strictly needed for a MIATA kernel, but it shouldn't hurt anything. --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 -----------------------------------------------------------------------------