Skip to content
  • Peter Trommler's avatar
    Dynamically link all loaded packages in new object · 0fcc4543
    Peter Trommler authored
    Summary:
    As a result of fixing #8935 we needed to open shared libraries
    with RTLD_LOCAL and so symbols from packages loaded earlier
    cannot be found anymore. We need to include in the link all
    packages loaded so far.
    
    This fixes #10058
    
    Test Plan: validate
    
    Reviewers: hvr, simonmar, austin
    
    Reviewed By: austin
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D676
    
    GHC Trac Issues: #10058
    0fcc4543