Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2009 17:57:34 +0300
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        Boris Kochergin <spawk@acm.poly.edu>
Cc:        ports@freebsd.org, Mark Linimon <linimon@lonesome.com>, Alexander Churanov <alexanderchuranov@gmail.com>
Subject:   Re: Issues with devel/boost-* on Sparc64
Message-ID:  <Ky7FV1nJOTSLuSXuD6IIFR9MNeY@SNwcwk2DeGhgeFqjLEiQrEAOiKg>
In-Reply-To: <BTAsGXLMP5aSX1%2BqQS%2BY4/eJCnU@SNwcwk2DeGhgeFqjLEiQrEAOiKg>
References:  <3cb459ed0911071747y11e5ace3gca92c9814a11d139@mail.gmail.com> <4AF628EC.3030404@acm.poly.edu> <BTAsGXLMP5aSX1%2BqQS%2BY4/eJCnU@SNwcwk2DeGhgeFqjLEiQrEAOiKg>

next in thread | previous in thread | raw e-mail | index | archive | help
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
    {_.-``-'         {_/            #



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