[Haskell-cafe] Difficulties installing LLVM bindings

Thomas Schilling nominolo at googlemail.com
Fri Apr 9 19:07:54 EDT 2010


Bryan said a while ago that Manuel Chakravarty had some Mac related
patches for LLVM, don't know if they have been integrated yet.

On 9 April 2010 23:11, Max Bolingbroke <batterseapower at hotmail.com> wrote:
> On 9 April 2010 18:38, Aran Donohue <aran.donohue at gmail.com> wrote:
>> Hi Haskell-Cafe,
>> I can't get the LLVM bindings for Haskell to install. Does anyone know what
>> I might need to do? Has anyone seen this error before?
>> Here's the problem: (Installing from latest darcs source)
>
> I just tried this on my Mac and got the same problem. The problem is
> described in config.log:
>
> """
> configure:3659: g++ -o conftest -g -O2 -I/usr/local/include  -D_DEBUG
> -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS  -m32
> -L/usr/local/lib  -lpthread -lm    conftest.c -lLLVMCore
> -lLLVMSupport -lLLVMSystem  >&5
> ld: warning: in /usr/local/lib/libLLVMCore.a, file is not of required
> architecture
> ld: warning: in /usr/local/lib/libLLVMSupport.a, file is not of
> required architecture
> ld: warning: in /usr/local/lib/libLLVMSystem.a, file is not of
> required architecture
> Undefined symbols:
>  "_LLVMModuleCreateWithName", referenced from:
>      _main in cc5D6X0z.o
> """
>
> So perhaps LLVM needs to be built universal or something?
>
> Cheers,
> Max
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Push the envelope.  Watch it bend.


More information about the Haskell-Cafe mailing list