dyn is not in $(GhcLibWays), but $(DYNAMIC_GHC_PROGRAMS) is YES.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

dyn is not in $(GhcLibWays), but $(DYNAMIC_GHC_PROGRAMS) is YES.

Jacques Carette
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



Reply | Threaded
Open this post in threaded view
|

dyn is not in $(GhcLibWays), but $(DYNAMIC_GHC_PROGRAMS) is YES.

Austin Seipp-4

Reply | Threaded
Open this post in threaded view
|

dyn is not in $(GhcLibWays), but $(DYNAMIC_GHC_PROGRAMS) is YES.

Jacques Carette
That is definitely getting me a lot farther -- thanks!
Jacques

On 13-05-21 03:29 PM, Austin Seipp wrote:

> >From what I remember, this is caused by an out-of-date build.mk. My
> build.mk for example, contains:
>
> ...
> 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
>
>