Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,870
    • Issues 4,870
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 453
    • Merge requests 453
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #21436
Closed
Open
Created Apr 27, 2022 by Andreas Klebinger@AndreasKDeveloper

Hadrian: Rebuild detection with stage0 executable as target seems broken

When modifying files which are part of GHC stage0 does not get rebuild if I ask hadrian to build stage0 ghc.

When I ask for a full build however stage0 does get rebuilt.

andi@horzube:~/ghc_late_cc$ hadrian/build --flavour=default+profiled_ghc+no_dynamic_ghc+debug_info -o_prof_late_inline -j7 _prof/stage0/bin/ghc                                                                                                               Up to date
Build completed in 1.00s

andi@horzube:~/ghc_late_cc$ hadrian/build --flavour=default+profiled_ghc+no_dynamic_ghc+debug_info -o_prof_late_inline -j7
Up to date
| Run Ghc FindHsDependencies Stage0: compiler/GHC.hs (and 621 more) => _prof_late_inline/stage0/compiler/.dependencies.mk
*** systool:cpp:
*** C pre-processor:
!!! systool:cpp: finished in 0.50 milliseconds, allocated 0.169 megabytes
*** Parser [GHC.SysTools.Process]:
!!! Parser [GHC.SysTools.Process]: finished in 3.85 milliseconds, allocated 12.724 megabytes
| Remove file _prof_late_inline/stage0/compiler/.dependencies.mk.bak
| Run Ghc CompileHs Stage0: compiler/GHC/Core/Opt/DmdAnal.hs => _prof_late_inline/stage0/compiler/build/GHC/Core/Opt/DmdAnal.p_o
| Run Ghc CompileHs Stage0: compiler/GHC/Core/Opt/DmdAnal.hs => _prof_late_inline/stage0/compiler/build/GHC/Core/Opt/DmdAnal.o
| Remove file _prof_late_inline/stage0/compiler/build/libHSghc-9.3_p.a
| Run Ar Pack Stage0: _prof_late_inline/stage0/compiler/build/c/cbits/cutils.p_o (and 624 more) => _prof_late_inline/stage0/compiler/build/libHSghc-9.3_p.a
ar: creating _prof_late_inline/stage0/compiler/build/libHSghc-9.3_p.a
| Remove file _prof_late_inline/stage0/compiler/build/libHSghc-9.3.a
| Run Ar Pack Stage0: _prof_late_inline/stage0/compiler/build/c/cbits/cutils.o (and 624 more) => _prof_late_inline/stage0/compiler/build/libHSghc-9.3.a
ar: creating _prof_late_inline/stage0/compiler/build/libHSghc-9.3.a
^C
andi@horzube:~/ghc_late_cc$
Edited Apr 27, 2022 by Andreas Klebinger
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking