|
Boost-Build : |
Subject: Re: [Boost-build] cross compiling linux boost libraries into mips board
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-07-14 05:25:05
On Wednesday 14 July 2010 13:03:47 Madhukar Sandi wrote:
> Hi
>
>
> I am able to cross compile with mips tool chain
>
> But im getting so much errors.
>
> Please give some clues, how to resolve my errors
...
> gcc.compile.c++ bin.v2/libs/math/build/gcc-mips/release/threading-multi/cyl_bessel_i.o
> /tmp/ccAlBvKj.s: Assembler messages:
> /tmp/ccAlBvKj.s:6362: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
It seems like some bits of Boost, shared_ptr most likely, is using an instruction which is not
supported by the default flavour of MIPS gcc uses. The complete list of architectures is:
mips1 mips2 mips3 mips4 mips32 mips32r2 mips64
Would you please try passing additional Boost.Build option
architecture=<XXX>
Where <XXX> is taken from the above list. Either pick whatever is right for your target,
or try them all. Let me know if this helps. If that does not help, use
define=BOOST_SP_DISABLE_THREADS
or
define=BOOST_SP_USE_PTHREADS
as appropriate. Those defines are documented in smart_prt documentation, I believe.
Thanks,
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build: http://boost.org/boost-build2
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk