Issues with devel/boost-* on Sparc64
Eygene Ryabinkin
rea-fbsd at codelabs.ru
Mon Nov 9 14:57:39 UTC 2009
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
{_.-``-' {_/ #
More information about the freebsd-ports
mailing list