On Tue, Jul 28, 2015 at 04:42:33PM +0200, Jrmie Courrges-Anglas wrote: > Stuart Henderson <s...@spacehopper.org> writes: Hi Jeremie,
> > It's just complaining about -mcpu=c3 (which we don't want anyway) so this > > should be easy enough to fix.. > > Indeed. Markus, does boost successfuly package with the following > patch? no, build fails not much later: ===> 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 : yes - iconv (libc) : no - iconv (separate) : yes - icu : no - icu (lib64) : no - gcc visibility : yes - long double support : yes 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 : yes (cached) - zlib : yes - zlib : yes (cached) 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 common.mkdir stage mkdir -p "stage" common.mkdir stage/lib mkdir -p "stage/lib" common.mkdir bin.v2/libs/atomic mkdir -p "bin.v2/libs/atomic" common.mkdir bin.v2/libs/atomic/build mkdir -p "bin.v2/libs/atomic/build" common.mkdir bin.v2/libs/atomic/build/gcc-4.2.1 mkdir -p "bin.v2/libs/atomic/build/gcc-4.2.1" common.mkdir bin.v2/libs/atomic/build/gcc-4.2.1/release mkdir -p "bin.v2/libs/atomic/build/gcc-4.2.1/release" common.mkdir bin.v2/libs/atomic/build/gcc-4.2.1/release/link-static mkdir -p "bin.v2/libs/atomic/build/gcc-4.2.1/release/link-static" common.mkdir bin.v2/libs/atomic/build/gcc-4.2.1/release/link-static/python-2.7 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 -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 -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 -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 In file included from ./boost/atomic/detail/operations_lockfree.hpp:21, from libs/atomic/src/lockpool.cpp:22: ./boost/atomic/detail/ops_gcc_sparc.hpp: In static member function 'static void boost::atomics::detail::gcc_sparc_cas32<Signed>::store(volatile typename boost::atomics::detail::make_storage_type<4u, Signed>::type&, typename boost::atomics::detail::make_storage_type<4u, Signed>::type, boost::memory_order)': ./boost/atomic/detail/ops_gcc_sparc.hpp:68: error: there are no arguments to 'fence_before_store' that depend on a template parameter, so a declaration of 'fence_before_store' must be available ./boost/atomic/detail/ops_gcc_sparc.hpp:68: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ./boost/atomic/detail/ops_gcc_sparc.hpp: In static member function 'static void boost::atomics::detail::gcc_sparc_cas64<Signed>::store(volatile typename boost::atomics::detail::make_storage_type<8u, Signed>::type&, typename boost::atomics::detail::make_storage_type<8u, Signed>::type, boost::memory_order)': ./boost/atomic/detail/ops_gcc_sparc.hpp:160: error: there are no arguments to 'fence_before_store' that depend on a template parameter, so a declaration of 'fence_before_store' must be available ./boost/atomic/detail/ops_gcc_sparc.hpp: In static member function 'static void boost::atomics::detail::gcc_sparc_cas32<Signed>::store(volatile typename boost::atomics::detail::make_storage_type<4u, Signed>::type&, typename boost::atomics::detail::make_storage_type<4u, Signed>::type, boost::memory_order) [with bool Signed = false]': ./boost/atomic/detail/ops_cas_based.hpp:83: instantiated from 'static void boost::atomics::detail::cas_based_operations<Base>::clear(volatile typename Base::storage_type&, boost::memory_order) [with Base = boost::atomics::detail::gcc_sparc_cas32<false>]' libs/atomic/src/lockpool.cpp:111: instantiated from here ./boost/atomic/detail/ops_gcc_sparc.hpp:68: error: 'fence_before_store' was not declared in this scope ...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/mystuff/devel/boost (/usr/ports/infrastructure/mk/bsd.port.mk:2488 'all')