DPH link error
marlowsd at gmail.com
Mon May 16 09:53:24 CEST 2011
On 15/05/11 13:22, Ben Lippmeier wrote:
> On 15/05/2011, at 10:12 PM, Edward Z. Yang wrote:
>> I'm getting some mysterious DPH linking error when I am attempting a validate:
> Urgh. That's the build race I thought I had fixed. It happens because the DPH vectoriser needs dph-prim-seq to be compiled first before it can do its desugaring. If you run validate single threaded or start it again like "sh validate --no-clean" it should work. To run validate single threaded change the THREADS var in the script, or export THREADS=1.
> What machine were you compiling on? Does it fail on every validate run?
> I'll see if I can get it to trigger the race again on one of mine.
I suspect you should check whether this bit of code in ghc.mk is working
# Make sure we have all the GHCi libs by the time we've built
# ghc-stage2. DPH includes a bit of Template Haskell which needs the
# GHCI libs, and we don't have a better way to express that dependency.
GHCI_LIBS = $(foreach
More information about the Cvs-ghc