because of hanging ghc for *.g.hs (*.n.hs are fine)
Example of hanging commands:
ghc -Wall -fno-warn-missing-signatures -fno-warn-unused-imports -fno-warn-tabs -Werror -package array -package bytestring tokens_monad_bytestring.g.hs -o tokens_monad_bytestring.g.bin
What is strange is, if I remove tokens.x, then next test (tokens_bytestring.x) succeeds, but the one after still fails.
Any idea what's going on?
No idea I'm afraid. But perhaps this is a GHC bug and not an Alex bug? I suggest opening a ticket at https://ghc.haskell.org/trac/ghc with the example code that causes the compiler to hang.
On AArch64, I need to remove all tests after
tokens.x
from Makefile:because of hanging ghc for
*.g.hs
(*.n.hs
are fine) Example of hanging commands:ghc -Wall -fno-warn-missing-signatures -fno-warn-unused-imports -fno-warn-tabs -Werror -package array -package bytestring tokens_monad_bytestring.g.hs -o tokens_monad_bytestring.g.bin
What is strange is, if I remove
tokens.x
, then next test (tokens_bytestring.x
) succeeds, but the one after still fails. Any idea what's going on?