Problem with gold linker and 7.8.1rc2

harry voldermort at hotmail.com
Tue Mar 4 09:13:39 UTC 2014


If I use the gold linker with 7.8.1rc2 (RHEL bindist), anything using network
in build-depends - even if it's not used in the code - fails to build with:

libHSunix-2.7.0.1-ghc7.8.0.20140228.so: error: undefined reference to
'sem_unlink'
libHSunix-2.7.0.1-ghc7.8.0.20140228.so: error: undefined reference to
'sem_open'
libHSunix-2.7.0.1-ghc7.8.0.20140228.so: error: undefined reference to
'sem_wait'
libHSunix-2.7.0.1-ghc7.8.0.20140228.so: error: undefined reference to
'sem_getvalue'
libHSunix-2.7.0.1-ghc7.8.0.20140228.so: error: undefined reference to
'sem_close'
libHSunix-2.7.0.1-ghc7.8.0.20140228.so: error: undefined reference to
'sem_post'
libHSunix-2.7.0.1-ghc7.8.0.20140228.so: error: undefined reference to
'sem_trywait'

(I only have shared libraries on this machine.)



--
View this message in context: http://haskell.1045720.n5.nabble.com/Problem-with-gold-linker-and-7-8-1rc2-tp5745027.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at Nabble.com.


More information about the Glasgow-haskell-users mailing list