llvm-hs / llvm-hs

Haskell bindings for LLVM
500 stars 117 forks source link

Tests fail on aarch64 #334

Open sternenseemann opened 3 years ago

sternenseemann commented 3 years ago

Seems like this is the culprit and you need a x86_64-linux (cross)-toolchain for the tests.

setupCompilerEnvironmentPhase
Build with /nix/store/n5z7zr3jl1k96wcrrjqlc5bxdhjc1i69-ghc-8.10.4.
unpacking sources
unpacking source archive /nix/store/2xmdp36vnlr5kpxw3wi4lpcsjc6qma77-llvm-hs-9.0.1.tar.gz
source root is llvm-hs-9.0.1
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file llvm-hs-9.0.1/test/Test.hs
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/build/setup-package.conf.d -j3 +RTS -A64M -RTS -threaded -rtsopts
[1 of 1] Compiling Main             ( Setup.hs, /build/Main.o )
Linking Setup ...
updateAutotoolsGnuConfigScriptsPhase
configuring
configureFlags: --verbose --prefix=/nix/store/76882dh7zc2ssqxr4bkaxg4d1az3lmkm-llvm-hs-9.0.1 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/c71fajkaba6x8h83ays29il1zb69hi13-llvm-hs-9.0.1-doc/share/doc/llvm-hs-9.0.1 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-options=-j3 +RTS -A64M -RTS --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/bqknm9ar9p0d0l5215l826nx60bfrsip-ncurses-6.2/lib --extra-lib-dirs=/nix/store/llng85rn6an8k9krcxp3h9kgcz96ndwh-libffi-3.3/lib --extra-lib-dirs=/nix/store/22ljfc63ghv5n4y5s60035mv44dfi97q-gmp-6.2.1/lib
Using Parsec parser
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --version
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --cxxflags
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --includedir
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --libdir
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --version
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --libs --link-shared
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --system-libs --link-shared
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --version
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --libdir
Configuring llvm-hs-9.0.1...
Flags chosen: debug=False, shared-llvm=True
Dependency array >=0.4.0.0: using array-0.5.4.0
Dependency attoparsec >=0.13: using attoparsec-0.13.2.5
Dependency base >=4.9 && <5: using base-4.14.1.0
Dependency bytestring >=0.9.1.10: using bytestring-0.10.12.0
Dependency containers >=0.4.2.1: using containers-0.6.2.1
Dependency exceptions >=0.8: using exceptions-0.10.4
Dependency llvm-hs-pure ==9.0.*: using llvm-hs-pure-9.0.0
Dependency mtl >=2.1.3: using mtl-2.2.2
Dependency template-haskell >=2.5.0.0: using template-haskell-2.16.0.0
Dependency transformers >=0.3 && <0.6: using transformers-0.5.6.2
Dependency utf8-string >=0.3.7: using utf8-string-1.0.2
Dependency QuickCheck >=2.5.1.1: using QuickCheck-2.14.2
Dependency base >=4.9 && <5: using base-4.14.1.0
Dependency bytestring ==0.10.*: using bytestring-0.10.12.0
Dependency containers >=0.4.2.1: using containers-0.6.2.1
Dependency llvm-hs -any: using llvm-hs-9.0.1
Dependency llvm-hs-pure -any: using llvm-hs-pure-9.0.0
Dependency mtl >=2.1: using mtl-2.2.2
Dependency pretty-show >=1.6: using pretty-show-1.10
Dependency process -any: using process-1.6.9.0
Dependency tasty >=0.11: using tasty-1.4.1
Dependency tasty-hunit >=0.9: using tasty-hunit-0.10.0.3
Dependency tasty-quickcheck >=0.8: using tasty-quickcheck-0.10.1.2
Dependency temporary >=1.2 && <1.4: using temporary-1.3
Dependency transformers >=0.3.0.0: using transformers-0.5.6.2
Source component graph:
    component lib
    component test:test dependency lib
Configured component graph:
    component llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy
        include array-0.5.4.0
        include attoparsec-0.13.2.5-8s0seXVE5Rx6XBVLo4h4cB
        include base-4.14.1.0
        include bytestring-0.10.12.0
        include containers-0.6.2.1
        include exceptions-0.10.4
        include llvm-hs-pure-9.0.0-6ZOsSWeyc3GARc8VhLW64W
        include mtl-2.2.2
        include template-haskell-2.16.0.0
        include transformers-0.5.6.2
        include utf8-string-1.0.2-Lwtc54cgMl77YyeO5RGhjt
    component llvm-hs-9.0.1-Krahtaey1FnK47YaabC9LA-test
        include QuickCheck-2.14.2-emyW1cBTLx2Wxf2sOiMGt
        include base-4.14.1.0
        include bytestring-0.10.12.0
        include containers-0.6.2.1
        include llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy
        include llvm-hs-pure-9.0.0-6ZOsSWeyc3GARc8VhLW64W
        include mtl-2.2.2
        include pretty-show-1.10-EhdS2ToA2sEFyivshN51pj
        include process-1.6.9.0
        include tasty-1.4.1-7gC84J0Zddp6CBVtpkxhGW
        include tasty-hunit-0.10.0.3-6ygM5dNwmYLOSYF8mYZq7
        include tasty-quickcheck-0.10.1.2-EmAhcypHJ6JDZsfjgqn3j1
        include temporary-1.3-KHBj7mh7xbEEToSZczc7dT
        include transformers-0.5.6.2
Linked component graph:
    unit llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy
        include array-0.5.4.0
        include attoparsec-0.13.2.5-8s0seXVE5Rx6XBVLo4h4cB
        include base-4.14.1.0
        include bytestring-0.10.12.0
        include containers-0.6.2.1
        include exceptions-0.10.4
        include llvm-hs-pure-9.0.0-6ZOsSWeyc3GARc8VhLW64W
        include mtl-2.2.2
        include template-haskell-2.16.0.0
        include transformers-0.5.6.2
        include utf8-string-1.0.2-Lwtc54cgMl77YyeO5RGhjt
        LLVM=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM,LLVM.Analysis=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Analysis,LLVM.CodeGenOpt=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.CodeGenOpt,LLVM.CodeModel=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.CodeModel,LLVM.CommandLine=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.CommandLine,LLVM.Context=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Context,LLVM.Diagnostic=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Diagnostic,LLVM.Exception=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Exception,LLVM.ExecutionEngine=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.ExecutionEngine,LLVM.Internal.Analysis=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Analysis,LLVM.Internal.Atomicity=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Atomicity,LLVM.Internal.Attribute=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Attribute,LLVM.Internal.BasicBlock=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.BasicBlock,LLVM.Internal.CallingConvention=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.CallingConvention,LLVM.Internal.Coding=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Coding,LLVM.Internal.CommandLine=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.CommandLine,LLVM.Internal.Constant=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Constant,LLVM.Internal.Context=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Context,LLVM.Internal.DataLayout=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.DataLayout,LLVM.Internal.DecodeAST=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.DecodeAST,LLVM.Internal.Diagnostic=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Diagnostic,LLVM.Internal.EncodeAST=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.EncodeAST,LLVM.Internal.ExecutionEngine=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.ExecutionEngine,LLVM.Internal.FFI.Analysis=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Analysis,LLVM.Internal.FFI.Assembly=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Assembly,LLVM.Internal.FFI.Attribute=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Attribute,LLVM.Internal.FFI.BasicBlock=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.BasicBlock,LLVM.Internal.FFI.BinaryOperator=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.BinaryOperator,LLVM.Internal.FFI.Bitcode=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Bitcode,LLVM.Internal.FFI.Builder=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Builder,LLVM.Internal.FFI.ByteRangeCallback=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.ByteRangeCallback,LLVM.Internal.FFI.Cleanup=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Cleanup,LLVM.Internal.FFI.CommandLine=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.CommandLine,LLVM.Internal.FFI.Constant=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Constant,LLVM.Internal.FFI.Context=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Context,LLVM.Internal.FFI.DataLayout=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.DataLayout,LLVM.Internal.FFI.DynamicLibrary=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.DynamicLibrary,LLVM.Internal.FFI.ExecutionEngine=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.ExecutionEngine,LLVM.Internal.FFI.Function=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Function,LLVM.Internal.FFI.GlobalAlias=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.GlobalAlias,LLVM.Internal.FFI.GlobalValue=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.GlobalValue,LLVM.Internal.FFI.GlobalVariable=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.GlobalVariable,LLVM.Internal.FFI.InlineAssembly=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.InlineAssembly,LLVM.Internal.FFI.Instruction=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Instruction,LLVM.Internal.FFI.InstructionDefs=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.InstructionDefs,LLVM.Internal.FFI.Iterate=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Iterate,LLVM.Internal.FFI.LLVMCTypes=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.LLVMCTypes,LLVM.Internal.FFI.MemoryBuffer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.MemoryBuffer,LLVM.Internal.FFI.Metadata=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Metadata,LLVM.Internal.FFI.Module=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Module,LLVM.Internal.FFI.ObjectFile=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.ObjectFile,LLVM.Internal.FFI.OrcJIT=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.OrcJIT,LLVM.Internal.FFI.OrcJIT.CompileLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.OrcJIT.CompileLayer,LLVM.Internal.FFI.OrcJIT.CompileOnDemandLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.OrcJIT.CompileOnDemandLayer,LLVM.Internal.FFI.OrcJIT.IRCompileLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.OrcJIT.IRCompileLayer,LLVM.Internal.FFI.OrcJIT.IRTransformLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.OrcJIT.IRTransformLayer,LLVM.Internal.FFI.OrcJIT.LinkingLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.OrcJIT.LinkingLayer,LLVM.Internal.FFI.PassManager=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.PassManager,LLVM.Internal.FFI.PtrHierarchy=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.PtrHierarchy,LLVM.Internal.FFI.RTDyldMemoryManager=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.RTDyldMemoryManager,LLVM.Internal.FFI.RawOStream=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.RawOStream,LLVM.Internal.FFI.SMDiagnostic=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.SMDiagnostic,LLVM.Internal.FFI.ShortByteString=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.ShortByteString,LLVM.Internal.FFI.Target=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Target,LLVM.Internal.FFI.Threading=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Threading,LLVM.Internal.FFI.Transforms=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Transforms,LLVM.Internal.FFI.Type=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Type,LLVM.Internal.FFI.User=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.User,LLVM.Internal.FFI.Value=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FFI.Value,LLVM.Internal.FastMathFlags=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FastMathFlags,LLVM.Internal.FloatingPointPredicate=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.FloatingPointPredicate,LLVM.Internal.Function=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Function,LLVM.Internal.Global=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Global,LLVM.Internal.InlineAssembly=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.InlineAssembly,LLVM.Internal.Instruction=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Instruction,LLVM.Internal.InstructionDefs=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.InstructionDefs,LLVM.Internal.IntegerPredicate=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.IntegerPredicate,LLVM.Internal.LibraryFunction=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.LibraryFunction,LLVM.Internal.Linking=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Linking,LLVM.Internal.MemoryBuffer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.MemoryBuffer,LLVM.Internal.Metadata=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Metadata,LLVM.Internal.Module=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Module,LLVM.Internal.ObjectFile=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.ObjectFile,LLVM.Internal.Operand=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Operand,LLVM.Internal.OrcJIT=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.OrcJIT,LLVM.Internal.OrcJIT.CompileLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.OrcJIT.CompileLayer,LLVM.Internal.OrcJIT.CompileOnDemandLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.OrcJIT.CompileOnDemandLayer,LLVM.Internal.OrcJIT.IRCompileLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.OrcJIT.IRCompileLayer,LLVM.Internal.OrcJIT.IRTransformLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.OrcJIT.IRTransformLayer,LLVM.Internal.OrcJIT.LinkingLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.OrcJIT.LinkingLayer,LLVM.Internal.PassManager=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.PassManager,LLVM.Internal.RMWOperation=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.RMWOperation,LLVM.Internal.RawOStream=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.RawOStream,LLVM.Internal.String=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.String,LLVM.Internal.TailCallKind=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.TailCallKind,LLVM.Internal.Target=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Target,LLVM.Internal.Threading=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Threading,LLVM.Internal.Type=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Type,LLVM.Internal.Value=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Internal.Value,LLVM.Linking=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Linking,LLVM.Module=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Module,LLVM.OrcJIT=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.OrcJIT,LLVM.OrcJIT.CompileLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.OrcJIT.CompileLayer,LLVM.OrcJIT.LinkingLayer=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.OrcJIT.LinkingLayer,LLVM.PassManager=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.PassManager,LLVM.Relocation=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Relocation,LLVM.Target=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Target,LLVM.Target.LibraryFunction=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Target.LibraryFunction,LLVM.Target.Options=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Target.Options,LLVM.Threading=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Threading,LLVM.Transforms=llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy:LLVM.Transforms
    unit llvm-hs-9.0.1-Krahtaey1FnK47YaabC9LA-test
        include QuickCheck-2.14.2-emyW1cBTLx2Wxf2sOiMGt
        include base-4.14.1.0
        include bytestring-0.10.12.0
        include containers-0.6.2.1
        include llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy
        include llvm-hs-pure-9.0.0-6ZOsSWeyc3GARc8VhLW64W
        include mtl-2.2.2
        include pretty-show-1.10-EhdS2ToA2sEFyivshN51pj
        include process-1.6.9.0
        include tasty-1.4.1-7gC84J0Zddp6CBVtpkxhGW
        include tasty-hunit-0.10.0.3-6ygM5dNwmYLOSYF8mYZq7
        include tasty-quickcheck-0.10.1.2-EmAhcypHJ6JDZsfjgqn3j1
        include temporary-1.3-KHBj7mh7xbEEToSZczc7dT
        include transformers-0.5.6.2
Ready component graph:
    definite llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy
        depends array-0.5.4.0
        depends attoparsec-0.13.2.5-8s0seXVE5Rx6XBVLo4h4cB
        depends base-4.14.1.0
        depends bytestring-0.10.12.0
        depends containers-0.6.2.1
        depends exceptions-0.10.4
        depends llvm-hs-pure-9.0.0-6ZOsSWeyc3GARc8VhLW64W
        depends mtl-2.2.2
        depends template-haskell-2.16.0.0
        depends transformers-0.5.6.2
        depends utf8-string-1.0.2-Lwtc54cgMl77YyeO5RGhjt
    definite llvm-hs-9.0.1-Krahtaey1FnK47YaabC9LA-test
        depends QuickCheck-2.14.2-emyW1cBTLx2Wxf2sOiMGt
        depends base-4.14.1.0
        depends bytestring-0.10.12.0
        depends containers-0.6.2.1
        depends llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy
        depends llvm-hs-pure-9.0.0-6ZOsSWeyc3GARc8VhLW64W
        depends mtl-2.2.2
        depends pretty-show-1.10-EhdS2ToA2sEFyivshN51pj
        depends process-1.6.9.0
        depends tasty-1.4.1-7gC84J0Zddp6CBVtpkxhGW
        depends tasty-hunit-0.10.0.3-6ygM5dNwmYLOSYF8mYZq7
        depends tasty-quickcheck-0.10.1.2-EmAhcypHJ6JDZsfjgqn3j1
        depends temporary-1.3-KHBj7mh7xbEEToSZczc7dT
        depends transformers-0.5.6.2
Using Cabal-3.2.1.0 compiled by ghc-8.10
Using compiler: ghc-8.10.4
Using install prefix:
/nix/store/76882dh7zc2ssqxr4bkaxg4d1az3lmkm-llvm-hs-9.0.1
Executables installed in:
/nix/store/76882dh7zc2ssqxr4bkaxg4d1az3lmkm-llvm-hs-9.0.1/bin
Libraries installed in:
/nix/store/76882dh7zc2ssqxr4bkaxg4d1az3lmkm-llvm-hs-9.0.1/lib/ghc-8.10.4/aarch64-linux-ghc-8.10.4/llvm-hs-9.0.1-KQUtF8kDsjf9y4h5tlNcJy
Dynamic Libraries installed in:
/nix/store/76882dh7zc2ssqxr4bkaxg4d1az3lmkm-llvm-hs-9.0.1/lib/ghc-8.10.4/aarch64-linux-ghc-8.10.4
Private executables installed in:
/nix/store/76882dh7zc2ssqxr4bkaxg4d1az3lmkm-llvm-hs-9.0.1/libexec/aarch64-linux-ghc-8.10.4/llvm-hs-9.0.1
Data files installed in:
/nix/store/76882dh7zc2ssqxr4bkaxg4d1az3lmkm-llvm-hs-9.0.1/share/aarch64-linux-ghc-8.10.4/llvm-hs-9.0.1
Documentation installed in:
/nix/store/c71fajkaba6x8h83ays29il1zb69hi13-llvm-hs-9.0.1-doc/share/doc/llvm-hs-9.0.1
Configuration files installed in:
/nix/store/76882dh7zc2ssqxr4bkaxg4d1az3lmkm-llvm-hs-9.0.1/etc
No alex found
Using ar found on system at:
/nix/store/ppvq7f8cx4q4c7xjhp7ghs7pb5i8j7z9-binutils-2.35.1/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 9.3.0 given by user at:
/nix/store/h8waayiawibip53lsvlc8fixfwlxqkpk-gcc-wrapper-9.3.0/bin/gcc
Using ghc version 8.10.4 found on system at:
/nix/store/n5z7zr3jl1k96wcrrjqlc5bxdhjc1i69-ghc-8.10.4/bin/ghc
Using ghc-pkg version 8.10.4 found on system at:
/nix/store/n5z7zr3jl1k96wcrrjqlc5bxdhjc1i69-ghc-8.10.4/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.24.0 found on system at:
/nix/store/n5z7zr3jl1k96wcrrjqlc5bxdhjc1i69-ghc-8.10.4/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.68 found on system at:
/nix/store/n5z7zr3jl1k96wcrrjqlc5bxdhjc1i69-ghc-8.10.4/bin/hpc
Using hsc2hs version 0.68.7 found on system at:
/nix/store/n5z7zr3jl1k96wcrrjqlc5bxdhjc1i69-ghc-8.10.4/bin/hsc2hs
Using hscolour version 1.24 found on system at:
/nix/store/p88488g435xzdj8wxgqsalkdhn0qh2c9-hscolour-1.24.4/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/w1d9m45rwallarkkkrzhcrc85afm1x81-binutils-wrapper-2.35.1/bin/ld.gold
Using llvm-config version 9.0.1 found on system at:
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config
No pkg-config found
Using runghc version 8.10.4 found on system at:
/nix/store/n5z7zr3jl1k96wcrrjqlc5bxdhjc1i69-ghc-8.10.4/bin/runghc
Using strip version 2.35 found on system at:
/nix/store/ppvq7f8cx4q4c7xjhp7ghs7pb5i8j7z9-binutils-2.35.1/bin/strip
Using tar found on system at:
/nix/store/a4lfl87zf306hid5qj0sgxy5g71nyjr8-gnutar-1.34/bin/tar
No uhc found
building
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --version
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --libdir
Preprocessing library for llvm-hs-9.0.1..
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --version
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --cflags
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --version
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --cflags
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --version
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --cflags
Building library for llvm-hs-9.0.1..
[  1 of 114] Compiling Control.Monad.Trans.AnyCont ( src/Control/Monad/Trans/AnyCont.hs, dist/build/Control/Monad/Trans/AnyCont.o, dist/build/Control/Monad/Trans/AnyCont.dyn_o )
[  2 of 114] Compiling Control.Monad.AnyCont.Class ( src/Control/Monad/AnyCont/Class.hs, dist/build/Control/Monad/AnyCont/Class.o, dist/build/Control/Monad/AnyCont/Class.dyn_o )
[  3 of 114] Compiling Control.Monad.AnyCont ( src/Control/Monad/AnyCont.hs, dist/build/Control/Monad/AnyCont.o, dist/build/Control/Monad/AnyCont.dyn_o )
[  4 of 114] Compiling LLVM.CodeGenOpt  ( src/LLVM/CodeGenOpt.hs, dist/build/LLVM/CodeGenOpt.o, dist/build/LLVM/CodeGenOpt.dyn_o )
[  5 of 114] Compiling LLVM.CodeModel   ( src/LLVM/CodeModel.hs, dist/build/LLVM/CodeModel.o, dist/build/LLVM/CodeModel.dyn_o )
[  6 of 114] Compiling LLVM.Diagnostic  ( src/LLVM/Diagnostic.hs, dist/build/LLVM/Diagnostic.o, dist/build/LLVM/Diagnostic.dyn_o )
[  7 of 114] Compiling LLVM.Exception   ( src/LLVM/Exception.hs, dist/build/LLVM/Exception.o, dist/build/LLVM/Exception.dyn_o )
[  8 of 114] Compiling LLVM.Internal.FFI.ByteRangeCallback ( src/LLVM/Internal/FFI/ByteRangeCallback.hs, dist/build/LLVM/Internal/FFI/ByteRangeCallback.o, dist/build/LLVM/Internal/FFI/ByteRangeCallback.dyn_o )
[  9 of 114] Compiling LLVM.Internal.FFI.CommandLine ( src/LLVM/Internal/FFI/CommandLine.hs, dist/build/LLVM/Internal/FFI/CommandLine.o, dist/build/LLVM/Internal/FFI/CommandLine.dyn_o )
[ 10 of 114] Compiling LLVM.Internal.FFI.Context ( src/LLVM/Internal/FFI/Context.hs, dist/build/LLVM/Internal/FFI/Context.o, dist/build/LLVM/Internal/FFI/Context.dyn_o )
[ 11 of 114] Compiling LLVM.Internal.Context ( src/LLVM/Internal/Context.hs, dist/build/LLVM/Internal/Context.o, dist/build/LLVM/Internal/Context.dyn_o )
[ 12 of 114] Compiling LLVM.Context     ( src/LLVM/Context.hs, dist/build/LLVM/Context.o, dist/build/LLVM/Context.dyn_o )
[ 13 of 114] Compiling LLVM.Internal.FFI.Iterate ( src/LLVM/Internal/FFI/Iterate.hs, dist/build/LLVM/Internal/FFI/Iterate.o, dist/build/LLVM/Internal/FFI/Iterate.dyn_o )
[ 14 of 114] Compiling LLVM.Internal.FFI.LLVMCTypes ( dist/build/LLVM/Internal/FFI/LLVMCTypes.hs, dist/build/LLVM/Internal/FFI/LLVMCTypes.o, dist/build/LLVM/Internal/FFI/LLVMCTypes.dyn_o )
[ 15 of 114] Compiling LLVM.Internal.FFI.InstructionDefs ( dist/build/LLVM/Internal/FFI/InstructionDefs.hs, dist/build/LLVM/Internal/FFI/InstructionDefs.o, dist/build/LLVM/Internal/FFI/InstructionDefs.dyn_o )
[ 16 of 114] Compiling LLVM.Internal.FFI.DynamicLibrary ( src/LLVM/Internal/FFI/DynamicLibrary.hs, dist/build/LLVM/Internal/FFI/DynamicLibrary.o, dist/build/LLVM/Internal/FFI/DynamicLibrary.dyn_o )
[ 17 of 114] Compiling LLVM.Internal.FFI.Attribute ( src/LLVM/Internal/FFI/Attribute.hs, dist/build/LLVM/Internal/FFI/Attribute.o, dist/build/LLVM/Internal/FFI/Attribute.dyn_o )
[ 18 of 114] Compiling LLVM.Internal.Coding ( src/LLVM/Internal/Coding.hs, dist/build/LLVM/Internal/Coding.o, dist/build/LLVM/Internal/Coding.dyn_o )
[ 19 of 114] Compiling LLVM.Internal.CallingConvention ( src/LLVM/Internal/CallingConvention.hs, dist/build/LLVM/Internal/CallingConvention.o, dist/build/LLVM/Internal/CallingConvention.dyn_o )
[ 20 of 114] Compiling LLVM.Internal.Atomicity ( src/LLVM/Internal/Atomicity.hs, dist/build/LLVM/Internal/Atomicity.o, dist/build/LLVM/Internal/Atomicity.dyn_o )
[ 21 of 114] Compiling LLVM.Internal.FFI.MemoryBuffer ( src/LLVM/Internal/FFI/MemoryBuffer.hs, dist/build/LLVM/Internal/FFI/MemoryBuffer.o, dist/build/LLVM/Internal/FFI/MemoryBuffer.dyn_o )
[ 22 of 114] Compiling LLVM.Internal.FFI.ObjectFile ( src/LLVM/Internal/FFI/ObjectFile.hs, dist/build/LLVM/Internal/FFI/ObjectFile.o, dist/build/LLVM/Internal/FFI/ObjectFile.dyn_o )
[ 23 of 114] Compiling LLVM.Internal.FFI.PtrHierarchy ( src/LLVM/Internal/FFI/PtrHierarchy.hs, dist/build/LLVM/Internal/FFI/PtrHierarchy.o, dist/build/LLVM/Internal/FFI/PtrHierarchy.dyn_o )
[ 24 of 114] Compiling LLVM.Internal.FFI.Metadata ( src/LLVM/Internal/FFI/Metadata.hs, dist/build/LLVM/Internal/FFI/Metadata.o, dist/build/LLVM/Internal/FFI/Metadata.dyn_o )
[ 25 of 114] Compiling LLVM.Internal.FFI.Instruction ( src/LLVM/Internal/FFI/Instruction.hs, dist/build/LLVM/Internal/FFI/Instruction.o, dist/build/LLVM/Internal/FFI/Instruction.dyn_o )
[ 26 of 114] Compiling LLVM.Internal.FFI.InlineAssembly ( src/LLVM/Internal/FFI/InlineAssembly.hs, dist/build/LLVM/Internal/FFI/InlineAssembly.o, dist/build/LLVM/Internal/FFI/InlineAssembly.dyn_o )
[ 27 of 114] Compiling LLVM.Internal.FFI.GlobalVariable ( src/LLVM/Internal/FFI/GlobalVariable.hs, dist/build/LLVM/Internal/FFI/GlobalVariable.o, dist/build/LLVM/Internal/FFI/GlobalVariable.dyn_o )
[ 28 of 114] Compiling LLVM.Internal.FFI.GlobalValue ( src/LLVM/Internal/FFI/GlobalValue.hs, dist/build/LLVM/Internal/FFI/GlobalValue.o, dist/build/LLVM/Internal/FFI/GlobalValue.dyn_o )
[ 29 of 114] Compiling LLVM.Internal.FFI.GlobalAlias ( src/LLVM/Internal/FFI/GlobalAlias.hs, dist/build/LLVM/Internal/FFI/GlobalAlias.o, dist/build/LLVM/Internal/FFI/GlobalAlias.dyn_o )
[ 30 of 114] Compiling LLVM.Internal.FFI.Function ( src/LLVM/Internal/FFI/Function.hs, dist/build/LLVM/Internal/FFI/Function.o, dist/build/LLVM/Internal/FFI/Function.dyn_o )
[ 31 of 114] Compiling LLVM.Internal.FFI.DataLayout ( src/LLVM/Internal/FFI/DataLayout.hs, dist/build/LLVM/Internal/FFI/DataLayout.o, dist/build/LLVM/Internal/FFI/DataLayout.dyn_o )
[ 32 of 114] Compiling LLVM.Internal.FFI.OrcJIT ( src/LLVM/Internal/FFI/OrcJIT.hs, dist/build/LLVM/Internal/FFI/OrcJIT.o, dist/build/LLVM/Internal/FFI/OrcJIT.dyn_o )
/build/ghc426_0/ghc_785.c: In function ‘zdllvmzmhszm9zi0zi1zmKQUtF8kDsjf9y4h5tlNcJyzdLLVMziInternalziFFIziOrcJITzdllvmzzmhszzm9zzi0zzi1zzmKQUtF8kDsjf9y4h5tlNcJyzuLLVMzziInternalzziFFIzziOrcJITzuwrapGetSymbolResolver’:

/build/ghc426_0/ghc_785.c:29:17: error:
     warning: assignment to ‘ffi_arg’ {aka ‘long unsigned int’} from ‘HsPtr’ {aka ‘void *’} makes integer from pointer without a cast [-Wint-conversion]
       29 | *(ffi_arg*)resp = cret;
          |                 ^
/build/ghc426_0/ghc_795.c: In function ‘zdllvmzmhszm9zi0zi1zmKQUtF8kDsjf9y4h5tlNcJyzdLLVMziInternalziFFIziOrcJITzdllvmzzmhszzm9zzi0zzi1zzmKQUtF8kDsjf9y4h5tlNcJyzuLLVMzziInternalzziFFIzziOrcJITzuwrapGetSymbolResolver’:

/build/ghc426_0/ghc_795.c:29:17: error:
     warning: assignment to ‘ffi_arg’ {aka ‘long unsigned int’} from ‘HsPtr’ {aka ‘void *’} makes integer from pointer without a cast [-Wint-conversion]
       29 | *(ffi_arg*)resp = cret;
          |                 ^
[ 33 of 114] Compiling LLVM.Internal.FFI.OrcJIT.LinkingLayer ( src/LLVM/Internal/FFI/OrcJIT/LinkingLayer.hs, dist/build/LLVM/Internal/FFI/OrcJIT/LinkingLayer.o, dist/build/LLVM/Internal/FFI/OrcJIT/LinkingLayer.dyn_o )
[ 34 of 114] Compiling LLVM.Internal.FFI.Cleanup ( src/LLVM/Internal/FFI/Cleanup.hs, dist/build/LLVM/Internal/FFI/Cleanup.o, dist/build/LLVM/Internal/FFI/Cleanup.dyn_o )
[ 35 of 114] Compiling LLVM.Internal.FFI.BinaryOperator ( src/LLVM/Internal/FFI/BinaryOperator.hs, dist/build/LLVM/Internal/FFI/BinaryOperator.o, dist/build/LLVM/Internal/FFI/BinaryOperator.dyn_o )
[ 36 of 114] Compiling LLVM.Internal.FFI.BasicBlock ( src/LLVM/Internal/FFI/BasicBlock.hs, dist/build/LLVM/Internal/FFI/BasicBlock.o, dist/build/LLVM/Internal/FFI/BasicBlock.dyn_o )
[ 37 of 114] Compiling LLVM.Internal.FFI.RTDyldMemoryManager ( src/LLVM/Internal/FFI/RTDyldMemoryManager.hs, dist/build/LLVM/Internal/FFI/RTDyldMemoryManager.o, dist/build/LLVM/Internal/FFI/RTDyldMemoryManager.dyn_o )
[ 38 of 114] Compiling LLVM.Internal.FFI.RawOStream ( src/LLVM/Internal/FFI/RawOStream.hs, dist/build/LLVM/Internal/FFI/RawOStream.o, dist/build/LLVM/Internal/FFI/RawOStream.dyn_o )
[ 39 of 114] Compiling LLVM.Internal.FFI.SMDiagnostic ( src/LLVM/Internal/FFI/SMDiagnostic.hs, dist/build/LLVM/Internal/FFI/SMDiagnostic.o, dist/build/LLVM/Internal/FFI/SMDiagnostic.dyn_o )
[ 40 of 114] Compiling LLVM.Internal.FFI.ShortByteString ( src/LLVM/Internal/FFI/ShortByteString.hs, dist/build/LLVM/Internal/FFI/ShortByteString.o, dist/build/LLVM/Internal/FFI/ShortByteString.dyn_o )
[ 41 of 114] Compiling LLVM.Internal.FFI.Threading ( src/LLVM/Internal/FFI/Threading.hs, dist/build/LLVM/Internal/FFI/Threading.o, dist/build/LLVM/Internal/FFI/Threading.dyn_o )
[ 42 of 114] Compiling LLVM.Internal.FFI.Transforms ( src/LLVM/Internal/FFI/Transforms.hs, dist/build/LLVM/Internal/FFI/Transforms.o, dist/build/LLVM/Internal/FFI/Transforms.dyn_o )
[ 43 of 114] Compiling LLVM.Internal.FFI.Type ( src/LLVM/Internal/FFI/Type.hs, dist/build/LLVM/Internal/FFI/Type.o, dist/build/LLVM/Internal/FFI/Type.dyn_o )
[ 44 of 114] Compiling LLVM.Internal.FFI.Module ( src/LLVM/Internal/FFI/Module.hs, dist/build/LLVM/Internal/FFI/Module.o, dist/build/LLVM/Internal/FFI/Module.dyn_o )
[ 45 of 114] Compiling LLVM.Internal.FFI.Target ( src/LLVM/Internal/FFI/Target.hs, dist/build/LLVM/Internal/FFI/Target.o, dist/build/LLVM/Internal/FFI/Target.dyn_o )
[ 46 of 114] Compiling LLVM.Internal.FFI.OrcJIT.CompileLayer ( src/LLVM/Internal/FFI/OrcJIT/CompileLayer.hs, dist/build/LLVM/Internal/FFI/OrcJIT/CompileLayer.o, dist/build/LLVM/Internal/FFI/OrcJIT/CompileLayer.dyn_o )
[ 47 of 114] Compiling LLVM.Internal.FFI.OrcJIT.IRTransformLayer ( src/LLVM/Internal/FFI/OrcJIT/IRTransformLayer.hs, dist/build/LLVM/Internal/FFI/OrcJIT/IRTransformLayer.o, dist/build/LLVM/Internal/FFI/OrcJIT/IRTransformLayer.dyn_o )
/build/ghc426_0/ghc_1149.c: In function ‘zdllvmzmhszm9zi0zi1zmKQUtF8kDsjf9y4h5tlNcJyzdLLVMziInternalziFFIziOrcJITziIRTransformLayerzdllvmzzmhszzm9zzi0zzi1zzmKQUtF8kDsjf9y4h5tlNcJyzuLLVMzziInternalzziFFIzziOrcJITzziIRTransformLayerzuwrapModuleTransform’:

/build/ghc426_0/ghc_1149.c:19:17: error:
     warning: assignment to ‘ffi_arg’ {aka ‘long unsigned int’} from ‘HsPtr’ {aka ‘void *’} makes integer from pointer without a cast [-Wint-conversion]
       19 | *(ffi_arg*)resp = cret;
          |                 ^
   |
19 | *(ffi_arg*)resp = cret;
   |                 ^
/build/ghc426_0/ghc_1165.c: In function ‘zdllvmzmhszm9zi0zi1zmKQUtF8kDsjf9y4h5tlNcJyzdLLVMziInternalziFFIziOrcJITziIRTransformLayerzdllvmzzmhszzm9zzi0zzi1zzmKQUtF8kDsjf9y4h5tlNcJyzuLLVMzziInternalzziFFIzziOrcJITzziIRTransformLayerzuwrapModuleTransform’:

/build/ghc426_0/ghc_1165.c:19:17: error:
     warning: assignment to ‘ffi_arg’ {aka ‘long unsigned int’} from ‘HsPtr’ {aka ‘void *’} makes integer from pointer without a cast [-Wint-conversion]
       19 | *(ffi_arg*)resp = cret;
          |                 ^
   |
19 | *(ffi_arg*)resp = cret;
   |                 ^
[ 48 of 114] Compiling LLVM.Internal.FFI.OrcJIT.IRCompileLayer ( src/LLVM/Internal/FFI/OrcJIT/IRCompileLayer.hs, dist/build/LLVM/Internal/FFI/OrcJIT/IRCompileLayer.o, dist/build/LLVM/Internal/FFI/OrcJIT/IRCompileLayer.dyn_o )
[ 49 of 114] Compiling LLVM.Internal.FFI.OrcJIT.CompileOnDemandLayer ( src/LLVM/Internal/FFI/OrcJIT/CompileOnDemandLayer.hs, dist/build/LLVM/Internal/FFI/OrcJIT/CompileOnDemandLayer.o, dist/build/LLVM/Internal/FFI/OrcJIT/CompileOnDemandLayer.dyn_o )
[ 50 of 114] Compiling LLVM.Internal.FFI.ExecutionEngine ( src/LLVM/Internal/FFI/ExecutionEngine.hs, dist/build/LLVM/Internal/FFI/ExecutionEngine.o, dist/build/LLVM/Internal/FFI/ExecutionEngine.dyn_o )
[ 51 of 114] Compiling LLVM.Internal.FFI.Bitcode ( src/LLVM/Internal/FFI/Bitcode.hs, dist/build/LLVM/Internal/FFI/Bitcode.o, dist/build/LLVM/Internal/FFI/Bitcode.dyn_o )
[ 52 of 114] Compiling LLVM.Internal.FFI.Assembly ( src/LLVM/Internal/FFI/Assembly.hs, dist/build/LLVM/Internal/FFI/Assembly.o, dist/build/LLVM/Internal/FFI/Assembly.dyn_o )
[ 53 of 114] Compiling LLVM.Internal.FFI.Analysis ( src/LLVM/Internal/FFI/Analysis.hs, dist/build/LLVM/Internal/FFI/Analysis.o, dist/build/LLVM/Internal/FFI/Analysis.dyn_o )
[ 54 of 114] Compiling LLVM.Internal.FFI.User ( src/LLVM/Internal/FFI/User.hs, dist/build/LLVM/Internal/FFI/User.o, dist/build/LLVM/Internal/FFI/User.dyn_o )
[ 55 of 114] Compiling LLVM.Internal.FFI.Value ( src/LLVM/Internal/FFI/Value.hs, dist/build/LLVM/Internal/FFI/Value.o, dist/build/LLVM/Internal/FFI/Value.dyn_o )
[ 56 of 114] Compiling LLVM.Internal.FloatingPointPredicate ( src/LLVM/Internal/FloatingPointPredicate.hs, dist/build/LLVM/Internal/FloatingPointPredicate.o, dist/build/LLVM/Internal/FloatingPointPredicate.dyn_o )
[ 57 of 114] Compiling LLVM.Internal.InstructionDefs ( src/LLVM/Internal/InstructionDefs.hs, dist/build/LLVM/Internal/InstructionDefs.o, dist/build/LLVM/Internal/InstructionDefs.dyn_o )
[ 58 of 114] Compiling LLVM.Internal.FFI.Constant ( src/LLVM/Internal/FFI/Constant.hs, dist/build/LLVM/Internal/FFI/Constant.o, dist/build/LLVM/Internal/FFI/Constant.dyn_o )
[ 59 of 114] Compiling LLVM.Internal.FFI.Builder ( src/LLVM/Internal/FFI/Builder.hs, dist/build/LLVM/Internal/FFI/Builder.o, dist/build/LLVM/Internal/FFI/Builder.dyn_o )
[ 60 of 114] Compiling LLVM.Internal.IntegerPredicate ( src/LLVM/Internal/IntegerPredicate.hs, dist/build/LLVM/Internal/IntegerPredicate.o, dist/build/LLVM/Internal/IntegerPredicate.dyn_o )
[ 61 of 114] Compiling LLVM.Internal.LibraryFunction ( dist/build/LLVM/Internal/LibraryFunction.hs, dist/build/LLVM/Internal/LibraryFunction.o, dist/build/LLVM/Internal/LibraryFunction.dyn_o )
[ 62 of 114] Compiling LLVM.Internal.RMWOperation ( src/LLVM/Internal/RMWOperation.hs, dist/build/LLVM/Internal/RMWOperation.o, dist/build/LLVM/Internal/RMWOperation.dyn_o )
[ 63 of 114] Compiling LLVM.Internal.String ( src/LLVM/Internal/String.hs, dist/build/LLVM/Internal/String.o, dist/build/LLVM/Internal/String.dyn_o )
[ 64 of 114] Compiling LLVM.Internal.RawOStream ( src/LLVM/Internal/RawOStream.hs, dist/build/LLVM/Internal/RawOStream.o, dist/build/LLVM/Internal/RawOStream.dyn_o )
[ 65 of 114] Compiling LLVM.Internal.MemoryBuffer ( src/LLVM/Internal/MemoryBuffer.hs, dist/build/LLVM/Internal/MemoryBuffer.o, dist/build/LLVM/Internal/MemoryBuffer.dyn_o )
[ 66 of 114] Compiling LLVM.Internal.ObjectFile ( src/LLVM/Internal/ObjectFile.hs, dist/build/LLVM/Internal/ObjectFile.o, dist/build/LLVM/Internal/ObjectFile.dyn_o )
[ 67 of 114] Compiling LLVM.Internal.EncodeAST ( src/LLVM/Internal/EncodeAST.hs, dist/build/LLVM/Internal/EncodeAST.o, dist/build/LLVM/Internal/EncodeAST.dyn_o )
[ 68 of 114] Compiling LLVM.Internal.FastMathFlags ( src/LLVM/Internal/FastMathFlags.hs, dist/build/LLVM/Internal/FastMathFlags.o, dist/build/LLVM/Internal/FastMathFlags.dyn_o )
[ 69 of 114] Compiling LLVM.Internal.Diagnostic ( src/LLVM/Internal/Diagnostic.hs, dist/build/LLVM/Internal/Diagnostic.o, dist/build/LLVM/Internal/Diagnostic.dyn_o )
[ 70 of 114] Compiling LLVM.Internal.DecodeAST ( src/LLVM/Internal/DecodeAST.hs, dist/build/LLVM/Internal/DecodeAST.o, dist/build/LLVM/Internal/DecodeAST.dyn_o )

src/LLVM/Internal/DecodeAST.hs:11:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad.Fail’ is redundant
      except perhaps to import instances from ‘Control.Monad.Fail’
    To import instances alone, use: import Control.Monad.Fail()
   |
11 | import Control.Monad.Fail
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
[ 71 of 114] Compiling LLVM.Internal.Global ( src/LLVM/Internal/Global.hs, dist/build/LLVM/Internal/Global.o, dist/build/LLVM/Internal/Global.dyn_o )
[ 72 of 114] Compiling LLVM.Internal.Attribute ( src/LLVM/Internal/Attribute.hs, dist/build/LLVM/Internal/Attribute.o, dist/build/LLVM/Internal/Attribute.dyn_o )
[ 73 of 114] Compiling LLVM.Internal.DataLayout ( src/LLVM/Internal/DataLayout.hs, dist/build/LLVM/Internal/DataLayout.o, dist/build/LLVM/Internal/DataLayout.dyn_o )
[ 74 of 114] Compiling LLVM.Internal.CommandLine ( src/LLVM/Internal/CommandLine.hs, dist/build/LLVM/Internal/CommandLine.o, dist/build/LLVM/Internal/CommandLine.dyn_o )
[ 75 of 114] Compiling LLVM.CommandLine ( src/LLVM/CommandLine.hs, dist/build/LLVM/CommandLine.o, dist/build/LLVM/CommandLine.dyn_o )
[ 76 of 114] Compiling LLVM.Internal.TailCallKind ( src/LLVM/Internal/TailCallKind.hs, dist/build/LLVM/Internal/TailCallKind.o, dist/build/LLVM/Internal/TailCallKind.dyn_o )
[ 77 of 114] Compiling LLVM.Internal.Threading ( src/LLVM/Internal/Threading.hs, dist/build/LLVM/Internal/Threading.o, dist/build/LLVM/Internal/Threading.dyn_o )
[ 78 of 114] Compiling LLVM.Internal.Type ( src/LLVM/Internal/Type.hs, dist/build/LLVM/Internal/Type.o, dist/build/LLVM/Internal/Type.dyn_o )
[ 79 of 114] Compiling LLVM.Internal.Value ( src/LLVM/Internal/Value.hs, dist/build/LLVM/Internal/Value.o, dist/build/LLVM/Internal/Value.dyn_o )
[ 80 of 114] Compiling LLVM.Internal.Metadata ( src/LLVM/Internal/Metadata.hs, dist/build/LLVM/Internal/Metadata.o, dist/build/LLVM/Internal/Metadata.dyn_o )
[ 81 of 114] Compiling LLVM.Internal.InlineAssembly ( src/LLVM/Internal/InlineAssembly.hs, dist/build/LLVM/Internal/InlineAssembly.o, dist/build/LLVM/Internal/InlineAssembly.dyn_o )
[ 82 of 114] Compiling LLVM.Internal.Constant ( src/LLVM/Internal/Constant.hs, dist/build/LLVM/Internal/Constant.o, dist/build/LLVM/Internal/Constant.dyn_o )
[ 83 of 114] Compiling LLVM.Internal.Operand ( src/LLVM/Internal/Operand.hs, dist/build/LLVM/Internal/Operand.o, dist/build/LLVM/Internal/Operand.dyn_o )
[ 84 of 114] Compiling LLVM.Internal.Instruction ( src/LLVM/Internal/Instruction.hs, dist/build/LLVM/Internal/Instruction.o, dist/build/LLVM/Internal/Instruction.dyn_o )
[ 85 of 114] Compiling LLVM.Internal.BasicBlock ( src/LLVM/Internal/BasicBlock.hs, dist/build/LLVM/Internal/BasicBlock.o, dist/build/LLVM/Internal/BasicBlock.dyn_o )
[ 86 of 114] Compiling LLVM.Internal.Function ( src/LLVM/Internal/Function.hs, dist/build/LLVM/Internal/Function.o, dist/build/LLVM/Internal/Function.dyn_o )
[ 87 of 114] Compiling LLVM.Relocation  ( src/LLVM/Relocation.hs, dist/build/LLVM/Relocation.o, dist/build/LLVM/Relocation.dyn_o )
[ 88 of 114] Compiling LLVM.Target.LibraryFunction ( src/LLVM/Target/LibraryFunction.hs, dist/build/LLVM/Target/LibraryFunction.o, dist/build/LLVM/Target/LibraryFunction.dyn_o )
[ 89 of 114] Compiling LLVM.Target.Options ( src/LLVM/Target/Options.hs, dist/build/LLVM/Target/Options.o, dist/build/LLVM/Target/Options.dyn_o )
[ 90 of 114] Compiling LLVM.Internal.Target ( src/LLVM/Internal/Target.hs, dist/build/LLVM/Internal/Target.o, dist/build/LLVM/Internal/Target.dyn_o )

src/LLVM/Internal/Target.hs:14:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad.Fail’ is redundant
      except perhaps to import instances from ‘Control.Monad.Fail’
    To import instances alone, use: import Control.Monad.Fail()
   |
14 | import Control.Monad.Fail (MonadFail)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 91 of 114] Compiling LLVM.Target      ( src/LLVM/Target.hs, dist/build/LLVM/Target.o, dist/build/LLVM/Target.dyn_o )
[ 92 of 114] Compiling LLVM.Internal.OrcJIT ( src/LLVM/Internal/OrcJIT.hs, dist/build/LLVM/Internal/OrcJIT.o, dist/build/LLVM/Internal/OrcJIT.dyn_o )
[ 93 of 114] Compiling LLVM.Internal.OrcJIT.LinkingLayer ( src/LLVM/Internal/OrcJIT/LinkingLayer.hs, dist/build/LLVM/Internal/OrcJIT/LinkingLayer.o, dist/build/LLVM/Internal/OrcJIT/LinkingLayer.dyn_o )
[ 94 of 114] Compiling LLVM.OrcJIT.LinkingLayer ( src/LLVM/OrcJIT/LinkingLayer.hs, dist/build/LLVM/OrcJIT/LinkingLayer.o, dist/build/LLVM/OrcJIT/LinkingLayer.dyn_o )
[ 95 of 114] Compiling LLVM.Internal.Linking ( src/LLVM/Internal/Linking.hs, dist/build/LLVM/Internal/Linking.o, dist/build/LLVM/Internal/Linking.dyn_o )
[ 96 of 114] Compiling LLVM.Linking     ( src/LLVM/Linking.hs, dist/build/LLVM/Linking.o, dist/build/LLVM/Linking.dyn_o )
[ 97 of 114] Compiling LLVM.Internal.Module ( src/LLVM/Internal/Module.hs, dist/build/LLVM/Internal/Module.o, dist/build/LLVM/Internal/Module.dyn_o )
[ 98 of 114] Compiling LLVM.Module      ( src/LLVM/Module.hs, dist/build/LLVM/Module.o, dist/build/LLVM/Module.dyn_o )
[ 99 of 114] Compiling LLVM             ( src/LLVM.hs, dist/build/LLVM.o, dist/build/LLVM.dyn_o )
[100 of 114] Compiling LLVM.Internal.OrcJIT.CompileLayer ( src/LLVM/Internal/OrcJIT/CompileLayer.hs, dist/build/LLVM/Internal/OrcJIT/CompileLayer.o, dist/build/LLVM/Internal/OrcJIT/CompileLayer.dyn_o )
[101 of 114] Compiling LLVM.OrcJIT.CompileLayer ( src/LLVM/OrcJIT/CompileLayer.hs, dist/build/LLVM/OrcJIT/CompileLayer.o, dist/build/LLVM/OrcJIT/CompileLayer.dyn_o )
[102 of 114] Compiling LLVM.Internal.OrcJIT.IRTransformLayer ( src/LLVM/Internal/OrcJIT/IRTransformLayer.hs, dist/build/LLVM/Internal/OrcJIT/IRTransformLayer.o, dist/build/LLVM/Internal/OrcJIT/IRTransformLayer.dyn_o )
[103 of 114] Compiling LLVM.Internal.OrcJIT.IRCompileLayer ( src/LLVM/Internal/OrcJIT/IRCompileLayer.hs, dist/build/LLVM/Internal/OrcJIT/IRCompileLayer.o, dist/build/LLVM/Internal/OrcJIT/IRCompileLayer.dyn_o )
[104 of 114] Compiling LLVM.Internal.OrcJIT.CompileOnDemandLayer ( src/LLVM/Internal/OrcJIT/CompileOnDemandLayer.hs, dist/build/LLVM/Internal/OrcJIT/CompileOnDemandLayer.o, dist/build/LLVM/Internal/OrcJIT/CompileOnDemandLayer.dyn_o )
[105 of 114] Compiling LLVM.OrcJIT      ( src/LLVM/OrcJIT.hs, dist/build/LLVM/OrcJIT.o, dist/build/LLVM/OrcJIT.dyn_o )
[106 of 114] Compiling LLVM.Internal.Analysis ( src/LLVM/Internal/Analysis.hs, dist/build/LLVM/Internal/Analysis.o, dist/build/LLVM/Internal/Analysis.dyn_o )
[107 of 114] Compiling LLVM.Analysis    ( src/LLVM/Analysis.hs, dist/build/LLVM/Analysis.o, dist/build/LLVM/Analysis.dyn_o )
[108 of 114] Compiling LLVM.Internal.ExecutionEngine ( src/LLVM/Internal/ExecutionEngine.hs, dist/build/LLVM/Internal/ExecutionEngine.o, dist/build/LLVM/Internal/ExecutionEngine.dyn_o )
[109 of 114] Compiling LLVM.ExecutionEngine ( src/LLVM/ExecutionEngine.hs, dist/build/LLVM/ExecutionEngine.o, dist/build/LLVM/ExecutionEngine.dyn_o )
[110 of 114] Compiling LLVM.Threading   ( src/LLVM/Threading.hs, dist/build/LLVM/Threading.o, dist/build/LLVM/Threading.dyn_o )
[111 of 114] Compiling LLVM.Transforms  ( src/LLVM/Transforms.hs, dist/build/LLVM/Transforms.o, dist/build/LLVM/Transforms.dyn_o )
[112 of 114] Compiling LLVM.Internal.FFI.PassManager ( src/LLVM/Internal/FFI/PassManager.hs, dist/build/LLVM/Internal/FFI/PassManager.o, dist/build/LLVM/Internal/FFI/PassManager.dyn_o )
[113 of 114] Compiling LLVM.Internal.PassManager ( src/LLVM/Internal/PassManager.hs, dist/build/LLVM/Internal/PassManager.o, dist/build/LLVM/Internal/PassManager.dyn_o )
[114 of 114] Compiling LLVM.PassManager ( src/LLVM/PassManager.hs, dist/build/LLVM/PassManager.o, dist/build/LLVM/PassManager.dyn_o )
Preprocessing test suite 'test' for llvm-hs-9.0.1..
Building test suite 'test' for llvm-hs-9.0.1..
[ 1 of 22] Compiling LLVM.Test.Attribute ( test/LLVM/Test/Attribute.hs, dist/build/test/test-tmp/LLVM/Test/Attribute.o )
[ 2 of 22] Compiling LLVM.Test.Regression ( test/LLVM/Test/Regression.hs, dist/build/test/test-tmp/LLVM/Test/Regression.o )
[ 3 of 22] Compiling LLVM.Test.Support ( test/LLVM/Test/Support.hs, dist/build/test/test-tmp/LLVM/Test/Support.o )
[ 4 of 22] Compiling LLVM.Test.OrcJIT ( test/LLVM/Test/OrcJIT.hs, dist/build/test/test-tmp/LLVM/Test/OrcJIT.o )
[ 5 of 22] Compiling LLVM.Test.Optimization ( test/LLVM/Test/Optimization.hs, dist/build/test/test-tmp/LLVM/Test/Optimization.o )
[ 6 of 22] Compiling LLVM.Test.ObjectCode ( test/LLVM/Test/ObjectCode.hs, dist/build/test/test-tmp/LLVM/Test/ObjectCode.o )
[ 7 of 22] Compiling LLVM.Test.Module ( test/LLVM/Test/Module.hs, dist/build/test/test-tmp/LLVM/Test/Module.o )
[ 8 of 22] Compiling LLVM.Test.Metadata ( test/LLVM/Test/Metadata.hs, dist/build/test/test-tmp/LLVM/Test/Metadata.o )
[ 9 of 22] Compiling LLVM.Test.Linking ( test/LLVM/Test/Linking.hs, dist/build/test/test-tmp/LLVM/Test/Linking.o )
[10 of 22] Compiling LLVM.Test.Instrumentation ( test/LLVM/Test/Instrumentation.hs, dist/build/test/test-tmp/LLVM/Test/Instrumentation.o )
[11 of 22] Compiling LLVM.Test.Instructions ( test/LLVM/Test/Instructions.hs, dist/build/test/test-tmp/LLVM/Test/Instructions.o )
[12 of 22] Compiling LLVM.Test.InlineAssembly ( test/LLVM/Test/InlineAssembly.hs, dist/build/test/test-tmp/LLVM/Test/InlineAssembly.o )
[13 of 22] Compiling LLVM.Test.Global ( test/LLVM/Test/Global.hs, dist/build/test/test-tmp/LLVM/Test/Global.o )
[14 of 22] Compiling LLVM.Test.FunctionAttribute ( test/LLVM/Test/FunctionAttribute.hs, dist/build/test/test-tmp/LLVM/Test/FunctionAttribute.o )
[15 of 22] Compiling LLVM.Test.ExecutionEngine ( test/LLVM/Test/ExecutionEngine.hs, dist/build/test/test-tmp/LLVM/Test/ExecutionEngine.o )
[16 of 22] Compiling LLVM.Test.DataLayout ( test/LLVM/Test/DataLayout.hs, dist/build/test/test-tmp/LLVM/Test/DataLayout.o )
[17 of 22] Compiling LLVM.Test.Constants ( test/LLVM/Test/Constants.hs, dist/build/test/test-tmp/LLVM/Test/Constants.o )
[18 of 22] Compiling LLVM.Test.CallingConvention ( test/LLVM/Test/CallingConvention.hs, dist/build/test/test-tmp/LLVM/Test/CallingConvention.o )
[19 of 22] Compiling LLVM.Test.Analysis ( test/LLVM/Test/Analysis.hs, dist/build/test/test-tmp/LLVM/Test/Analysis.o )
[20 of 22] Compiling LLVM.Test.Target ( test/LLVM/Test/Target.hs, dist/build/test/test-tmp/LLVM/Test/Target.o )
[21 of 22] Compiling LLVM.Test.Tests  ( test/LLVM/Test/Tests.hs, dist/build/test/test-tmp/LLVM/Test/Tests.o )
[22 of 22] Compiling Main             ( test/Test.hs, dist/build/test/test-tmp/Main.o )
Linking dist/build/test/test ...
running tests
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --version
/nix/store/mmnl8hf5hkzc97za8wqgxny5nc3nwl8g-llvm-9.0.1/bin/llvm-config --libdir
Running 1 test suites...
Test suite test: RUNNING...
llvm-hs
  CallingConvention
    :                                                       OK (0.02s)
    fastcc:                                                 OK
    coldcc:                                                 OK
    ghccc:                                                  OK
    cc11:                                                   OK
    webkit_jscc:                                            OK
    anyregcc:                                               OK
    preserve_mostcc:                                        OK
    preserve_allcc:                                         OK
    swiftcc:                                                OK
    cxx_fast_tlscc:                                         OK
    x86_stdcallcc:                                          OK
    x86_fastcallcc:                                         OK
    arm_apcscc:                                             OK
    arm_aapcscc:                                            OK
    arm_aapcs_vfpcc:                                        OK
    msp430_intrcc:                                          OK
    x86_thiscallcc:                                         OK
    ptx_kernel:                                             OK
    ptx_device:                                             OK
    spir_func:                                              OK
    spir_kernel:                                            OK
    intel_ocl_bicc:                                         OK
    x86_64_sysvcc:                                          OK
    win64cc:                                                OK
    x86_vectorcallcc:                                       OK
    hhvmcc:                                                 OK
    hhvm_ccc:                                               OK
    x86_intrcc:                                             OK
    avr_intrcc :                                            OK
    avr_signalcc :                                          OK
    cc86:                                                   OK
    amdgpu_vs:                                              OK
    amdgpu_hs:                                              OK
    amdgpu_gs:                                              OK
    amdgpu_ps:                                              OK
    amdgpu_cs:                                              OK
    amdgpu_kernel:                                          OK
    x86_regcallcc:                                          OK
    cc94:                                                   OK
  Constants
    integer:                                                OK
    wide integer:                                           OK
    big wide integer:                                       OK
    negative wide integer:                                  OK
    half:                                                   OK
    float:                                                  OK
    double:                                                 OK
    quad:                                                   OK
    quad 1.0:                                               OK
    x86_fp80:                                               OK
    struct:                                                 OK
    dataarray:                                              OK
    array:                                                  OK
    datavector:                                             OK
    undef:                                                  OK
    binop/cast:                                             OK
    binop/cast nsw:                                         OK
    icmp:                                                   OK
    getelementptr:                                          OK
    selectvalue:                                            OK
    extractelement:                                         OK
    addrspacecast:                                          OK
  DataLayout
    getTypeAllocSize:                                       OK
    none:                                                   OK
    little-endian:                                          OK
    big-endian:                                             OK
    native:                                                 OK
    no pref:                                                OK
    no pref:                                                OK
    big:                                                    OK
  Attributes
    decoding of call attributes:                            OK
  FunctionAttribute
    round-trip:                                             OK
      +++ OK, passed 100 tests.
  ExecutionEngine
    run something with MCJIT:                               OK
  Global
    Alignment
      variable, align 0:                                    OK
      function, align 0:                                    OK
      variable, align 0  section foo:                       OK
      function, align 0  section foo:                       OK
      variable, align 1:                                    OK
      function, align 1:                                    OK
      variable, align 1  section foo:                       OK
      function, align 1  section foo:                       OK
  InlineAssembly
    expression:                                             OK
    module:                                                 OK
  Instructions
    regular
      add:                                                  OK
      nsw:                                                  OK
      nuw:                                                  OK
      fadd:                                                 OK
      sub:                                                  OK
      fsub:                                                 OK
      mul:                                                  OK
      fmul:                                                 OK
      udiv:                                                 OK
      exact:                                                OK
      sdiv:                                                 OK
      fdiv:                                                 OK
      urem:                                                 OK
      srem:                                                 OK
      frem:                                                 OK
      frem fast:                                            OK
      shl:                                                  OK
      ashr:                                                 OK
      lshr:                                                 OK
      and:                                                  OK
      or:                                                   OK
      xor:                                                  OK
      alloca:                                               OK
      alloca tricky:                                        OK
      load:                                                 OK
      volatile:                                             OK
      acquire:                                              OK
      singlethread:                                         OK
      GEP:                                                  OK
      inBounds:                                             OK
      cmpxchg:                                              OK
      atomicrmw:                                            OK
      trunc:                                                OK
      zext:                                                 OK
      sext:                                                 OK
      fptoui:                                               OK
      fptosi:                                               OK
      uitofp:                                               OK
      sitofp:                                               OK
      fptrunc:                                              OK
      fpext:                                                OK
      ptrtoint:                                             OK
      inttoptr:                                             OK
      bitcast:                                              OK
      addrspacecast:                                        OK
      select:                                               OK
      vaarg:                                                OK
      extractelement:                                       OK
      insertelement:                                        OK
      shufflevector:                                        OK
      extractvalue:                                         OK
      insertvalue:                                          OK
      landingpad-catch-cleanup:                             OK
      landingpad-catch:                                     OK
      landingpad-filter-cleanup:                            OK
      landingpad-filter:                                    OK
      icmp-eq:                                              OK
      icmp-ne:                                              OK
      icmp-ugt:                                             OK
      icmp-uge:                                             OK
      icmp-ult:                                             OK
      icmp-ule:                                             OK
      icmp-sgt:                                             OK
      icmp-sge:                                             OK
      icmp-slt:                                             OK
      icmp-sle:                                             OK
      fcmp-false:                                           OK
      fcmp-oeq:                                             OK
      fcmp-ogt:                                             OK
      fcmp-oge:                                             OK
      fcmp-olt:                                             OK
      fcmp-ole:                                             OK
      fcmp-one:                                             OK
      fcmp-ord:                                             OK
      fcmp-uno:                                             OK
      fcmp-ueq:                                             OK
      fcmp-ugt:                                             OK
      fcmp-uge:                                             OK
      fcmp-ult:                                             OK
      fcmp-ule:                                             OK
      fcmp-une:                                             OK
      fcmp-true:                                            OK
      store:                                                OK
      fence:                                                OK
      call:                                                 OK
    GEP inBounds constant:                                  OK
    terminators
      ret:                                                  OK
      br:                                                   OK
      condbr:                                               OK
      switch:                                               OK
      indirectbr:                                           OK
      invoke:                                               OK
      resume:                                               OK
      unreachable:                                          OK
      cleanupret0:                                          OK
      cleanupret1:                                          OK
      catchret0:                                            OK
      catchret1:                                            OK
    fast-math flags
      roundtrip:                                            OK
        +++ OK, passed 100 tests.
  Metadata
    global:                                                 OK
    named:                                                  OK
    null:                                                   OK
    cyclic
      metadata-only:                                        OK
      metadata-global:                                      OK
    constant folding
      metadata on instructions that can be constant folded: OK
    Metadata on GlobalObject
      metadata on functions:                                OK
      metadata on global variables:                         OK
    roundtrip DIBasicType:                                  OK
      +++ OK, passed 100 tests.
    roundtrip DIDerivedType:                                OK (0.03s)
      +++ OK, passed 100 tests.
    roundtrip DISubroutineType:                             OK (0.02s)
      +++ OK, passed 100 tests.
    roundtrip DIArrayType:                                  OK (0.04s)
      +++ OK, passed 100 tests.
    roundtrip DIEnumerationType:                            OK (0.12s)
      +++ OK, passed 100 tests.
    roundtrip DIStructureType:                              OK (0.02s)
      +++ OK, passed 100 tests.
    roundtrip DIClassType:                                  OK (0.02s)
      +++ OK, passed 100 tests.
    roundtrip DIUnionType:                                  OK (0.02s)
      +++ OK, passed 100 tests.
    roundtrip DIFile:                                       OK (0.01s)
      +++ OK, passed 100 tests.
    roundtrip DINode:                                       OK
      +++ OK, passed 100 tests.
    roundtrip DICompileUnit:                                OK (0.06s)
      +++ OK, passed 100 tests.
    roundtrip DIVariable:                                   OK (0.02s)
      +++ OK, passed 100 tests.
    roundtrip DIFlags:                                      OK
      +++ OK, passed 100 tests.
    roundtrip DISubprogram:                                 OK
      +++ OK, passed 100 tests.
    roundtrip DILexicalBlockBase:                           OK (0.03s)
      +++ OK, passed 100 tests.
    rountrip DITemplateParameter:                           OK (0.02s)
      +++ OK, passed 100 tests.
    rountrip DINamespace:                                   OK (0.02s)
      +++ OK, passed 100 tests.
    roundtrip DIExpression:                                 OK (0.01s)
      +++ OK, passed 100 tests.
    LLVM and llvm-hs agree on encoding of DIFlag:           OK
      +++ OK, passed 100 tests.
    file parsing and decoding
      test/debug_metadata_1.ll:                             OK
      test/debug_metadata_2.ll:                             OK
      test/debug_metadata_3.ll:                             OK (0.12s)
      test/debug_metadata_4.ll:                             OK (41.74s)
      test/debug_metadata_5.ll:                             OK (4.85s)
  Module
    withModuleFromString
      basic:                                                OK
      numbering:                                            OK
    emit
      assemble:                                             FAIL
        Exception: LookupTargetException ": error: unable to get target for 'x86_64-unknown-linux', see --version and --triple.\n"
    handStringIsCanonical:                                  OK
    moduleAST:                                              OK
    withModuleFromAST:                                      OK
    bitcode:                                                OK
    triple:                                                 OK
    regression
      minimal type info:                                    OK
      metadata type:                                        OK
      set flag on constant expr:                            OK
      Phi node finishes:                                    OK
      switchblock:                                          OK (0.02s)
      struct constant:                                      OK
    failures
      bad block reference:                                  OK
      multiple:                                             OK
      sourceFileName:                                       OK
      badTypeDef:                                           OK
      renamed type definitions:                             OK
  OrcJit
    eager compilation:                                      OK (0.02s)
    IRTransformLayer:                                       OK (0.02s)
    lazy compilation:                                       OK
    finding symbols in linking layer:                       OK (0.11s)
  Optimization
    curated:                                                OK
    individual
      ConstantPropagation:                                  OK
      SLPVectorization:                                     OK
      LoopVectorize:                                        OK
      LowerInvoke:                                          OK
  Target
    Options
      basic:                                                OK
        +++ OK, passed 100 tests.
      target machine:                                       OK (0.01s)
        +++ OK, passed 100 tests.
    LibraryFunction
      set-get
        LF__under_IO_getc:                                  OK
        LF__write:                                          OK
      get:                                                  OK
    Host:                                                   OK
    CPUFeature
      roundtrip:                                            OK (0.27s)
        +++ OK, passed 100 tests.
  Analysis
    Verifier
      regression
        load synchronization:                               OK
  Linking
    basic:                                                  OK
  Instrumentation
    basic
      GCOVProfiler:                                         OK
      AddressSanitizer:                                     OK
      AddressSanitizerModule:                               OK
      MemorySanitizer:                                      OK
      ThreadSanitizer:                                      OK (0.01s)
      BoundsChecking:                                       OK
  Object code serialization
    serialization to ByteString and to file:                OK (0.02s)
  Regression
    no named voids:                                         OK
    no implicit casts:                                      OK
    null constants must have pointer type:                  OK
    Duplicate definitions are not allowed:                  OK
    Reusing variable names across functions is allowed:     OK
    Empty names do not collide:                             OK

1 out of 264 tests failed (48.10s)
Test suite test: FAIL
Test suite logged to: dist/test/llvm-hs-9.0.1-test.log
0 of 1 test suites (0 of 1 test cases) passed.
builder for '/nix/store/mk5fzi26livpfssyhkcq1xab2258dzyl-llvm-hs-9.0.1.drv' failed with exit code 1
andrew-wja commented 3 years ago

Thanks for the report! This looks like a simple bug in the tests -- instead of hardcoding the native target triple, we should be asking llvm-config --host-target what it is in the test setup phase.