No subject


Wed Apr 10 17:18:51 CEST 2013


...
GhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),v dyn,v)
...

You can fix it by completely cleaning your build tree and copying a new one.

$ make distclean && make maintainer-clean
$ cp mk/build.mk.sample mk/build.mk

And then set your BuildFlavour back to 'quick' and redo-the-dance.

On Tue, May 21, 2013 at 2:21 PM, Jacques Carette <carette at mcmaster.ca> wrote:
> I am trying to build branch th-new, and very early on, I get the error
> dyn is not in $(GhcLibWays), but $(DYNAMIC_GHC_PROGRAMS) is YES.
>
> The relevant parts of my build.mk are:
>
> # Fast build with optimised libraries, no profiling (RECOMMENDED):
> BuildFlavour = quick
>
> GhcLibWays = v
>
> ifeq "$(BuildFlavour)" "quick"
>
> SRC_HC_OPTS        = -H64m -O0 -fasm
> GhcStage1HcOpts    = -O -fasm
> GhcStage2HcOpts    = -O0 -fasm
> GhcLibHcOpts       = -O -fasm
> SplitObjs          = NO
> HADDOCK_DOCS       = NO
> BUILD_DOCBOOK_HTML = NO
> BUILD_DOCBOOK_PS   = NO
> BUILD_DOCBOOK_PDF  = NO
>
> endif
>
> ============
>
> I did
> ./sync-all pull
> ./sync-all get
> ./sync-all get th-new
> perl boot
> ./configure
> make
>
> and got stymied by that error.
>
> Jacques
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs



-- 
Regards,
Austin - PGP: 4096R/0x91384671



More information about the ghc-devs mailing list