From owner-freebsd-sparc64@FreeBSD.ORG Mon Nov 22 11:37:32 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E604516A4CE; Mon, 22 Nov 2004 11:37:32 +0000 (GMT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56B8843D41; Mon, 22 Nov 2004 11:37:32 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) iAMBbRAZ019624; Mon, 22 Nov 2004 12:37:31 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id iAMBbL5n019623; Mon, 22 Nov 2004 12:37:21 +0100 (CET) (envelope-from marius) Date: Mon, 22 Nov 2004 12:37:21 +0100 From: Marius Strobl To: Kris Kennaway Message-ID: <20041122123721.A19023@newtrinity.zeist.de> References: <20041114230005.GH90701@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20041114230005.GH90701@xor.obsecurity.org>; from kris@obsecurity.org on Sun, Nov 14, 2004 at 03:00:05PM -0800 X-AntiVirus: checked by AntiVir Milter (version: 1.1; AVE: 6.28.0.18; VDF: 6.28.0.83; host: newtrinity.zeist.de) cc: sparc64@freebsd.org Subject: Re: Error: Illegal operands: There are only 32 single precision f registers; [0-31] X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 11:37:33 -0000 On Sun, Nov 14, 2004 at 03:00:05PM -0800, Kris Kennaway wrote: > A number of ports are failing on sparc64 with the following error: > > Error: Illegal operands: There are only 32 single precision f registers; [0-31] > > It makes me suspect a compiler or assembler bug..can someone take a > look in more detail? More errors are available on request :) > The patch at: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/opcodes/sparc-opc.c.diff?r1=1.9&r2=1.10&cvsroot=src fixes these and doesn't break world. Binutils 2.15 were branched with rev. 1.9 of sparc-opc.c so I think it's fairly safe to import rev. 1.10 onto the vendor branch in FreeBSD.