[GHC] #847: Threaded RTS problems on FreeBSD

GHC ghc-devs at haskell.org
Mon Jul 24 23:36:19 UTC 2017


#847: Threaded RTS problems on FreeBSD
-----------------------------------+---------------------------------
        Reporter:  simonmar        |         Owner:  simonmar
            Type:  bug             |        Status:  closed
        Priority:  normal          |     Milestone:  6.4.3
       Component:  Runtime System  |       Version:  6.4.2
      Resolution:  fixed           |      Keywords:
Operating System:  FreeBSD         |  Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown    |     Test Case:
-----------------------------------+---------------------------------
Changes (by Ben Gamari <ben@…>):

 * failure:   => None/Unknown


Comment:

 In [changeset:"d8051c6cf08f02331f98fed7d5e88a95bd76e534/ghc" d8051c6/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d8051c6cf08f02331f98fed7d5e88a95bd76e534"
 Use libpthread instead of libthr on FreeBSD

 Since #847 we have used libthr due to reported hangs with FreeBSD's
 KSE-based M:N pthread implementation. However, this was nearly 12 years
 ago and today libpthread seems to work fine. Moreover, adding -lthr to
 the linker flags break when used in conjunction with -r when gold is
 used (since -l and -r are incompatible although BFD ld doesn't
 complain).

 Test Plan: Validate on FreeBSD

 Reviewers: kgardas, austin

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #847

 Differential Revision: https://phabricator.haskell.org/D3773
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/847#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list