Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2002 00:22:30 +0100
From:      Bernd Walter <ticso@cicely8.cicely.de>
To:        Matthew Rezny <mrezny@umr.edu>
Cc:        "alpha@freebsd.org" <alpha@FreeBSD.ORG>
Subject:   Re: problem compiling 4.5 kernel
Message-ID:  <20020203232230.GB20659@cicely8.cicely.de>
In-Reply-To: <20020203225202.F38A837B41D@hub.freebsd.org>
References:  <20020203225202.F38A837B41D@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020203232230.GB20659>