[GHC] #8451: Link problem on FreeBSD

GHC ghc-devs at haskell.org
Thu Oct 17 04:14:21 UTC 2013


#8451: Link problem on FreeBSD
------------------------------+--------------------------------------------
       Reporter:  kazu-       |             Owner:
  yamamoto                    |            Status:  new
           Type:  bug         |         Milestone:
       Priority:  high        |           Version:  7.7
      Component:  Compiler    |  Operating System:  FreeBSD
       Keywords:              |   Type of failure:  GHC doesn't work at all
   Architecture:              |         Test Case:
  Unknown/Multiple            |          Blocking:
     Difficulty:  Unknown     |
     Blocked By:              |
Related Tickets:              |
------------------------------+--------------------------------------------
 GHC head on FreeBSD causes a link error if -prof and -threaded are
 specified:

 {{{
 % cat main.hs
 main = putStrLn "hello"
 % ghc -prof -threaded main.hs
 [1 of 1] Compiling Main             ( main.hs, main.o )
 /usr/local/lib/gcc47/gcc/x86_64-portbld-
 freebsd9.1/4.7.3/../../../../../x86_64-portbld-freebsd9.1/bin/ld: cannot
 find -lthr
 collect2: error: ld returned 1 exit status
 }}}

 Note that libHSrts_thr* are certainly installed.

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


More information about the ghc-tickets mailing list