Ticket #7143: llvm-full-version-check

File llvm-full-version-check, 6.0 KB (added by cetinsert, 20 months ago)

checking versions of llc and opt in the same session as a -v3 compilation with ghc -fllvm

Line 
1$ llc -version
2LLVM (http://llvm.org/):
3  LLVM version 3.1
4  Optimized build with assertions.
5  Built Jun  9 2012 (21:38:40).
6  Default target: x86_64-w64-mingw32
7  Host CPU: corei7
8
9  Registered Targets:
10    arm      - ARM
11    cellspu  - STI CBEA Cell SPU [experimental]
12    cpp      - C++ backend
13    hexagon  - Hexagon
14    mblaze   - MBlaze
15    mips     - Mips
16    mips64   - Mips64 [experimental]
17    mips64el - Mips64el [experimental]
18    mipsel   - Mipsel
19    msp430   - MSP430 [experimental]
20    ppc32    - PowerPC 32
21    ppc64    - PowerPC 64
22    ptx32    - PTX (32-bit) [Experimental]
23    ptx64    - PTX (64-bit) [Experimental]
24    sparc    - Sparc
25    sparcv9  - Sparc V9
26    thumb    - Thumb
27    x86      - 32-bit X86: Pentium-Pro and above
28    x86-64   - 64-bit X86: EM64T and AMD64
29    xcore    - XCore
30
31$ opt -version
32LLVM (http://llvm.org/):
33  LLVM version 3.1
34  Optimized build with assertions.
35  Built Jun  9 2012 (21:38:40).
36  Default target: x86_64-w64-mingw32
37  Host CPU: corei7
38 
39$ ghc -v3 -fllvm --make Main.hs
40Glasgow Haskell Compiler, Version 7.6.0.20120810, stage 2 booted by GHC version 7.5.20120617
41Using binary package database: C:\ghc\ghc-7.6.0.20120810\lib\package.conf.d\package.cache
42Using binary package database: C:\Users\Cetin\AppData\Roaming\ghc\x86_64-mingw32-7.6.0.20120810\package.conf.d\package.cache
43wired-in package ghc-prim mapped to ghc-prim-0.3.0.0-4da90abbb5896af620df9801de3c7755
44wired-in package integer-gmp mapped to integer-gmp-0.5.0.0-56b7f6d7a42ba1dfe847c007265c92c1
45wired-in package base mapped to base-4.6.0.0-798ab716a8a6b460679d596b3d4ce340
46wired-in package rts mapped to builtin_rts
47wired-in package template-haskell mapped to template-haskell-2.8.0.0-40f5a9219aaa4147ce86bcb82e763b2e
48wired-in package dph-seq not found.
49wired-in package dph-par not found.
50Hsc static flags: -static
51*** Chasing dependencies:
52Chasing modules from: *Main.hs
53Created temporary directory: C:\Users\Cetin\AppData\Local\Temp\ghc6036_0
54*** C pre-processor:
55"C:\ghc\ghc-7.6.0.20120810\lib/../mingw/bin/gcc.exe" "-E" "-undef" "-traditional" "-fno-stack-protector" "-Wl,--hash-size=31" "-Wl,--reduce-memory-overheads" "-I" "C:\ghc\ghc-7.6.0.20120810\lib\base-4.6.0.0\include" "-I" "C:\ghc\ghc-7.6.0.20120810\lib/include" "-D__GLASGOW_HASKELL__=706" "-Dmingw32_BUILD_OS=1" "-Dx86_64_BUILD_ARCH=1" "-Dmingw32_HOST_OS=1" "-Dx86_64_HOST_ARCH=1" "-x" "c" "Main.hs" "-o" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.hscpp"
56Stable obj: []
57Stable BCO: []
58Ready for upsweep
59  [NONREC
60      ModSummary {
61         ms_hs_date = 2012-08-13 06:38:54 UTC
62         ms_mod = main:Main,
63         ms_textual_imps = [import GHC.Conc ( numCapabilities ),
64                            import Network.Socket.Splice, import System.IO.Unsafe,
65                            import Data.Char, import Data.Word, import Foreign.StablePtr,
66                            import Foreign.Ptr, import Foreign.Marshal.Alloc,
67                            import Foreign.Marshal.Array, import Foreign.Storable,
68                            import Data.List ( elemIndices, (++), find ),
69                            import Data.String ( IsString, fromString ),
70                            import System.IO hiding ( hGetLine, hPutStr, hGetContents ),
71                            import System.Timeout, import System.Environment,
72                            import qualified Control.Exception as X,
73                            import qualified Data.ByteString.Char8 as B
74                                hiding ( map, concatMap, reverse ),
75                            import Data.ByteString.Char8 ( ByteString ), import Data.Typeable,
76                            import Network.Socket.ByteString ( recv, sendAll ),
77                            import Network.Socket hiding ( recv, send ),
78                            import Control.Applicative,
79                            import Control.Monad ( forever, void, when, unless ),
80                            import Control.Concurrent,
81                            import Prelude hiding ( (++), length, last, init )]
82         ms_srcimps = []
83      }]
84*** Deleting temp files:
85Deleting:
86compile: input file C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.hscpp
87*** Checking old interface for main:Main:
88[1 of 1] Compiling Main             ( Main.hs, Main.o )
89*** Parser:
90*** Renamer/typechecker:
91*** Desugar:
92Result size of Desugar (after optimization)
93  = {terms: 3,356, types: 3,340, coercions: 1}
94*** Simplifier:
95Result size of Simplifier iteration=1
96  = {terms: 3,414, types: 3,392, coercions: 54}
97Result size of Simplifier iteration=2
98  = {terms: 3,430, types: 3,404, coercions: 54}
99Result size of Simplifier
100  = {terms: 3,430, types: 3,404, coercions: 54}
101*** Tidy Core:
102Result size of Tidy Core
103  = {terms: 3,454, types: 3,427, coercions: 56}
104*** CorePrep:
105Result size of CorePrep
106  = {terms: 5,395, types: 5,533, coercions: 56}
107*** Stg2Stg:
108*** CodeOutput:
109*** CodeGen:
110*** LlVM CodeGen:
111Error (figuring out LLVM version): : runInteractiveProcess: invalid argument (Invalid argument)
112
113<no location info>:
114    Warning: Couldn't figure out LLVM version!
115             Make sure you have installed LLVM
116*** LLVM Optimiser:
117"" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.ll" "-o" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.bc" "-mem2reg" "--enable-tbaa=true"
118
119
120Failed: "" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.ll" "-o" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.bc" "-mem2reg" "--enable-tbaa=true" : runInteractiveProcess: invalid argument (Invalid argument)
121*** Deleting temp files:
122Deleting: C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.bc C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.c C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.ll C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.hscpp
123Warning: deleting non-existent C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.bc
124Warning: deleting non-existent C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.c
125*** Deleting temp dirs:
126Deleting: C:\Users\Cetin\AppData\Local\Temp\ghc6036_0