Resolving dependencies... [1 of 1] Compiling Main ( /tmp/llvm-base-3.0.1.0-11551/llvm-base-3.0.1.0/Setup.hs, /tmp/llvm-base-3.0.1.0-11551/llvm-base-3.0.1.0/dist/setup/Main.o ) Linking /tmp/llvm-base-3.0.1.0-11551/llvm-base-3.0.1.0/dist/setup/setup ... Configuring llvm-base-3.0.1.0... configure: WARNING: unrecognized options: --with-gcc checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for llvm-config... /usr/bin/llvm-config Target platform inferred as: x86_64-unknown-linux checking for library containing LLVMModuleCreateWithName... -lLLVM-3.0 checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking llvm-c/Core.h usability... yes checking llvm-c/Core.h presence... yes checking for llvm-c/Core.h... yes checking llvm/ADT/StringRef.h usability... yes checking llvm/ADT/StringRef.h presence... yes checking for llvm/ADT/StringRef.h... yes checking for llvm/Support/DynamicLibrary.h... yes checking for LLVMModuleCreateWithName in -lLLVMCore... yes configure: creating ./config.status config.status: creating llvm-base.buildinfo config.status: creating include/hs_llvm_config.h configure: WARNING: unrecognized options: --with-gcc Building llvm-base-3.0.1.0... Preprocessing library llvm-base-3.0.1.0... /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libLLVM-3.0.so, may conflict with libffi.so.6 [ 1 of 24] Compiling LLVM.Target.XCore ( LLVM/Target/XCore.hs, dist/build/LLVM/Target/XCore.o ) [ 2 of 24] Compiling LLVM.Target.SystemZ ( LLVM/Target/SystemZ.hs, dist/build/LLVM/Target/SystemZ.o ) [ 3 of 24] Compiling LLVM.Target.Sparc ( LLVM/Target/Sparc.hs, dist/build/LLVM/Target/Sparc.o ) [ 4 of 24] Compiling LLVM.Target.PowerPC ( LLVM/Target/PowerPC.hs, dist/build/LLVM/Target/PowerPC.o ) [ 5 of 24] Compiling LLVM.Target.PIC16 ( LLVM/Target/PIC16.hs, dist/build/LLVM/Target/PIC16.o ) [ 6 of 24] Compiling LLVM.Target.Mips ( LLVM/Target/Mips.hs, dist/build/LLVM/Target/Mips.o ) [ 7 of 24] Compiling LLVM.Target.MSP430 ( LLVM/Target/MSP430.hs, dist/build/LLVM/Target/MSP430.o ) [ 8 of 24] Compiling LLVM.Target.CppBackend ( LLVM/Target/CppBackend.hs, dist/build/LLVM/Target/CppBackend.o ) [ 9 of 24] Compiling LLVM.Target.CellSPU ( LLVM/Target/CellSPU.hs, dist/build/LLVM/Target/CellSPU.o ) [10 of 24] Compiling LLVM.Target.CBackend ( LLVM/Target/CBackend.hs, dist/build/LLVM/Target/CBackend.o ) [11 of 24] Compiling LLVM.Target.Blackfin ( LLVM/Target/Blackfin.hs, dist/build/LLVM/Target/Blackfin.o ) [12 of 24] Compiling LLVM.Target.Alpha ( LLVM/Target/Alpha.hs, dist/build/LLVM/Target/Alpha.o ) [13 of 24] Compiling LLVM.Target.ARM ( LLVM/Target/ARM.hs, dist/build/LLVM/Target/ARM.o ) [14 of 24] Compiling LLVM.Target.X86 ( LLVM/Target/X86.hs, dist/build/LLVM/Target/X86.o ) [15 of 24] Compiling LLVM.Target.Native ( LLVM/Target/Native.hs, dist/build/LLVM/Target/Native.o ) LLVM/Target/Native.hs:10:1: Warning: The import of `LLVM.Target.X86' is redundant except perhaps to import instances from `LLVM.Target.X86' To import instances alone, use: import LLVM.Target.X86() [16 of 24] Compiling LLVM.FFI.Core ( dist/build/LLVM/FFI/Core.hs, dist/build/LLVM/FFI/Core.o ) [17 of 24] Compiling LLVM.FFI.BitReader ( dist/build/LLVM/FFI/BitReader.hs, dist/build/LLVM/FFI/BitReader.o ) [18 of 24] Compiling LLVM.FFI.BitWriter ( dist/build/LLVM/FFI/BitWriter.hs, dist/build/LLVM/FFI/BitWriter.o ) [19 of 24] Compiling LLVM.FFI.Target ( dist/build/LLVM/FFI/Target.hs, dist/build/LLVM/FFI/Target.o ) [20 of 24] Compiling LLVM.FFI.ExecutionEngine ( dist/build/LLVM/FFI/ExecutionEngine.hs, dist/build/LLVM/FFI/ExecutionEngine.o ) [21 of 24] Compiling LLVM.FFI.Support ( dist/build/LLVM/FFI/Support.hs, dist/build/LLVM/FFI/Support.o ) [22 of 24] Compiling LLVM.FFI.Transforms.IPO ( dist/build/LLVM/FFI/Transforms/IPO.hs, dist/build/LLVM/FFI/Transforms/IPO.o ) [23 of 24] Compiling LLVM.FFI.Transforms.Scalar ( dist/build/LLVM/FFI/Transforms/Scalar.hs, dist/build/LLVM/FFI/Transforms/Scalar.o ) [24 of 24] Compiling LLVM.FFI.Analysis ( dist/build/LLVM/FFI/Analysis.hs, dist/build/LLVM/FFI/Analysis.o ) In-place registering llvm-base-3.0.1.0... Running Haddock for llvm-base-3.0.1.0... Running hscolour for llvm-base-3.0.1.0... Preprocessing library llvm-base-3.0.1.0... Preprocessing library llvm-base-3.0.1.0... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 dist/build/tmp-12536/LLVM/Target/Native.hs:10:1: Warning: The import of `LLVM.Target.X86' is redundant except perhaps to import instances from `LLVM.Target.X86' To import instances alone, use: import LLVM.Target.X86() Haddock coverage: 0% ( 0 / 2) in 'LLVM.Target.XCore' 0% ( 0 / 2) in 'LLVM.Target.SystemZ' 0% ( 0 / 2) in 'LLVM.Target.Sparc' 0% ( 0 / 2) in 'LLVM.Target.PowerPC' 0% ( 0 / 2) in 'LLVM.Target.PIC16' 0% ( 0 / 2) in 'LLVM.Target.Mips' 0% ( 0 / 2) in 'LLVM.Target.MSP430' 0% ( 0 / 2) in 'LLVM.Target.CppBackend' 0% ( 0 / 2) in 'LLVM.Target.CellSPU' 0% ( 0 / 2) in 'LLVM.Target.CBackend' 0% ( 0 / 2) in 'LLVM.Target.Blackfin' 0% ( 0 / 2) in 'LLVM.Target.Alpha' 0% ( 0 / 2) in 'LLVM.Target.ARM' 0% ( 0 / 2) in 'LLVM.Target.X86' 50% ( 1 / 2) in 'LLVM.Target.Native' 12% ( 53 /448) in 'LLVM.FFI.Core' 0% ( 0 / 7) in 'LLVM.FFI.BitReader' 0% ( 0 / 4) in 'LLVM.FFI.BitWriter' 0% ( 0 / 20) in 'LLVM.FFI.Target' 8% ( 3 / 37) in 'LLVM.FFI.ExecutionEngine' 0% ( 0 / 3) in 'LLVM.FFI.Support' 0% ( 0 / 15) in 'LLVM.FFI.Transforms.IPO' 0% ( 0 / 23) in 'LLVM.FFI.Transforms.Scalar' 0% ( 0 / 6) in 'LLVM.FFI.Analysis' Warning: LLVM.FFI.Core: could not find link destinations for: LLVM.FFI.Core.CAttribute Warning: LLVM.FFI.ExecutionEngine: could not find link destinations for: LLVM.FFI.ExecutionEngine.ExecutionEngineRef Documentation created: dist/doc/html/llvm-base/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/llvm-base-3.0.1.0 Registering llvm-base-3.0.1.0... Installed llvm-base-3.0.1.0 Configuring tfp-0.7... Building tfp-0.7... Preprocessing library tfp-0.7... [ 1 of 14] Compiling Types.Data.Bool ( Types/Data/Bool.hs, dist/build/Types/Data/Bool.o ) [ 2 of 14] Compiling Types.Data.List ( Types/Data/List.hs, dist/build/Types/Data/List.o ) [ 3 of 14] Compiling Types.Data.Ord ( Types/Data/Ord.hs, dist/build/Types/Data/Ord.o ) [ 4 of 14] Compiling Types.Data.Num.Ops ( Types/Data/Num/Ops.hs, dist/build/Types/Data/Num/Ops.o ) [ 5 of 14] Compiling Types.Data.Num.Decimal.Digits ( Types/Data/Num/Decimal/Digits.hs, dist/build/Types/Data/Num/Decimal/Digits.o ) [ 6 of 14] Compiling Types.Data.Num.Decimal.Literals.TH ( Types/Data/Num/Decimal/Literals/TH.hs, dist/build/Types/Data/Num/Decimal/Literals/TH.o ) [ 7 of 14] Compiling Types.Data.Num.Decimal.Literals ( Types/Data/Num/Decimal/Literals.hs, dist/build/Types/Data/Num/Decimal/Literals.o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package array-0.4.0.1 ... linking ... done. Loading package deepseq-1.3.0.1 ... linking ... done. Loading package containers-0.5.0.0 ... linking ... done. Loading package pretty-1.1.1.0 ... linking ... done. Loading package template-haskell ... linking ... done. [ 8 of 14] Compiling Types.Base ( Types/Base.hs, dist/build/Types/Base.o ) [ 9 of 14] Compiling Types.Data.Num.Decimal.Ops ( Types/Data/Num/Decimal/Ops.hs, dist/build/Types/Data/Num/Decimal/Ops.o ) [10 of 14] Compiling Types.Data.Num.Decimal ( Types/Data/Num/Decimal.hs, dist/build/Types/Data/Num/Decimal.o ) [11 of 14] Compiling Types.Data.Num ( Types/Data/Num.hs, dist/build/Types/Data/Num.o ) [12 of 14] Compiling Types ( Types.hs, dist/build/Types.o ) [13 of 14] Compiling Data.SizedWord ( Data/SizedWord.hs, dist/build/Data/SizedWord.o ) Data/SizedWord.hs:107:10: Warning: No explicit method or default declaration for `bit' In the instance declaration for `Bits (SizedWord nT)' Data/SizedWord.hs:107:10: Warning: No explicit method or default declaration for `testBit' In the instance declaration for `Bits (SizedWord nT)' Data/SizedWord.hs:107:10: Warning: No explicit method or default declaration for `popCount' In the instance declaration for `Bits (SizedWord nT)' [14 of 14] Compiling Data.SizedInt ( Data/SizedInt.hs, dist/build/Data/SizedInt.o ) Data/SizedInt.hs:128:10: Warning: No explicit method or default declaration for `bit' In the instance declaration for `Bits (SizedInt nT)' Data/SizedInt.hs:128:10: Warning: No explicit method or default declaration for `testBit' In the instance declaration for `Bits (SizedInt nT)' Data/SizedInt.hs:128:10: Warning: No explicit method or default declaration for `popCount' In the instance declaration for `Bits (SizedInt nT)' In-place registering tfp-0.7... Running Haddock for tfp-0.7... Running hscolour for tfp-0.7... Preprocessing library tfp-0.7... Preprocessing library tfp-0.7... dist/build/tmp-11551/Data/SizedInt.hs:128:10: Warning: No explicit method or default declaration for `bit' In the instance declaration for `Bits (SizedInt nT)' dist/build/tmp-11551/Data/SizedInt.hs:128:10: Warning: No explicit method or default declaration for `testBit' In the instance declaration for `Bits (SizedInt nT)' dist/build/tmp-11551/Data/SizedInt.hs:128:10: Warning: No explicit method or default declaration for `popCount' In the instance declaration for `Bits (SizedInt nT)' dist/build/tmp-11551/Data/SizedWord.hs:107:10: Warning: No explicit method or default declaration for `bit' In the instance declaration for `Bits (SizedWord nT)' dist/build/tmp-11551/Data/SizedWord.hs:107:10: Warning: No explicit method or default declaration for `testBit' In the instance declaration for `Bits (SizedWord nT)' dist/build/tmp-11551/Data/SizedWord.hs:107:10: Warning: No explicit method or default declaration for `popCount' In the instance declaration for `Bits (SizedWord nT)' Haddock coverage: Warning: Types.Data.Bool: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Not, :&&:, :||: Warning: Types.Data.Bool: We do not support associated types in instances yet. These instances are affected: Types.Data.Bool.IfT Types.Data.Bool.True y z, Types.Data.Bool.IfT Types.Data.Bool.False y z 8% ( 1 / 12) in 'Types.Data.Bool' Warning: Types.Data.List: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: IsNull, Head, Tail, Reverse, Reverse', Append 0% ( 0 / 8) in 'Types.Data.List' Warning: Types.Data.Ord: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: IsLT, IsEQ, IsGT, Compare, :<:, :<=:, :==:, :/=:, :>=:, :>:, Min, Max 3% ( 1 / 31) in 'Types.Data.Ord' Warning: Types.Data.Num.Ops: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: IsOdd, IsPositive, IsNegative, IsNatural Warning: Types.Data.Num.Ops: We do not support associated types in instances yet. These instances are affected: Types.Data.Num.Ops.IntegerT x => Types.Data.Num.Ops.IntegerT (Types.Data.Num.Ops.AssertPos x), Types.Data.Num.Ops.IntegerT x => Types.Data.Num.Ops.IntegerT (Types.Data.Num.Ops.AssertNeg x), Types.Data.Num.Ops.IntegerT x => Types.Data.Num.Ops.IntegerT (Types.Data.Num.Ops.AssertNat x) 4% ( 2 / 50) in 'Types.Data.Num.Ops' 25% ( 4 / 16) in 'Types.Data.Num.Decimal.Digits' 0% ( 0 / 5) in 'Types.Data.Num.Decimal.Literals.TH' 0% ( 0 /40003) in 'Types.Data.Num.Decimal.Literals' Warning: Types.Base: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Id 33% ( 1 / 3) in 'Types.Base' Warning: Types.Data.Num.Decimal.Ops: Instances of type and data families are not yet supported. Instances of the following families will be filtered out: Normalize, Normalize', NormalizePos, NormalizePos', ReverseDigits, ReverseDigits', NormalizeNeg, NormalizeNeg', IsPositive, IsPositive', IsZero, IsZero', IsNegative, IsNegative', IsNatural, IsNatural', Neg, Succ, Succ', Pred, Pred', Pred'', AddDigit, AddCarry, :+:, Add, SubDigit, Borrow, :-:, Sub, Sub', Sub'', SubPos, Mul2, Mul2', :*:, Mul, Mul', Fac, Fac', IsEven, IsEven', Div2, Div2Digit, Div2', Div2Pos, Div2Pos', Pow2, Pow2', Log2Ceil, Log2C', CompareDigit, Compare, Compare', ComparePos, ComparePos', CompareNeg Warning: Types.Data.Num.Decimal.Ops: We do not support associated types in instances yet. These instances are affected: Types.Data.Num.Decimal.Ops.IntegerT' x => Types.Data.Num.Ops.IntegerT (Types.Data.Num.Decimal.Digits.Dec x) 100% ( 1 / 1) in 'Types.Data.Num.Decimal.Ops' 67% ( 2 / 3) in 'Types.Data.Num.Decimal' 43% ( 3 / 7) in 'Types.Data.Num' 83% ( 5 / 6) in 'Types' 0% ( 0 / 2) in 'Data.SizedInt' 0% ( 0 / 2) in 'Data.SizedWord' Warning: Types.Data.Num.Ops: could not find link destinations for: Types.Data.Num.Decimal.Ops.IntegerT' Warning: Types.Data.Num.Decimal.Digits: could not find link destinations for: Types.Data.Num.Decimal.Ops.IntegerT' Documentation created: dist/doc/html/tfp/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/tfp-0.7 Registering tfp-0.7... Installed tfp-0.7 Downloading llvm-tf-3.0.0.0.2... Configuring llvm-tf-3.0.0.0.2... Building llvm-tf-3.0.0.0.2... Preprocessing library llvm-tf-3.0.0.0.2... [ 1 of 17] Compiling LLVM.Util.Foreign ( LLVM/Util/Foreign.hs, dist/build/LLVM/Util/Foreign.o ) [ 2 of 17] Compiling LLVM.Core.Util ( LLVM/Core/Util.hs, dist/build/LLVM/Core/Util.o ) [ 3 of 17] Compiling LLVM.Core.CodeGenMonad ( LLVM/Core/CodeGenMonad.hs, dist/build/LLVM/Core/CodeGenMonad.o ) [ 4 of 17] Compiling LLVM.Util.Optimize ( LLVM/Util/Optimize.hs, dist/build/LLVM/Util/Optimize.o ) [ 5 of 17] Compiling LLVM.Core.Data ( LLVM/Core/Data.hs, dist/build/LLVM/Core/Data.o ) [ 6 of 17] Compiling LLVM.Core.Type ( LLVM/Core/Type.hs, dist/build/LLVM/Core/Type.o ) LLVM/Core/Type.hs:74:25: Not in scope: `FFI.fP128Type' Perhaps you meant `FFI.fp128Type' (imported from LLVM.FFI.Core) Failed to install llvm-tf-3.0.0.0.2 cabal: Error: some packages failed to install: llvm-tf-3.0.0.0.2 failed during the building phase. The exception was: ExitFailure 1