
#15971: Hadrian fails Shake's linter on Windows -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.7 (Hadrian) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by snowleopard):
Presumably you `need` the output of `extraObjects` at some point?
Ah, yes, we do `need` them in a few places, e.g. in `buildStaticLib`: {{{ objs <- libraryObjects context -- this includes 'extraObjects' removeFile archivePath build $ target context (Ar Pack stage) objs [archivePath] }}}
Could the insertion into the archive be somehow modifying these files? Do you extract them twice?
No, we extract GMP object files only once. I'll try to model this situation in a small standalone example to make sense of it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15971#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler