• Peter Trommler's avatar
    Add regression test for #10110. · 85bf9e49
    Peter Trommler authored
    Module C imports a from Module A and b from module B. B does not
    import anything from A. So if ld is configured to drop DT_NEEDED
    tags for libraries it does not depend on no DT_NEEDED tag for the
    temporary shared object containing module A is recorded in the temp
    SO containing module B. This leads to an undefined symbol when
    linking the temp SO for module C.
    Fixes #10110.
    Reviewed By: austin
    Differential Revision: https://phabricator.haskell.org/D895
    GHC Trac Issues: #10110
T10110.script 79 Bytes