Skip to content

haddock : Declaration for $fEqInteger attempting to use module `ghc-prim:GHC.Classes' which is not loaded

On linux-powerpc64:

"/home/erikd/PPC64/ghc-ppc64/inplace/bin/haddock" --odir="libraries/ghc-prim/dist-install
  /doc/html/ghc-prim" --no-tmp-comp-dir --dump-interface=libraries/ghc-prim/dist-install
  /doc/html/ghc-prim/ghc-prim.haddock --html --hoogle --title="ghc-prim-0.3.0.0: GHC 
  primitives" --prologue="libraries/ghc-prim/dist-install/haddock-prologue.txt"   
  --optghc=-static --optghc=-H32m --optghc=-O --optghc=-Werror --optghc=-Wall --optghc=-H64m 
  --optghc=-O0 --optghc=-package-name --optghc=ghc-prim-0.3.0.0 --optghc=-hide-all-packages 
  --optghc=-i --optghc=-ilibraries/ghc-prim/. --optghc=-ilibraries/ghc-prim/dist-install
  /build --optghc=-ilibraries/ghc-prim/dist-install/build/autogen --optghc=-Ilibraries/ghc-
  prim/dist-install/build --optghc=-Ilibraries/ghc-prim/dist-install/build/autogen 
  --optghc=-Ilibraries/ghc-prim/. --optghc=-optP-include --optghc=-optPlibraries/ghc-
  prim/dist-install/build/autogen/cabal_macros.h --optghc=-package --optghc=rts-1.0 
  --optghc=-package-name --optghc=ghc-prim --optghc=-XHaskell98 --optghc=-XCPP 
  --optghc=-XMagicHash --optghc=-XForeignFunctionInterface --optghc=-XUnliftedFFITypes 
  --optghc=-XUnboxedTuples --optghc=-XEmptyDataDecls --optghc=-XNoImplicitPrelude 
  --optghc=-O2 --optghc=-O --optghc=-dcore-lint --optghc=-fno-warn-deprecated-flags 
  --optghc=-no-user-package-db --optghc=-rtsopts --optghc=-odir --optghc=libraries/ghc-
  prim/dist-install/build --optghc=-hidir --optghc=libraries/ghc-prim/dist-install/build 
  --optghc=-stubdir --optghc=libraries/ghc-prim/dist-install/build --optghc=-hisuf 
  --optghc=hi --optghc=-osuf --optghc=o --optghc=-hcsuf --optghc=hc    libraries/ghc-prim/.
  /GHC/Classes.hs  libraries/ghc-prim/./GHC/CString.hs  libraries/ghc-prim/./GHC/Debug.hs  
  libraries/ghc-prim/./GHC/Magic.hs  libraries/ghc-prim/dist-install/build
  /GHC/PrimopWrappers.hs  libraries/ghc-prim/./GHC/IntWord64.hs  libraries/ghc-prim/.
  /GHC/Tuple.hs  libraries/ghc-prim/./GHC/Types.hs libraries/ghc-prim/dist-install/build
  /autogen/GHC/Prim.hs +RTS -tlibraries/ghc-prim/dist-install/doc/html/ghc-prim/
  ghc-prim.haddock.t --machine-readable
Haddock coverage:
 100% (  1 /  1) in 'GHC.IntWord64'
  78% (  7 /  9) in 'GHC.Types'
  17% (  1 /  6) in 'GHC.CString'
   3% (  2 / 63) in 'GHC.Tuple'
   0% (  0 /  3) in 'GHC.Debug'
   0% (  0 /336) in 'GHC.PrimopWrappers'
  36% (150 /422) in 'GHC.Prim'
 100% (  3 /  3) in 'GHC.Magic'
*** Core Lint warnings : in result of Desugar (after optimization) ***
{-# LINE 99 "libraries/ghc-prim/GHC/Classes.hs #-}: Warning:
    [RHS of $c/=_a75T :: GHC.Types.Float
                         -> GHC.Types.Float -> GHC.Types.Bool]
    INLINE binder is (non-rule) loop breaker: $c/=_a75T
{-# LINE 102 "libraries/ghc-prim/GHC/Classes.hs #-}: Warning:
    [RHS of $c/=_a75M :: GHC.Types.Double
                         -> GHC.Types.Double -> GHC.Types.Bool]
    INLINE binder is (non-rule) loop breaker: $c/=_a75M
{-# LINE 85 "libraries/ghc-prim/GHC/Classes.hs #-}: Warning:
    [RHS of $c/=_a76h :: forall a_a5HF.
                         GHC.Classes.Eq a_a5HF =>
                         [a_a5HF] -> [a_a5HF] -> GHC.Types.Bool]
    INLINE binder is (non-rule) loop breaker: $c/=_a76h

  38% (  6 / 16) in 'GHC.Classes'
/home/erikd/PPC64/ghc-ppc64/libraries/integer-gmp/dist-install/build/GHC/Integer/Type.hi
Declaration for $fEqInteger:
  attempting to use module `ghc-prim:GHC.Classes' (libraries/ghc-prim/./GHC/Classes.hs) which is not loaded
Cannot continue after interface file error
make[1]: *** [libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock] Error 1
make: *** [all] Error 2
Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information