rpi2: Glasgow Haskell Compiler not working

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

rpi2: Glasgow Haskell Compiler not working

Postby filipus » Wed Sep 02, 2015 9:40 pm

Hello,
the clean install of ghc and caball-install is not compatible with actual llvm.
There is exception when trying install ghc-mod:
$this->bbcode_second_pass_code('', ' % cabal install ghc-mod
...
nats-1 depends on text-1.2.1.3 which failed to install.
polyparse-1.11 depends on text-1.2.1.3 which failed to install.
prelude-extras-0.4 failed during the configure step. The exception was:
user error (You are using a new version of LLVM that hasn't been tested yet!
We will try though...
/usr/bin/opt: /tmp/ghc8826_0/ghc8826_2.ll:7:6: error: unexpected type in
metadata definition
!0 = metadata !{metadata !"top", i8* null}
^
)
...
')
And the compiling new ghc from source git repository throws same exception:
$this->bbcode_second_pass_code('', ' % ./configure
...
configure: Building in-tree ghc-pwd
You are using a new version of LLVM that hasn't been tested yet!
We will try though...
/usr/bin/opt: /tmp/ghc8589_0/ghc8589_2.ll:7:6: error: unexpected type in metadata definition
!0 = metadata !{metadata !"top", i8* null}
^
configure: error: Building ghc-pwd failed
')

Is there possibility to create working package? Thanks.
filipus
 
Posts: 1
Joined: Wed Sep 02, 2015 9:33 pm

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 12 guests