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:

http://hpaste.org/46695/dph_dynamic_error

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 correctly:

# 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 lib,$(PACKAGES),$(libraries/$(lib)_dist-install_GHCI_LIB)) \
            $(compiler_stage2_GHCI_LIB)


Cheers,
        Simon

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to