Subject: [Boost-bugs] [Boost C++ Libraries] #3283: boost::thread/boost::date_time not compiling with sunstudio 11
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-22 23:13:36
#3283: boost::thread/boost::date_time not compiling with sunstudio 11
-----------------------------------+----------------------------------------
Reporter: frank@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: thread
Version: Boost Release Branch | Severity: Problem
Keywords: date_time thread |
-----------------------------------+----------------------------------------
I try to compile boost::thread (1.39/svn-trunk/svn-release it doesnt
matter) with sunstudio11 on open solaris. The compile fails because of
problems with date_time.
{{{
common.mkdir bin.v2/libs/thread
common.mkdir bin.v2/libs/thread/build
common.mkdir bin.v2/libs/thread/build/sun
common.mkdir bin.v2/libs/thread/build/sun/release
common.mkdir bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport
common.mkdir bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport
/threading-multi
common.mkdir bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport
/threading-multi/pthread
sun.compile.c++ bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport
/threading-multi/pthread/thread.o
"./boost/date_time/time_duration.hpp", line 264: Error: int64_t is not a
member of boost.
"./boost/date_time/time_resolution_traits.hpp", line 48: Error: int64_t is
not a member of boost.
"./boost/date_time/time_resolution_traits.hpp", line 49: Error: int64_t is
not a member of boost.
"./boost/date_time/time_resolution_traits.hpp", line 56: Error: int64_t is
not a member of boost.
"./boost/date_time/time_resolution_traits.hpp", line 57: Error: int64_t is
not a member of boost.
"./boost/date_time/time_resolution_traits.hpp", line 58: Error: Variable i
is not a structure.
"./boost/date_time/posix_time/posix_time_config.hpp", line 157: Error:
int64_t is not a member of boost.
"./boost/date_time/posix_time/posix_time_config.hpp", line 167: Error:
int64_t is not a member of boost.
"./boost/date_time/time_system_counted.hpp", line 48: Error: Multiple
declaration for
boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>::counted_time_rep(int).
"./boost/date_time/time_system_counted.hpp", line 124: Where: While
specializing
"boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>".
"./boost/date_time/time_system_counted.hpp", line 124: Where:
Specialized in
boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>>.
"./boost/date_time/time.hpp", line 53: Where: Specialized in
boost::date_time::base_time<boost::posix_time::ptime,
boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>>>.
"./boost/date_time/posix_time/ptime.hpp", line 32: Where: Specialized
in non-template code.
"./boost/date_time/time_duration.hpp", line 269: Error: No direct
declarator preceding "(".
"./boost/thread/xtime.hpp", line 53: Where: While specializing
"boost::date_time::subsecond_duration<boost::posix_time::time_duration,
1000000>".
"./boost/thread/xtime.hpp", line 53: Where: Specialized in non-
template code.
"./boost/thread/detail/thread.hpp", line 344: Error:
boost::thread::thread(boost::thread&) is not accessible from
boost::move(boost::detail::thread_move_t<boost::thread>).
11 Error(s) detected.
"CC" -library=stlport4 -xO4 -mt -erroff=%none -KPIC
-DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX
-DNDEBUG -I"." -c -o "bin.v2/libs/thread/build/sun/release/stdlib-sun-
stlport/threading-multi/pthread/thread.o"
"libs/thread/src/pthread/thread.cpp"
...failed sun.compile.c++ bin.v2/libs/thread/build/sun/release/stdlib-sun-
stlport/threading-multi/pthread/thread.o...
sun.compile.c++ bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport
/threading-multi/pthread/exceptions.o
sun.compile.c++ bin.v2/libs/thread/build/sun/release/stdlib-sun-stlport
/threading-multi/pthread/once.o
...skipped <pbin.v2/libs/thread/build/sun/release/stdlib-sun-stlport
/threading-multi>libboost_thread.so.1.40.0 for lack of
<pbin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-
multi>pthread/thread.o...
...skipped <pstage/lib>libboost_thread.so.1.40.0 for lack of
<pbin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-
multi>libboost_thread.so.1.40.0...
...skipped <pstage/lib>libboost_thread.so for lack of
<pstage/lib>libboost_thread.so.1.40.0...
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3283> 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:00 UTC