[Boost-bugs] [Boost C++ Libraries] #3231: boost::thread fails to compile with the sun CC compiler

Subject: [Boost-bugs] [Boost C++ Libraries] #3231: boost::thread fails to compile with the sun CC compiler
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-29 10:23:35


#3231: boost::thread fails to compile with the sun CC compiler
------------------------------------------------------+---------------------
 Reporter: Frank Meerkötter <frank@…> | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: None
  Version: Boost Development Trunk | Severity: Problem
 Keywords: thread sun |
------------------------------------------------------+---------------------
 I can't compile the thread library on solaris using the sun compiler.

 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
 "libs/thread/src/pthread/thread.cpp", line 77: Error: The operation
 "boost::shared_ptr<boost::detail::tss_cleanup_function> && void*" is
 illegal.
 "libs/thread/src/pthread/thread.cpp", line 588: Error: The operation
 "boost::shared_ptr<boost::detail::tss_cleanup_function> || void*" is
 illegal.
 2 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-sw-mt-1_40.so.1.40.0 for lack of
 <pbin.v2/libs/thread/build/sun/release/stdlib-sun-stlport/threading-
 multi>pthread/thread.o...
 ...skipped <p/home/meerkoef/boost/sun5/lib>libboost_thread-sw-
 mt-1_40.so.1.40.0 for lack of <pbin.v2/libs/thread/build/sun/release
 /stdlib-sun-stlport/threading-multi>libboost_thread-sw-
 mt-1_40.so.1.40.0...
 ...skipped <p/home/meerkoef/boost/sun5/lib>libboost_thread-sw-mt.so for
 lack of <p/home/meerkoef/boost/sun5/lib>libboost_thread-sw-
 mt-1_40.so.1.40.0...
 common.mkdir bin.v2/libs/date_time/build/sun/release/link-static
 ...on 7500th target...

 The compiler version used is:
 CC -V
 CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25

 The boost version used is the boost-trunk of today
 svn info
 Path: .
 URL: http://svn.boost.org/svn/boost/trunk
 Repository Root: http://svn.boost.org/svn/boost
 Repository UUID: b8fc166d-592f-0410-95f2-cb63ce0dd405
 Revision: 54497
 Node Kind: directory
 Schedule: normal
 Last Changed Author: rogeeff
 Last Changed Rev: 54495
 Last Changed Date: 2009-06-29 05:44:38 +0200 (Mon, 29 Jun 2009)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3231>
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