rejig the build system so that dummy-ghc isn't used
Build.mk:
# My build settings for hacking on stage 2
SRC_HC_OPTS = -H32m -O -fasm -Rghc-timing
GhcStage1HcOpts = -O -fasm
GhcStage2HcOpts = -O0 -DDEBUG -Wall -fexpose-all-unfoldings
GhcLibHcOpts = -O -fasm -XGenerics
GhcLibWays = v
SplitObjs = NO
GhcBootLibs = YES
HADDOCK_DOCS = NO
BUILD_DOCBOOK_HTML = NO
BUILD_DOCBOOK_PS = NO
BUILD_DOCBOOK_PDF = NO
The build error:
"inplace/bin/ghc-cabal" configure --with-ghc="/Volumes/OSXSSD/ghc/ghc.full-unfoldings/inplace/bin/dummy-ghc" --with-ghc-pkg="/Volumes/OSXSSD/ghc/ghc.full-unfoldings/inplace/bin/ghc-pkg" --with-gcc="/usr/bin/gcc" --configure-option=--with-cc="/usr/bin/gcc" --flags=stage2 --flags=ncg --flags=ghci --ghc-option=-DGHCI_TABLES_NEXT_TO_CODE --ghc-option=-DSTAGE=2 --ghc-options='-O0 -DDEBUG -Wall -fexpose-all-unfoldings' --configure-option=CFLAGS=" -m32 " --configure-option=LDFLAGS=" " -- stage2 compiler
Configuring ghc-6.13.20091119...
Warning: 'include-dirs: ../libffi/build/include' is a relative path outside of
the source tree. This will not work when generating a tarball with 'sdist'.
Warning: 'include-dirs: ../libraries/base/cbits' is a relative path outside of
the source tree. This will not work when generating a tarball with 'sdist'.
Warning: 'include-dirs: ../libraries/base/include' is a relative path outside
of the source tree. This will not work when generating a tarball with 'sdist'.
Warning: 'hs-source-dirs: cprAnalysis' directory does not exist.
ghc: unrecognised flags: -fexpose-all-unfoldings
Usage: For basic information, try the `--help' option.
make[1]: *** [compiler/stage2/package-data.mk] Error 1
make: *** [all] Error 2
Trac metadata
Trac field | Value |
---|---|
Version | 6.13 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |