Opened 13 years ago

Closed 11 years ago

#3639 closed Bugs (fixed)

Boost.Thread doesn't build with Sun-5.9 on Linux

Reported by: John Maddock Owned by: viboes
Milestone: Boost 1.49.0 Component: thread
Version: Boost Development Trunk Severity: Problem
Keywords: Cc: viboes

Description

I don't really know what the correct fix is here, but sun's Linux compiler fails with Boost.Thread (in trunk) on Ubuntu Linux with:

"../../../boost/thread/pthread/mutex.hpp", line 142: Error: The function "pthread_mutex_timedlock" must have a prototype. "../../../boost/thread/pthread/mutex.hpp", line 142: Error: The function "pthread_mutex_timedlock" must have a prototype.

Which is pretty annoying when you're trying to test code that depends on Boost.Thread!

It seems that _POSIX_TIMEOUTS is defined, but pthread.h still isn't defining pthread_mutex_timedlock, which is guarded by USE_XOPEN2K which is *not* set :-(

John.

Attachments (1)

timed_mutex.patch (369 bytes ) - added by anonymous 12 years ago.
_POSIX_C_SOURCE>=200112

Download all attachments as: .zip

Change History (13)

comment:1 by viboes, 13 years ago

Cygwin doesn't defines pthread_mutex_timedlock. The emulation provided for cygwin should be good in this case.

comment:2 by viboes, 12 years ago

Could you attach the pthread.h file on this platform? What is the usual way to set USE_XOPEN2K? Can you try by setting it directly?

comment:3 by viboes, 12 years ago

Cc: viboes added

comment:4 by John Maddock, 12 years ago

Apologies for the long delay, setting _ _USE_XOPEN2K doesn't work as features.h #undef's it.

It gets set when _POSIX_C_SOURCE is >= 200112L (setting this on the command line does fix the issue BTW), but by default sun sets _POSIX_C_SOURCE to 199506L. So I think that the correct fix for enabling the feature is to check that _POSIX_TIMEOUTS is set, and that _POSIX_C_SOURCE >= 200112L as well. pthread.h BTW is the standard Linux system one.

HTH, John.

by anonymous, 12 years ago

Attachment: timed_mutex.patch added

_POSIX_C_SOURCE>=200112

comment:5 by viboes, 12 years ago

Type: BugsPatches

I don't know if the attached patch solve the issue. Someone ca test it?

comment:6 by John Maddock, 12 years ago

That does indeed fix the basic issue, there are still test failures though as noted below.

...patience...
...found 1658 targets...
...updating 88 targets...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_thread_move.cpp at line 16.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o" "test_thread_move.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_thread_move.cpp at line 16.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o" "test_thread_move.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_lib...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_thread_return_local.cpp at line 15.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o" "test_thread_return_local.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_return_local for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_return_local.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_return_local.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_return_local...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_thread_return_local.cpp at line 15.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o" "test_thread_return_local.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_return_local.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_return_local_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_return_local.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_return_local_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_return_local_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_return_local_lib...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_thread_move_return.cpp at line 15.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o" "test_thread_move_return.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_return for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_return.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_return.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_return...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_thread_move_return.cpp at line 15.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o" "test_thread_move_return.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_move_return.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_return_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_return.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_return_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_move_return_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_move_return_lib...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_thread_launching.cpp at line 35.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o" "test_thread_launching.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_launching for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_launching.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_launching.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_launching...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_thread_launching.cpp at line 35.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o" "test_thread_launching.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_launching.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_launching_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_launching.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_launching_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_launching_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_launching_lib...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_thread_mf.cpp at line 52.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o" "test_thread_mf.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_mf for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_mf.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_mf.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_mf...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_thread_mf.cpp at line 52.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o" "test_thread_mf.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_mf.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_mf_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_mf.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_mf_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_mf_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_mf_lib...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o
"../../../boost/thread/future.hpp", line 422: Error: boost::unique_lock<boost::mutex>::operator=(boost::unique_lock<boost::mutex>&) is not accessible from boost::detail::future_waiter::all_futures_lock::all_futures_lock(std::vector<boost::detail::future_waiter::registered_waiter>&).
1 Error(s) detected.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o" "test_thread_exit.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_exit for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_exit.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_exit.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_exit...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o
"../../../boost/thread/future.hpp", line 422: Error: boost::unique_lock<boost::mutex>::operator=(boost::unique_lock<boost::mutex>&) is not accessible from boost::detail::future_waiter::all_futures_lock::all_futures_lock(std::vector<boost::detail::future_waiter::registered_waiter>&).
1 Error(s) detected.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o" "test_thread_exit.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_thread_exit.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_exit_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_exit.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_exit_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_thread_exit_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_thread_exit_lib...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o
"test_move_function.cpp", line 38: Error: boost::thread::thread(boost::thread&) is not accessible from start_thread().
"test_move_function.cpp", line 43: Error: boost::thread::thread(boost::thread&) is not accessible from test_thread_move_from_rvalue_on_construction().
"test_move_function.cpp", line 71: Error: boost::unique_lock<boost::mutex>::unique_lock(boost::unique_lock<boost::mutex>&) is not accessible from get_lock(boost::mutex&).
"test_move_function.cpp", line 78: Error: boost::unique_lock<boost::mutex>::unique_lock(boost::unique_lock<boost::mutex>&) is not accessible from test_unique_lock_move_from_rvalue_on_construction().
4 Error(s) detected.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o" "test_move_function.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_move_function for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_move_function.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_move_function.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_move_function...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o
"test_move_function.cpp", line 38: Error: boost::thread::thread(boost::thread&) is not accessible from start_thread().
"test_move_function.cpp", line 43: Error: boost::thread::thread(boost::thread&) is not accessible from test_thread_move_from_rvalue_on_construction().
"test_move_function.cpp", line 71: Error: boost::unique_lock<boost::mutex>::unique_lock(boost::unique_lock<boost::mutex>&) is not accessible from get_lock(boost::mutex&).
"test_move_function.cpp", line 78: Error: boost::unique_lock<boost::mutex>::unique_lock(boost::unique_lock<boost::mutex>&) is not accessible from test_unique_lock_move_from_rvalue_on_construction().
4 Error(s) detected.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o" "test_move_function.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_move_function.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_move_function_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_move_function.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_move_function_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_move_function_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_move_function_lib...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_mutex.cpp at line 0.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o" "test_mutex.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_mutex for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_mutex.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_mutex.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_mutex...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_mutex.cpp at line 0.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o" "test_mutex.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_mutex.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_mutex_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_mutex.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_mutex_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_mutex_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_mutex_lib...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_tss.cpp at line 284.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o" "test_tss.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_tss for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_tss.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_tss.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_tss...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_tss.cpp at line 284.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o" "test_tss.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_tss.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_tss_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_tss.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_tss_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_tss_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_tss_lib...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_lock_concept.cpp at line 526.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o" "test_lock_concept.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_lock_concept for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_lock_concept.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_lock_concept.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_lock_concept...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o
 >> Assertion:  unexpected type_builder::visit_unspec (../lnk/v2mangler.cc, line 1635)
    while processing test_lock_concept.cpp at line 526.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o" "test_lock_concept.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_lock_concept.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_lock_concept_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_lock_concept.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_lock_concept_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_lock_concept_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_lock_concept_lib...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o
"../../../boost/thread/future.hpp", line 422: Error: boost::unique_lock<boost::mutex>::operator=(boost::unique_lock<boost::mutex>&) is not accessible from boost::detail::future_waiter::all_futures_lock::all_futures_lock(std::vector<boost::detail::future_waiter::registered_waiter>&).
"test_futures.cpp", line 92: Error: boost::unique_future<int>::unique_future(boost::unique_future<int>&) is not accessible from test_store_value_from_thread().
Error: Cannot continue processing because of prior errors.
"../../../boost/type_traits/is_arithmetic.hpp", line 34:     Where: While specializing "boost::is_integral<?&>".
"../../../boost/type_traits/is_arithmetic.hpp", line 34:     Where: Specialized in boost::detail::is_arithmetic_impl<?&>.
"../../../boost/type_traits/is_arithmetic.hpp", line 44:     Where: Specialized in boost::is_arithmetic<?&>.
"../../../boost/type_traits/is_convertible.hpp", line 354:     Where: Specialized in boost::detail::is_convertible_impl_dispatch_base<?&, boost::detail::thread_move_t<?&>>.
"../../../boost/type_traits/is_convertible.hpp", line 372:     Where: Specialized in boost::detail::is_convertible_impl_dispatch<?&, boost::detail::thread_move_t<?&>>.
"../../../boost/type_traits/is_convertible.hpp", line 418:     Where: Specialized in boost::is_convertible<?&, boost::detail::thread_move_t<?&>>.
"../../../boost/utility/enable_if.hpp", line 59:     Where: Specialized in boost::disable_if<boost::is_convertible<?&, boost::detail::thread_move_t<?&>>, boost::thread::dummy*>.
"test_futures.cpp", line 93:     Where: Specialized in non-template code.
Compilation aborted.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o" "test_futures.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_futures for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_futures.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_futures.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_futures...
sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o
"../../../boost/thread/future.hpp", line 422: Error: boost::unique_lock<boost::mutex>::operator=(boost::unique_lock<boost::mutex>&) is not accessible from boost::detail::future_waiter::all_futures_lock::all_futures_lock(std::vector<boost::detail::future_waiter::registered_waiter>&).
"test_futures.cpp", line 92: Error: boost::unique_future<int>::unique_future(boost::unique_future<int>&) is not accessible from test_store_value_from_thread().
Error: Cannot continue processing because of prior errors.
"../../../boost/type_traits/is_arithmetic.hpp", line 34:     Where: While specializing "boost::is_integral<?&>".
"../../../boost/type_traits/is_arithmetic.hpp", line 34:     Where: Specialized in boost::detail::is_arithmetic_impl<?&>.
"../../../boost/type_traits/is_arithmetic.hpp", line 44:     Where: Specialized in boost::is_arithmetic<?&>.
"../../../boost/type_traits/is_convertible.hpp", line 354:     Where: Specialized in boost::detail::is_convertible_impl_dispatch_base<?&, boost::detail::thread_move_t<?&>>.
"../../../boost/type_traits/is_convertible.hpp", line 372:     Where: Specialized in boost::detail::is_convertible_impl_dispatch<?&, boost::detail::thread_move_t<?&>>.
"../../../boost/type_traits/is_convertible.hpp", line 418:     Where: Specialized in boost::is_convertible<?&, boost::detail::thread_move_t<?&>>.
"../../../boost/utility/enable_if.hpp", line 59:     Where: Specialized in boost::disable_if<boost::is_convertible<?&, boost::detail::thread_move_t<?&>>, boost::thread::dummy*>.
"test_futures.cpp", line 93:     Where: Specialized in non-template code.
Compilation aborted.

    "/home/john/SunStudio/sunstudio12.1/bin/CC" +d -library=stlport4 -g -mt -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -I"../../.." -c -o "/home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o" "test_futures.cpp"

...failed sun.compile.c++ /home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi/test_futures.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_futures_lib for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_futures.o...
...skipped <p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_futures_lib.run for lack of <p/home/john/bin/boost/bin.v2/libs/thread/test/test_futures_lib.test/sun-12.1/debug/stdlib-sun-stlport/threading-multi>test_futures_lib...
...failed updating 22 targets...
...skipped 66 targets...

comment:7 by viboes, 11 years ago

Milestone: Boost 1.42.0To Be Determined
Type: PatchesBugs

comment:8 by viboes, 11 years ago

See also #5936 Missing prototype for pthread_mutex_timedlock causes Oracle/SUN CC to fail on Linux

comment:9 by viboes, 11 years ago

Milestone: To Be DeterminedBoost 1.49.0
Resolution: fixed
Status: newclosed

Committed in trunk At revision: 75798

comment:10 by viboes, 11 years ago

Resolution: fixed
Status: closedreopened

Let close it after merging

comment:11 by viboes, 11 years ago

Owner: changed from Anthony Williams to viboes
Status: reopenednew

comment:12 by viboes, 11 years ago

Resolution: fixed
Status: newclosed

Committed in release at #76291

Note: See TracTickets for help on using tickets.