Skip to content

Instantly share code, notes, and snippets.

@antonbabenko
Created September 7, 2016 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonbabenko/1d5e3f723fb4cab2b8644546ea2785ab to your computer and use it in GitHub Desktop.
Save antonbabenko/1d5e3f723fb4cab2b8644546ea2785ab to your computer and use it in GitHub Desktop.
runghc -v Interpreter.hs
Glasgow Haskell Compiler, Version 8.0.1, stage 2 booted by GHC version 8.0.1
Using binary package database: /usr/local/Cellar/ghc/8.0.1/lib/ghc-8.0.1/package.conf.d/package.cache
loading package database /usr/local/Cellar/ghc/8.0.1/lib/ghc-8.0.1/package.conf.d
wired-in package ghc-prim mapped to ghc-prim-0.5.0.0
wired-in package integer-gmp mapped to integer-gmp-1.0.0.1
wired-in package base mapped to base-4.9.0.0
wired-in package rts mapped to rts
wired-in package template-haskell mapped to template-haskell-2.11.0.0
wired-in package ghc mapped to ghc-8.0.1
wired-in package dph-seq not found.
wired-in package dph-par not found.
Hsc static flags:
*** Parser [source]:
!!! Parser [source]: finished in 0.28 milliseconds, allocated 0.209 megabytes
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.29 milliseconds, allocated 0.133 megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 2.77 milliseconds, allocated 2.715 megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.33 milliseconds, allocated 0.126 megabytes
Loading package ghc-prim-0.5.0.0 ... linking ... done.
*** gcc:
clang -m64 -fno-stack-protector -DTABLES_NEXT_TO_CODE -B/usr/local/Cellar/ghc/8.0.1/lib/ghc-8.0.1/integer-gmp-1.0.0.1 -B/usr/local/Cellar/ghc/8.0.1/libexec/integer-gmp/lib --print-file-name libgmp.dylib
*** gcc:
clang -m64 -fno-stack-protector -DTABLES_NEXT_TO_CODE -B/usr/local/Cellar/ghc/8.0.1/lib/ghc-8.0.1/integer-gmp-1.0.0.1 -B/usr/local/Cellar/ghc/8.0.1/libexec/integer-gmp/lib --print-file-name liblibgmp.dylib
*** gcc:
clang -m64 -fno-stack-protector -DTABLES_NEXT_TO_CODE -B/usr/local/Cellar/ghc/8.0.1/lib/ghc-8.0.1/integer-gmp-1.0.0.1 -B/usr/local/Cellar/ghc/8.0.1/libexec/integer-gmp/lib --print-file-name libgmp.a
Loading package integer-gmp-1.0.0.1 ... linking ... done.
*** gcc:
clang -m64 -fno-stack-protector -DTABLES_NEXT_TO_CODE -B/usr/local/Cellar/ghc/8.0.1/lib/ghc-8.0.1/base-4.9.0.0 --print-file-name libiconv.dylib
*** gcc:
clang -m64 -fno-stack-protector -DTABLES_NEXT_TO_CODE -B/usr/local/Cellar/ghc/8.0.1/lib/ghc-8.0.1/base-4.9.0.0 --print-file-name liblibiconv.dylib
*** gcc:
clang -m64 -fno-stack-protector -DTABLES_NEXT_TO_CODE -B/usr/local/Cellar/ghc/8.0.1/lib/ghc-8.0.1/base-4.9.0.0 --print-file-name libiconv.a
Loading package base-4.9.0.0 ... linking ... done.
*** Parser [source]:
!!! Parser [source]: finished in 0.07 milliseconds, allocated 0.063 megabytes
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.14 milliseconds, allocated 0.073 megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 0.07 milliseconds, allocated 0.027 megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.10 milliseconds, allocated 0.069 megabytes
loading package database /usr/local/Cellar/ghc/8.0.1/lib/ghc-8.0.1/package.conf.d
wired-in package ghc-prim mapped to ghc-prim-0.5.0.0
wired-in package integer-gmp mapped to integer-gmp-1.0.0.1
wired-in package base mapped to base-4.9.0.0
wired-in package rts mapped to rts-1.0
wired-in package template-haskell mapped to template-haskell-2.11.0.0
wired-in package ghc mapped to ghc-8.0.1
wired-in package dph-seq not found.
wired-in package dph-par not found.
*** Parser [source]:
!!! Parser [source]: finished in 0.30 milliseconds, allocated 0.108 megabytes
*** Desugar:
*** Simplify [expr]:
!!! Simplify [expr]: finished in 0.27 milliseconds, allocated 0.092 megabytes
*** CorePrep [expr]:
!!! CorePrep [expr]: finished in 0.10 milliseconds, allocated 0.027 megabytes
*** ByteCodeGen [Ghci1]:
!!! ByteCodeGen [Ghci1]: finished in 0.18 milliseconds, allocated 0.088 megabytes
*** Chasing dependencies:
Chasing modules from:
!!! Chasing dependencies: finished in 0.03 milliseconds, allocated 0.020 megabytes
Stable obj: []
Stable BCO: []
unload: retaining objs []
unload: retaining bcos []
Ready for upsweep []
Upsweep completely successful.
*** Deleting temp files:
Deleting:
*** Chasing dependencies:
Chasing modules from: *Interpreter.hs
!!! Chasing dependencies: finished in 0.57 milliseconds, allocated 0.562 megabytes
Stable obj: []
Stable BCO: []
unload: retaining objs []
unload: retaining bcos []
Ready for upsweep
[NONREC
ModSummary {
ms_hs_date = 2016-09-07 12:21:43 UTC
ms_mod = Main,
ms_textual_imps = [(Nothing, Prelude), (Nothing, Data.Maybe),
(Nothing, Control.Applicative), (Nothing, Data.Word8),
(Nothing, Data.Map), (Nothing, Control.Monad.State),
(Nothing, Text.Parsec.String), (Nothing, Text.Parsec)]
ms_srcimps = []
}]
*** Deleting temp files:
Deleting:
compile: input file Interpreter.hs
*** Checking old interface for Main:
[1 of 1] Compiling Main ( Interpreter.hs, interpreted )
*** Parser [Main]:
!!! Parser [Main]: finished in 3.42 milliseconds, allocated 2.980 megabytes
*** Renamer/typechecker [Main]:
!!! Renamer/typechecker [Main]: finished in 2.21 milliseconds, allocated 2.908 megabytes
Interpreter.hs:1:1: error:
Failed to load interface for ‘Text.Parsec’
Locations searched:
Text/Parsec.hs
Text/Parsec.lhs
Text/Parsec.hsig
Text/Parsec.lhsig
Interpreter.hs:2:1: error:
Failed to load interface for ‘Text.Parsec.String’
Locations searched:
Text/Parsec/String.hs
Text/Parsec/String.lhs
Text/Parsec/String.hsig
Text/Parsec/String.lhsig
Interpreter.hs:3:1: error:
Failed to load interface for ‘Control.Monad.State’
Perhaps you meant
Control.Monad.Fail (from base-4.9.0.0)
Control.Monad.ST (from base-4.9.0.0)
Control.Monad.ST.Safe (from base-4.9.0.0)
Locations searched:
Control/Monad/State.hs
Control/Monad/State.lhs
Control/Monad/State.hsig
Control/Monad/State.lhsig
Interpreter.hs:5:1: error:
Failed to load interface for ‘Data.Word8’
Perhaps you meant
Data.Word (from base-4.9.0.0)
Data.Ord (from base-4.9.0.0)
Data.Void (from base-4.9.0.0)
Locations searched:
Data/Word8.hs
Data/Word8.lhs
Data/Word8.hsig
Data/Word8.lhsig
Upsweep partially successful.
*** Deleting temp files:
Deleting:
Failed, modules loaded: none.
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment