Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Build with --quickest didn't produce stage1/touchy #653

Closed
ndmitchell opened this issue Aug 9, 2018 · 2 comments
Closed

Build with --quickest didn't produce stage1/touchy #653

ndmitchell opened this issue Aug 9, 2018 · 2 comments
Assignees
Labels

Comments

@ndmitchell
Copy link
Collaborator

I built with hadrian\build.bat -j --flavour=quickest --configure. I then tried to start ghci and got:

GHCi, version 8.7.20180808: http://www.haskell.org/ghc/  :? for help
package flags have changed, resetting and loading new packages...
Loaded GHCi configuration from ./utils/ghc-in-ghci/settings.ghci
[  8 of 493] Compiling Fingerprint      ( _build\stage1\compiler\build\Fingerprint.hs, .ghci-objects\Fingerprint.o )
[  9 of 493] Compiling Config           ( _build\stage1\compiler\build\Config.hs, .ghci-objects\Config.o )
[ 10 of 493] Compiling Constants        ( compiler\main\Constants.hs, .ghci-objects\Constants.o )
[ 11 of 493] Compiling Ar               ( compiler\main\Ar.hs, .ghci-objects\Ar.o )
[ 12 of 493] Compiling Hooks[boot]      ( compiler\main\Hooks.hs-boot, .ghci-objects\Hooks.o-boot )
ghc.exe: could not execute: C:\Neil\ghc\sep2018\ghc\_build\stage1\lib/bin/touchy.exe
Loaded GHCi configuration from ./utils/ghc-in-ghci/load-main.ghci

I copied touchy from stage0 to stage1 and it worked. Does Hadrian ever build touchy in stage1? Should it do so in quickest?

@snowleopard
Copy link
Owner

Aha, I didn't realise we need both binaries. We can surely build both, it should be a simple change in GHC/GHC.Packages.

There is also this issue: #595. Do we need to build unlit twice too? If yes, we should close it.

@snowleopard
Copy link
Owner

Fixed in #659.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants