Broken haddock in new GHC HEAD build

I built GHC HEAD from git yesterday (using GHC 7.10.3 on Mac OS 10.9.5), and the haddock I got dies with bash-3.2$ haddock --version dyld: Symbol not found: _ghc_GHC_modInfoExportszugo_info Referenced from: /Users/conal/git-repos/ghc-2016-04-05/inplace/lib/bin/haddock Expected in: /Users/conal/git-repos/ghc-2016-04-05/compiler/stage2/build/libHSghc-8.1-ghc8.1.20160405.dylib in /Users/conal/git-repos/ghc-2016-04-05/inplace/lib/bin/haddock Trace/BPT trap: 5 Luckily, I have a working haddock from 2016-03-07 sources that I copied into my new GHC bin (~/git-repos/ghc-2016-04-05/inplace/bin/) for now. -- Conal

Conal Elliott
I built GHC HEAD from git yesterday (using GHC 7.10.3 on Mac OS 10.9.5), and the haddock I got dies with
Thanks for the report, Conal!
bash-3.2$ haddock --version dyld: Symbol not found: _ghc_GHC_modInfoExportszugo_info Referenced from: /Users/conal/git-repos/ghc-2016-04-05/inplace/lib/bin/haddock Expected in: /Users/conal/git-repos/ghc-2016-04-05/compiler/stage2/build/libHSghc-8.1-ghc8.1.20160405.dylib in /Users/conal/git-repos/ghc-2016-04-05/inplace/lib/bin/haddock Trace/BPT trap: 5
Luckily, I have a working haddock from 2016-03-07 sources that I copied into my new GHC bin (~/git-repos/ghc-2016-04-05/inplace/bin/) for now.
Hmm, this is quite concerning, especially considering I haven't observed it in my own OS X builds. Are you sure you started from a clean tree (e.g. ran `make distclean`)? Cheers, - Ben

Thanks for the reply, Ben. I guess I'm not 100% sure, as I tried a few
variations. Next time I rebuild GHC, I'll take care to record my steps and
see what happens. - Conal
On Thu, Apr 7, 2016 at 1:52 AM, Ben Gamari
Conal Elliott
writes: I built GHC HEAD from git yesterday (using GHC 7.10.3 on Mac OS 10.9.5), and the haddock I got dies with
Thanks for the report, Conal!
bash-3.2$ haddock --version dyld: Symbol not found: _ghc_GHC_modInfoExportszugo_info Referenced from: /Users/conal/git-repos/ghc-2016-04-05/inplace/lib/bin/haddock Expected in:
/Users/conal/git-repos/ghc-2016-04-05/compiler/stage2/build/libHSghc-8.1-ghc8.1.20160405.dylib
in /Users/conal/git-repos/ghc-2016-04-05/inplace/lib/bin/haddock Trace/BPT trap: 5
Luckily, I have a working haddock from 2016-03-07 sources that I copied into my new GHC bin (~/git-repos/ghc-2016-04-05/inplace/bin/) for now.
Hmm, this is quite concerning, especially considering I haven't observed it in my own OS X builds. Are you sure you started from a clean tree (e.g. ran `make distclean`)?
Cheers,
- Ben
participants (2)
-
Ben Gamari
-
Conal Elliott