Boost logo

Boost-Build :

Subject: Re: [Boost-build] cross compiling linux boost libraries into mips board
From: Madhukar Sandi (Madhukar.Sandi_at_[hidden])
Date: 2010-07-14 10:30:08


Thank you very much your support.

Now I am abe to create a boost libraries.

Now I compiled for mips32 architecture.

I have modified like below -march=mips32

tools/build/v2/tools/gcc.jam:toolset.flags gcc.compile OPTIONS <inlining>full : -finline-functions -Wno-inline -march=mips32 ;

Thanks a lot Volodya for a quick response.

Thanks & Regards
Madhukar Sandi

-----Original Message-----
From: boost-build-bounces_at_[hidden] [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Vladimir Prus
Sent: Wednesday, July 14, 2010 5:20 PM
To: boost-build_at_[hidden]
Subject: Re: [Boost-build] cross compiling linux boost libraries into mips board

Madhukar Sandi wrote:

> Thanks for reply, but im unable to rectify this errors,
>
> I checked for all architectures
> And I define BOOST_SP_DISABLE_THREADS or BOOST_SP_USE_PTHREADS
>
> These macros I defined in boost/smart_ptr/details/sp_counted_base.hpp
>
> And I set this arch flag as tools/build/v2/gcc.jam
>
> Please find below log,
>
> /tmp/ccIq0SAD.s:23149: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
> /tmp/ccIq0SAD.s:23151: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
> /tmp/ccIq0SAD.s:23185: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
> /tmp/ccIq0SAD.s:23187: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
>
> "mips-linux-g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -march=mips1

You are still compiling for mips1 here.

> -Wall
> -pthread -fPIC -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED
> -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG

Nor do I see BOOST_SP_DISABLE_THREADS here.

> -I"bin.v2/libs/math/build/gcc-mips/release/threading-multi/../src/tr1" -I"."
> -I"libs/math/src/tr1" -c -o
> "bin.v2/libs/math/build/gcc-mips/release/threading-multi/cyl_bessel_i.o"
> "libs/math/build/../src/tr1/cyl_bessel_i.cpp"
>
> ...failed gcc.compile.c++
> bin.v2/libs/math/build/gcc-mips/release/threading-multi/cyl_bessel_i.o...
>
>
>
> If any suggestion please....

Use -save-temps to get preprocessed source, and find where the offending instructions
comes from.

- Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

______________________________________________________________________

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________


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