From owner-freebsd-ports@FreeBSD.ORG Mon Nov 9 14:57:39 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9363D1065693 for ; Mon, 9 Nov 2009 14:57:39 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 4067F8FC16 for ; Mon, 9 Nov 2009 14:57:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codelabs.ru; s=two; h=Date:From:To:Cc:Subject:Message-ID: Reply-To:References:MIME-Version:Content-Type:In-Reply-To: Sender; bh=rJMPJiu/BnKUtdIiHkX+tdh9YfB/GqNh8k2lSVtS+O8=; b=U0VZy 8KT8f1xjR6QmHqQ3szKt1XyoeCNXy/VsK8yWYghYzgbOuWhzNy77/QNpdsodIpFY bP8/77RVLoejdNJ2K5hX+6DZ3keeKgY58pxaCTLWonmSKvT81xojTQpYmV5lfHvK G0Gk8YEt38ramuUZNkrL9PI459QYJwRxsusjYppWQ30i9hyJz8npAM+dxlPtM6NG g5xFKLT15vwXl3t3/ZiBWvLyY7hWyoCT0/sIDq+2UNp/I7VGLe/kQvrTgIxIf+H/ VjYBSwo7kRwL6SKHTlr1NdVHQnz7ihoX3Qg1RrFcWsLfSi/1n/g7tk+i/9wNUu1n AGOzJt9+LEtmCBtZg== Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1N7VgX-000210-8t; Mon, 09 Nov 2009 17:57:37 +0300 Date: Mon, 9 Nov 2009 17:57:34 +0300 From: Eygene Ryabinkin To: Boris Kochergin Message-ID: References: <3cb459ed0911071747y11e5ace3gca92c9814a11d139@mail.gmail.com> <4AF628EC.3030404@acm.poly.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: rea-fbsd@codelabs.ru Cc: ports@freebsd.org, Mark Linimon , Alexander Churanov Subject: Re: Issues with devel/boost-* on Sparc64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2009 14:57:39 -0000 Mon, Nov 09, 2009 at 04:12:01PM +0300, Eygene Ryabinkin wrote: > Sat, Nov 07, 2009 at 09:11:56PM -0500, Boris Kochergin wrote: > > > As I know, currently devel/boost-libs port fails to build on sparc64. > > > I had a discussion of this in September. The root cause is unknown for > > > me. To investigate into this further I need either access to a sparc64 > > > box or a person who has access and whom I may instruct with the > > > actions to perform. > > From the preliminary investigations I done on the Boris's machine, > it turns out that as(1) chokes on the "cas" instruction that looks > like "cas [%l0+12], %g2, %g1". The instruction itself looks sane, > so I'll try to understand if as(1) has some bugs inside it or something > isn't good with the instruction itself. Hmm, looks like only memory address taken straight from the register is allowed for the Sparc. So, [%l0] will be good, but [%l0+12] -- won't. So it seems to me that g++ is generating improper assembly code. Will look into it a bit further. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ #