Re: [Boost-bugs] [Boost C++ Libraries] #10446: boost 1.56 compile fail with atomics failure

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10446: boost 1.56 compile fail with atomics failure
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-22 09:41:15


#10446: boost 1.56 compile fail with atomics failure
--------------------------------+--------------------------
  Reporter: niqingliang2003@… | Owner: timblechmann
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: atomic
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords: atomic
--------------------------------+--------------------------

Comment (by mrwombat):

 Same problem here with raspberry pi, compiling with g++-4.8 (Raspbian
 4.8.2-21~rpi3rpi1) 4.8.2, more info:

     - 32-bit : yes
     - arm : yes
     - 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) : yes
     - icu : no
     - icu (lib64) : no
     - x86 : no
     - gcc visibility : yes
     - long double support : yes


 Error:
 gcc.compile.c++ /tmp/build-
 boost/boost/bin.v2/libs/atomic/build/gcc-4.8/release/threading-
 multi/lockpool.o
 libs/atomic/src/lockpool.cpp: In static member function ‘static void
 boost::atomics::detail::lockpool::thread_fence()’:
 libs/atomic/src/lockpool.cpp:127:5: error: ‘thread_fence’ is not a member
 of ‘boost::atomics::detail’
      atomics::detail::thread_fence(memory_order_seq_cst);
      ^
 libs/atomic/src/lockpool.cpp: In static member function ‘static void
 boost::atomics::detail::lockpool::signal_fence()’:
 libs/atomic/src/lockpool.cpp:138:5: error: ‘signal_fence’ is not a member
 of ‘boost::atomics::detail’
      atomics::detail::signal_fence(memory_order_seq_cst);
      ^

     "g++-4.8" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline
 -Wall -pthread -fPIC -std=c++11 -DBOOST_ALL_NO_LIB=1
 -DBOOST_ATOMIC_DYN_LINK=1 -DBOOST_ATOMIC_SOURCE -DNDEBUG -I"." -c -o
 "/tmp/build-boost/boost/bin.v2/libs/atomic/build/gcc-4.8/release
 /threading-multi/lockpool.o" "libs/atomic/src/lockpool.cpp"

 ...failed gcc.compile.c++ /tmp/build-
 boost/boost/bin.v2/libs/atomic/build/gcc-4.8/release/threading-
 multi/lockpool.o...
 ...skipped <p/tmp/build-
 boost/boost/bin.v2/libs/atomic/build/gcc-4.8/release/threading-
 multi>libboost_atomic.so.1.56.0 for lack of <p/tmp/build-
 boost/boost/bin.v2/libs/atomic/build/gcc-4.8/release/threading-
 multi>lockpool.o...
 ...skipped <pstage/lib>libboost_atomic.so.1.56.0 for lack of <p/tmp/build-
 boost/boost/bin.v2/libs/atomic/build/gcc-4.8/release/threading-
 multi>libboost_atomic.so.1.56.0...
 ...skipped <pstage/lib>libboost_atomic.so for lack of
 <pstage/lib>libboost_atomic.so.1.56.0...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10446#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC