Build system circular dependency
Currently bootstrapping the MMTk binding induces a dependency cycle:
- The rust bits (
rts/mmtk/mmtk
) requires_build/stage1/rts/build/include/ghcautoconf.h
due tobindgen
-
_build/stage1/rts/build/include/ghcautoconf.h
requires thatrts
be configured, due tohadrian/src/Rules/Generate.hs:159
- configuring
rts
requireslibCmmtk_ghc.a
due to the dependency declared inrts/rts.cabal.in
This can be manually broken by running rts/configure
but this is a horrible hack.
Edited by Ben Gamari