Ticket #1322 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

gcc --make recompiles hs-boot files unncessarily

Reported by: simonpj Owned by: igloo
Priority: normal Milestone: 6.8.1
Component: Compiler Version: 6.6.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: recomp002 Blocked By:
Blocking: Related Tickets:

Description

ghc --make should not recompile unnecessarily. Yet every build of the base package (for exanple) says:

Preprocessing library base-2.1...
Building base-2.1...
[  2 of 166] Compiling GHC.Err[boot]    ( GHC/Err.lhs-boot, nothing )
[  4 of 166] Compiling GHC.Unicode[boot] ( GHC/Unicode.hs-boot, nothing )
[ 15 of 166] Compiling Data.Typeable[boot] ( Data/Typeable.hs-boot, nothing )
[ 23 of 166] Compiling Data.Dynamic[boot] ( Data/Dynamic.hs-boot, nothing )
[ 35 of 166] Compiling Foreign.Storable[boot] ( Foreign/Storable.hs-boot, nothing )
[ 40 of 166] Compiling GHC.TopHandler[boot] ( GHC/TopHandler.lhs-boot, nothing )

There is something wrong with the compilation manager. It's more of an infelicity than a bug, but it's still unsatisfactory.

Change History

Changed 6 years ago by igloo

  • owner set to igloo

Changed 6 years ago by igloo

  • status changed from new to closed
  • testcase set to recomp002
  • resolution set to fixed

Changed 6 years ago by igloo

  • milestone changed from 6.8 branch to 6.8.1

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.