#3178: Fix linking -lpthread for semaphores
----------------------+-----------------------------------------------------
 Reporter:  sthibaul  |          Owner:                  
     Type:  bug       |         Status:  new             
 Priority:  normal    |      Milestone:                  
Component:  Compiler  |        Version:  6.10.2          
 Severity:  normal    |     Resolution:                  
 Keywords:            |       Testcase:                  
       Os:  Other     |   Architecture:  Unknown/Multiple
----------------------+-----------------------------------------------------
Changes (by sthibaul):

  * os:  Unknown/Multiple => Other

Comment:

 More precisely, I'm getting

 Linking dist-inplace/build/ghc-pkg/ghc-pkg ...
 /usr/lib/ghc-6.8.2/lib/unix-2.3.0.0/libHSunix-2.3.0.0.a(Semaphore.o): In
 function `s1Zi_entry':
 (.text+0x1947): undefined reference to `sem_unlink'

 Yes, I'm currently building 6.10 using the already-compiled 6.8

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3178#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to