#15671: Link errors due to forcibly exporting findPtr -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: alpmestan Type: bug | Status: patch Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: T10955dyn | T10955 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5138 Wiki Page: | Phab:D5356 -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"561748cb507505bd5b7bd76bdc57796d896b62a2/ghc" 561748cb/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="561748cb507505bd5b7bd76bdc57796d896b62a2" rts.cabal.in: force inclusion of findPtr/_findPtr symbol only with debug flag The previous strategy caused problems on Windows, as pointed out at [1] [1]: https://phabricator.haskell.org/rGHC900c47f88784#133905 Reviewers: Phyx, bgamari, erikd, simonmar Reviewed By: Phyx Subscribers: rwbarton, carter GHC Trac Issues: #15671 Differential Revision: https://phabricator.haskell.org/D5356 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15671#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler