[commit: ghc] master: Add missing SMP symbols to RT linker. (94d1221)
git at git.haskell.org
git at git.haskell.org
Fri Nov 18 08:50:41 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/94d1221cfb31188990738e7f7cbb3ae0a30c9f98/ghc
>---------------------------------------------------------------
commit 94d1221cfb31188990738e7f7cbb3ae0a30c9f98
Author: Tamar Christina <tamar at zhox.com>
Date: Fri Nov 18 08:50:11 2016 +0000
Add missing SMP symbols to RT linker.
Summary:
Add some missing symbols that we
export from the public headers but forgot to include
in the runtime linker's symbol table.
This is a bit of a unsatifactory patch, since we have a bit of a
cat and mouse game going. We should find a way to automate this.
But I know of no good solutions at the moment that won't add all
rts symbols (including those we don't have an extern declaration for.).
So for now, just add the ones reported missing.
Test Plan: inplace/bin/ghc-stage2.exe --interactive
Reviewers: RyanGlScott, austin, erikd, simonmar, bgamari
Reviewed By: bgamari
Subscribers: thomie, #ghc_windows_task_force
Differential Revision: https://phabricator.haskell.org/D2727
GHC Trac Issues: #12846
>---------------------------------------------------------------
94d1221cfb31188990738e7f7cbb3ae0a30c9f98
rts/RtsSymbols.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index 36b2b43..60ffedb 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -872,6 +872,10 @@
SymI_HasProto(hs_spt_remove) \
SymI_HasProto(hs_spt_keys) \
SymI_HasProto(hs_spt_key_count) \
+ SymI_HasProto(write_barrier) \
+ SymI_HasProto(store_load_barrier) \
+ SymI_HasProto(load_load_barrier) \
+ SymI_HasProto(cas) \
RTS_USER_SIGNALS_SYMBOLS \
RTS_INTCHAR_SYMBOLS
More information about the ghc-commits
mailing list