Skip to content

Fix linking -lpthread for semaphores

Hello,

On the GNU/Hurd OS, the posix semaphore library does not link because of undefined reference to sem_* functions. I do not know how the ghc build process works, could it be that it forgets to use -lpthread for that library?

Samuel

Trac metadata
Trac field Value
Version 6.10.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown/Multiple
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information