Description of problem:
Recently llvm was updated to 3.5 in F22 rawhide (bug 1111834).
Unfortunately currently ghc's llvm backend does not support llvm 3.5 yet.
(Even latest ghc-7.8.3 which is not yet in rawhide requires 3.1 <= llvm <= 3.4.)
In future (ghc-7.12) upstream is thinking to support officially one
known-to-work llvm version per major release. On armv7 ghc uses
llvm as its main compiler backend (unlike other arch's).
The bottom line is that llvm-3.5 breaks ghc on arm, one of the primary
Fedora archs so we can build any Haskell packages currently in rawhide!
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. try to build ghc or other haskell packages in Rawhide ARM
$ echo "main = putStrLn "hi" > hello.hs
$ ghc hello.hs
test: schedule: re-entered unsafely.
Perhaps a 'foreign import unsafe' should be 'safe'?
no runtime error (or no llvm-3.5;)
Workaround seems to be to add a llvm34 package to Fedora
unless there should be some simple packages available to
fix ghc llvm on ARM... So I filed a review request in bug 1161014.
I have worked around the issue in ghc with the new llvm34 package
which is now in f22 Rawhide and seems to be working okay so far.
So probably we could close this CANTFIX say: I don't think we will see
ghc working with llvm-3.5 any time soon.
(Actually let me move this to ghc, where we are actually fixing this in fedora.)
ghc-7.6.3-26.3.fc21 has been submitted as an update for Fedora 21.
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ghc-7.6.3-26.3.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
ghc-7.6.3-26.3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.