#12816: Link error with GOLD linker -------------------------------------+------------------------------------- Reporter: hsyl20 | Owner: Type: bug | Status: patch Priority: high | Milestone: 8.0.2 Component: Compiler | Version: 8.1 (Linking) | Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2695 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"2cfbee896be349d16238c044475c7c15cfb9b3f2/ghc" 2cfbee89/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="2cfbee896be349d16238c044475c7c15cfb9b3f2" rts: Fix build when linked with gold As reported in #12812, the runtime system fails to build when linked with gold due to a missing dependency on libpthread. Additionally, rts/package.conf.in uses the WORD_SIZE_IN_BITS macro defined by MachDeps.h, which it does not #include. Fix this. Test Plan: Validate with gold linker Reviewers: hsyl20, austin, erikd, simonmar Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2695 GHC Trac Issues: #12816 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12816#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler