Compiling cabal with GHC HEAD

2015-08-19 Thread Oleg Grenrus
I tried to fix compilation of Cabal using Cabal HEAD. It’s trivial patch: https://github.com/phadej/cabal/commit/525e0680505c74f42a321e55b357a27222790628 but it breaks build on every other released GHC: https://travis-ci.org/phadej/cabal/builds/76288656 — The original issue GHC-7.11

Re: Compiling cabal with GHC HEAD

2015-08-19 Thread Edward Z. Yang
Oh, this is irritating. The problem is we recently updated Cabal the library to get rid of InstalledPackageInfo_ (so there is only InstalledPackageInfo now) but it looks like in some situations cabal-install can be compiled with an old version of Cabal (as is happening to you). I suppose an

Re: Linker questions

2015-08-19 Thread Phyx
Hi Edward, Thanks for the information, it really helped make it more clear to me what's going on. I would ideally like to get these validate errors on Windows down to 0 (without marking them as expected fail). So I will probably make a ticket for this. Cheers, Tamar On Thu, Aug 20, 2015 at

Re: Linker questions

2015-08-19 Thread Edward Z. Yang
Excerpts from lonetiger's message of 2015-08-11 12:43:34 -0700: 1) Has to do with checkProddableBlock and #10672 and #10563 static void checkProddableBlock (ObjectCode *oc, void *addr, size_t size ) { ProddableBlock* pb; for (pb = oc-proddables; pb != NULL; pb = pb-next) {