It's just complaining about -mcpu=c3 (which we don't want anyway) so this should be easy enough to fix..
On 27 July 2015 23:07:21 BST, Markus Lude <[email protected]> wrote: >Hello, > >devel/boost fails to build on sparc64 here: > >===> Building for boost-1.58.0 >Performing configuration checks > > - 32-bit : no > - 64-bit : yes > - arm : no > - mips1 : no > - power : no > - sparc : yes > >Building the Boost C++ Libraries. > > > - lockfree boost::atomic_flag : no > - has_icu builds : no >warning: Graph library does not contain MPI-based parallel components. >note: to enable them, add "using mpi ;" to your user-config.jam > - zlib : no > - iconv (libc) : no > - iconv (separate) : no > - icu : no > - icu (lib64) : no >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. > - gcc visibility : no > - long double support : no >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. > - zlib : no (cached) >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. > - zlib : no >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. > - zlib : no (cached) >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. >- Boost.Locale needs either iconv or ICU library to be built. > >Component configuration: > > - atomic : building > - chrono : building > - container : building > - context : not building > - coroutine : building > - date_time : building > - exception : building > - filesystem : building > - graph : building > - graph_parallel : building > - iostreams : building > - locale : building > - log : building > - math : building > - mpi : building > - program_options : building > - python : building > - random : building > - regex : building > - serialization : building > - signals : building > - system : building > - test : building > - thread : building > - timer : building > - wave : building > > >mkdir -p >"bin.v2/libs/atomic/build/gcc-4.2.1/release/link-static/python-2.7" > >common.mkdir >bin.v2/libs/atomic/build/gcc-4.2.1/release/link-static/python-2.7/threading-multi > >mkdir -p >"bin.v2/libs/atomic/build/gcc-4.2.1/release/link-static/python-2.7/threading-multi" > >gcc.compile.c++ >bin.v2/libs/atomic/build/gcc-4.2.1/release/link-static/python-2.7/threading-multi/lockpool.o > >echo "g++" -ftemplate-depth-128 -finline-functions -Wno-inline -Wall >-mcpu=c3 -pthread -m64 -O2 -pipe -pthread -O2 -pipe -pthread >-DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_SOURCE -DBOOST_ATOMIC_STATIC_LINK=1 >-DNDEBUG -I"." -c -o >"bin.v2/libs/atomic/build/gcc-4.2.1/release/link-static/python-2.7/threading-multi/lockpool.o" >"libs/atomic/src/lockpool.cpp" >"g++" -ftemplate-depth-128 -finline-functions -Wno-inline -Wall >-mcpu=c3 -pthread -m64 -O2 -pipe -pthread -O2 -pipe -pthread >-DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_SOURCE -DBOOST_ATOMIC_STATIC_LINK=1 >-DNDEBUG -I"." -c -o >"bin.v2/libs/atomic/build/gcc-4.2.1/release/link-static/python-2.7/threading-multi/lockpool.o" >"libs/atomic/src/lockpool.cpp" > >g++ -ftemplate-depth-128 -finline-functions -Wno-inline -Wall -mcpu=c3 >-pthread -m64 -O2 -pipe -pthread -O2 -pipe -pthread >-DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_SOURCE -DBOOST_ATOMIC_STATIC_LINK=1 >-DNDEBUG -I. -c -o >bin.v2/libs/atomic/build/gcc-4.2.1/release/link-static/python-2.7/threading-multi/lockpool.o >libs/atomic/src/lockpool.cpp >libs/atomic/src/lockpool.cpp:1: error: bad value (c3) for -mcpu= switch >...skipped ><pbin.v2/libs/atomic/build/gcc-4.2.1/release/link-static/python-2.7/threading-multi>libboost_atomic-mt.a >for lack of ><pbin.v2/libs/atomic/build/gcc-4.2.1/release/link-static/python-2.7/threading-multi>lockpool.o... >...failed updating 1 target... >*** Error 1 in . (Makefile:111 'do-build': @cd >/usr/ports/pobj/boost-1.58.0/boost_1_58_0 && ./b2 >-sICONV_PATH=/usr/local -sBZIP2_INCLUDE=/...) >*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2763 >'/usr/ports/pobj/boost-1.58.0/.build_done') >*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1952 >'/usr/ports/packages/sparc64/all/boost-1.58.0.tgz') >*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2508 >'_internal-package') >*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2488 >'package') >*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1969 >'/var/db/pkg/boost-1.58.0/+CONTENTS') >*** Error 1 in /usr/ports/devel/boost >(/usr/ports/infrastructure/mk/bsd.port.mk:2488 'install') -- Sent from a phone, please excuse the formatting.
