[commit: ghc] master: do not link with -lrt on Solaris for threaded way (cc37175)
git at git.haskell.org
git at git.haskell.org
Mon Jul 28 14:37:42 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/cc3717597597c031dd8402c443f40f76d432c044/ghc
>---------------------------------------------------------------
commit cc3717597597c031dd8402c443f40f76d432c044
Author: Karel Gardas <karel.gardas at centrum.cz>
Date: Mon Jul 28 07:49:12 2014 -0500
do not link with -lrt on Solaris for threaded way
Summary:
This patch removes linking with rt library on Solaris
for threaded way. The reason is simple it casuses few ffi related tests
failures and also is not needed anymore.
Test Plan: validate
Reviewers: austin
Reviewed By: austin
Subscribers: phaskell, simonmar, relrod, carter
Differential Revision: https://phabricator.haskell.org/D95
>---------------------------------------------------------------
cc3717597597c031dd8402c443f40f76d432c044
compiler/main/DynFlags.hs | 1 -
1 file changed, 1 deletion(-)
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 0a18be4..1bb9f2c 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -1215,7 +1215,6 @@ wayOptl platform WayThreaded =
-- the problems are our fault or theirs, but it seems that using the
-- alternative 1:1 threading library libthr works around it:
OSFreeBSD -> ["-lthr"]
- OSSolaris2 -> ["-lrt"]
OSOpenBSD -> ["-pthread"]
OSNetBSD -> ["-pthread"]
_ -> []
More information about the ghc-commits
mailing list