Re: Segfault in ghc head -fllvm

2010-06-30 Thread Simon Marlow
Don, did you recompile all the libraries after updating GHC? We recently turned on TNTC, which would cause breakages if you had any libraries or packages compiled the old way. Cheers, Simon On 29/06/2010 04:21, Don Stewart wrote: This comes from a Haskell game, where the C program w

Re: Segfault in ghc head -fllvm

2010-06-28 Thread Don Stewart
This comes from a Haskell game, where the C program was about 10x faster again (thanks to SSE). The C program to test against is here: http://stackoverflow.com/questions/3115540 Maybe use it as a benchmark? -- Don davidterei: > Too Slow :). > > I fixed a few bugs in the LLVM backend in t

Segfault in ghc head -fllvm

2010-06-28 Thread Don Stewart
The following vector program segfaults with the latest head snapshot, {-# LANGUAGE BangPatterns #-} {- ghc 6.12.1 -O2 1.752 -} import Data.Vector.Storable import qualified Data.Vector.Storable as V import Foreign import Foreign.C.Types -- Define a