Opened 17 months ago

Last modified 10 months ago

#15130 new bug

Hadrian doesn't rebuild changed `CoreUtils.hs`

Reported by: tdammers Owned by:
Priority: normal Milestone: 8.10.1
Component: Build System (Hadrian) Version: 8.4.2
Keywords: Cc: harpocrates
Operating System: Linux Architecture: x86_64 (amd64)
Type of failure: Other Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


When compiling stage2 with Hadrian, freezing stage1 causes changes to CoreUtils.hs to be ignored, and CoreUtils.hs not being recompiled.

The following steps should reproduce the problem:

  1. Make a debug build with Hadrian: ./hadrian/ --flavour=Devel2
  2. Rebuild with freeze1: ./hadrian/ --flavour=Devel2 --freeze1
  3. Edit compiler/coreSyn/CoreUtils.hs, adding some change that is easily detected in the output
  4. Rebuild with freeze1: ./hadrian/ --flavour=Devel2 --freeze1
  5. Observe how CoreUtils does not appear in the list of modules Hadrian is compiling, and how changes to that file do not end up in the stage2 compiler.

Change History (4)

comment:1 Changed 16 months ago by bgamari


These won't be addressed for GHC 8.6.

comment:2 Changed 12 months ago by bgamari

Component: Build SystemBuild System (make)

The new Hadrian build system has been merged. Relabeling the tickets concerning the legacy make build system to prevent confusion.

comment:3 Changed 10 months ago by harpocrates

Cc: harpocrates added
Component: Build System (make)Build System (Hadrian)

This is definitely about Hadrian...

comment:4 Changed 10 months ago by osa1


Bumping milestones of low-priority tickets.

Note: See TracTickets for help on using tickets.