Boost logo

Boost-Build :

Subject: [Boost-build] cross compiling linux boost libraries into mips board
From: Madhukar Sandi (Madhukar.Sandi_at_[hidden])
Date: 2010-07-14 05:03:47


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

Also I know this error from compilers only. What option I need to give in makefile.

I have given some compiler options like -D_REENTRANT, but it is not working.

Please find below error log.

user_at_INFBA01364:~/madhukar/boost/boost_1_43_0$ ./bjam --toolset=gcc-mips

Building the Boost C++ Libraries.

warning: Building Boost.Regex with the optional Unicode/ICU support disabled.
note: Please refer to the Boost.Regex documentation for more information
note: this is a strictly optional feature.
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.

Component configuration:

    - date_time : building
    - filesystem : building
    - graph : building
    - graph_parallel : building
    - iostreams : building
    - math : building
    - mpi : building
    - program_options : building
    - python : building
    - random : building
    - regex : building
    - serialization : building
    - signals : building
    - system : building
    - test : building
    - thread : building
    - wave : building

...patience...
...patience...
...patience...
...found 6692 targets...
...updating 382 targets...
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)'
/tmp/ccAlBvKj.s:6364: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:6412: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:6414: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:6546: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:6548: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:6587: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:6589: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:20444: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:20446: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:20915: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:20917: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:21036: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:21038: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:21106: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:21108: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:21258: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:21260: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:21367: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:21369: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:21388: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:21390: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:21433: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:21435: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:21503: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:21505: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:21537: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:21539: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:21558: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:21560: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:21594: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:21596: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:22057: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:22059: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:22517: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:22519: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:22638: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:22640: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:22708: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:22710: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:22860: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:22862: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:22956: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:22958: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:22977: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:22979: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:23024: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:23026: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:23094: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:23096: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:23128: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,4($16)'
/tmp/ccAlBvKj.s:23130: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,4($16)'
/tmp/ccAlBvKj.s:23149: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:23151: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'
/tmp/ccAlBvKj.s:23185: Error: opcode not supported on this processor: mips1 (mips1) `ll $3,8($16)'
/tmp/ccAlBvKj.s:23187: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,8($16)'

    "mips-linux-gcc" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -D_REENTRANT -Wall -pthread -fPIC -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"bin.v2/libs/math/build/gcc-mips/release/threading-multi/../src/tr1" -I"." -I"libs/math/src/tr1" -I/usr/local/include/boost_1_43_0/ -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...

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