From owner-freebsd-alpha Sun Feb 3 15:27: 5 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id B4DE037B41A for ; Sun, 3 Feb 2002 15:27:02 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.6/8.11.6) with UUCP id g13NQuY06896; Mon, 4 Feb 2002 00:26:56 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g13NMWZ9049258; Mon, 4 Feb 2002 00:22:32 +0100 (CET)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id g13NMWf18469; Mon, 4 Feb 2002 00:22:32 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.6/8.11.6) id g13NMVW20763; Mon, 4 Feb 2002 00:22:31 +0100 (CET) (envelope-from ticso) Date: Mon, 4 Feb 2002 00:22:30 +0100 From: Bernd Walter To: Matthew Rezny Cc: "alpha@freebsd.org" Subject: Re: problem compiling 4.5 kernel Message-ID: <20020203232230.GB20659@cicely8.cicely.de> References: <20020203225202.F38A837B41D@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020203225202.F38A837B41D@hub.freebsd.org> User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Feb 03, 2002 at 04:52:31PM -0600, Matthew Rezny wrote: > In my make.conf I have CPUTYPE=pca56, which takes care of problems > compiling some ports. When compiling the 4.5 kernel I got the following > error: > Assembler: opcode 'minsw4' not supported for target ev56 > I tried changing it to CPUTYPE=ev56, which should be only a minor > difference, and the compilation no longer fails. Has anyone else run > into this? This appeared to have happened on a .c file, so it appears > perhaps the compiler is making bad assrmbler code. That's the way the compiler is called for kernel compilation. It tells the cpu type for c code optimizing and it tells the instruction set for available assembly instructions, which is not set by CPUTYPE and defaults to ev56. The reason is that you can comile ev4 kernel but still can use ev56 assembly sections in specific parts to get multiple cpus supported in a combined kernel. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message