kim/data-ringbuffer — Issue #1: Error compiling
Author: fatlazycat
Created: 2012-03-03 16:59:22+00:00
State: open

Hi, was having a look. New to haskell so this is prob my lack of understanding.

Is some specific ghc / llvm versions needed ? I have 7.0.4, llvm 3.0 and on osx 10.7.3

Getting

[1 of 1] Compiling Data.RingBuffer ( src/Data/RingBuffer.hs, dist/build/Data/RingBuffer.o )
opt: /var/folders/9_/s9mjy5rd2h314g793bg3d_1c0000gn/T/ghc61833_0/ghc61833_0.ll:4:176: error: argument attributes invalid in function type
@datazmringbufferzm0zi1_DataziRingBuffer_zdWProducerBarrier_closure = global %datazmringbufferzm0zi1_DataziRingBuffer_zdWProducerBarrier_closure_struct <{i32 ptrtoint (void (i32* noalias nocapture,i32* noalias nocapture,i32* noalias nocapture,i32 )* @datazmringbufferzm0zi1_DataziRingBuffer_zdWProducerBarrier_info to i32)}>

Thanks