Subject: [Boost-bugs] [Boost C++ Libraries] #11559: Boost.Log 1.59 does not compile with Android NDK
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-20 01:10:41
#11559: Boost.Log 1.59 does not compile with Android NDK
------------------------------+---------------------
Reporter: jeffcrogers@⦠| Owner: andysem
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost 1.59.0 | Severity: Problem
Keywords: |
------------------------------+---------------------
Seems like include/boost/log/detail/event.hpp will always result in
BOOST_LOG_EVENT_USE_FUTEX being defined on newer linux, including Android,
but Android does not support the sys_futex sys call:
{{{
libs/log/src/event.cpp:93:27: error: 'SYS_futex' was not declared in this
scope
if (::syscall(SYS_futex, &m_state.storage(),
BOOST_LOG_FUTEX_WAIT, 0, NULL, NULL, 0) == 0)
^
In file included from ./boost/config.hpp:39:0,
from ./boost/log/detail/config.hpp:27,
from libs/log/src/event.cpp:16:
libs/log/src/event.cpp: In member function 'void
boost::log::v2s_mt_posix::aux::futex_based_event::set_signalled()':
libs/log/src/event.cpp:121:38: error: 'SYS_futex' was not declared in this
scope
if (BOOST_UNLIKELY(::syscall(SYS_futex, &m_state.storage(),
BOOST_LOG_FUTEX_WAKE, 1, NULL, NULL, 0) < 0))
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11559> 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:18 UTC