[tor-bugs] #9495 [Tor]: Must we still disable threads on *-*-solaris*?

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 9 15:19:33 UTC 2015


#9495: Must we still disable threads on *-*-solaris*?
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:
         Type:  defect   |     Status:  reopened
     Priority:  minor    |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  tor-relay solaris 026-triaged-1
Actual Points:           |  regression
       Points:           |  Parent ID:
-------------------------+-------------------------------------------------

Comment (by nickm):

 Possible patch:
 {{{
 diff --git a/configure.ac b/configure.ac
 index e5e36d5..b28c893 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -366,6 +366,12 @@ if test "$LIBS" != "$saved_LIBS"; then
     have_rt=yes
  fi

 +case $host in
 +   *-*-solaris* )
 +     CFLAGS="$CFLAGS -pthreads"
 +     ;;
 +esac
 +
  AC_SEARCH_LIBS(pthread_create, [pthread])
  AC_SEARCH_LIBS(pthread_detach, [pthread])

 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9495#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list