`opt' failed in phase `LLVM Optimiser'. (Exit code: -11)
While building https://hackage.haskell.org/package/unicode-transforms it fails with:
cabal: Entering directory '/tmp/cabal-tmp-7667/unicode-transforms-0.2.0'
Configuring unicode-transforms-0.2.0...
Building unicode-transforms-0.2.0...
Preprocessing library unicode-transforms-0.2.0...
[ 1 of 12] Compiling Data.Unicode.Properties.DecompositionsK ( Data/Unicode/Properties/DecompositionsK.hs, dist/build/Data/Unicode/Properties/DecompositionsK.o )
[ 2 of 12] Compiling Data.Unicode.Properties.Decompositions ( Data/Unicode/Properties/Decompositions.hs, dist/build/Data/Unicode/Properties/Decompositions.o )
[ 3 of 12] Compiling Data.Unicode.Properties.DecomposableK ( Data/Unicode/Properties/DecomposableK.hs, dist/build/Data/Unicode/Properties/DecomposableK.o )
`opt' failed in phase `LLVM Optimiser'. (Exit code: -11)
cabal: Leaving directory '/tmp/cabal-tmp-7667/unicode-transforms-0.2.0'
Other details:
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.0.1
$ opt --version
LLVM (http://llvm.org/):
LLVM version 3.7.1
Optimized build.
Default target: armv7l-unknown-linux-gnueabihf
Host CPU: (unknown)
I already submitted an issue to the package's bug tracker, but it is believed to be a GHC bug: https://github.com/harendra-kumar/unicode-transforms/issues/10
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.0.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler (LLVM) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |