[commit: ghc] master: rts: Always export Libdw* symbols (1c45f41)

git at git.haskell.org git at git.haskell.org
Mon Nov 23 22:13:56 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1c45f4172f57baa1622c5a8421f9edacd0ccfe44/ghc

>---------------------------------------------------------------

commit 1c45f4172f57baa1622c5a8421f9edacd0ccfe44
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Mon Nov 23 23:12:41 2015 +0100

    rts: Always export Libdw* symbols
    
    Otherwise we'll get link time failures as `base` always builds
    `GHC.ExecutionStack`.
    
    Test Plan: Validate
    
    Reviewers: austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1519


>---------------------------------------------------------------

1c45f4172f57baa1622c5a8421f9edacd0ccfe44
 rts/RtsSymbols.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index 936dffc..8413d31 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -35,7 +35,6 @@
                                 SymI_HasProto(stg_makeStableNamezh)           \
                                 SymI_HasProto(stg_finalizzeWeakzh)
 
-#if defined(USE_LIBDW)
 #define RTS_LIBDW_SYMBOLS                       \
       SymE_HasProto(backtraceFree)              \
       SymE_HasProto(libdwGetBacktrace)          \
@@ -43,9 +42,6 @@
       SymE_HasProto(libdwPoolTake)              \
       SymE_HasProto(libdwPoolRelease)           \
       SymE_HasProto(libdwPoolClear)
-#else
-#define RTS_LIBDW_SYMBOLS
-#endif /* USE_LIBDW */
 
 #if !defined (mingw32_HOST_OS)
 #define RTS_POSIX_ONLY_SYMBOLS                  \



More information about the ghc-commits mailing list