[GHC] #9938: GHC's link step needs to be told which packages to link

GHC ghc-devs at haskell.org
Tue Jun 2 21:00:55 UTC 2015


#9938: GHC's link step needs to be told which packages to link
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 T9938 is acting up (unexpectedly passing) again, presumably due to some
 optimizer change.

 I don't really see the value in a test that verifies the absence of a
 feature that we know GHC does not have (tracking dependencies of `.o`
 files that were produced by GHC), though I suppose it means we have
 already done the work of creating the test if the feature gets added (but
 that doesn't look too likely to happen in the near future).

 But if we want to keep the test, can we find a dependency that we can
 count on not getting inlined away? Something that involves a global
 variable would be a good bet, but the only ones I can think of are in base
 (always linked in anyways) and random (not necessarily always built?)

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9938#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list