[GHC] #9555: internal error: ARR_WORDS object entered!
GHC
ghc-devs at haskell.org
Sat Sep 6 10:07:59 UTC 2014
#9555: internal error: ARR_WORDS object entered!
-------------------------------------+-------------------------------------
Reporter: walck | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.3
Resolution: | Keywords:
Operating System: | Architecture: x86_64 (amd64)
Unknown/Multiple | Difficulty: Unknown
Type of failure: | Blocked By:
None/Unknown | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by slyfox):
I've managed to reproduce it!
I think the problem arises due to '''arithmoi''' being alone package built
with ghc -fllvm.
It should not break, but llvm is a bit experimental target (maybe
upgrading '''llvm''' version will help, dunno).
To workaround it you can buiild arithmoi w/o llvm flag:
{{{
cabal install cyclotomic arithmoi -f-llvm --reinstall
}}}
The steps to reproduce:
{{{
# get saucy
mkdir saucy
debootstrap saucy saucy/ https://mirrors.kernel.org/ubuntu/
chroot saucy/
echo 'deb http://archive.ubuntu.com/ubuntu saucy main universe' >
/etc/apt/sources.list
apt-get update
apt-get install ghc cabal-install ncurses-dev build-essential llvm
# unpack ghc, ./configure && make
# get latest cabal
cabal update
cabal install cabal-install
# get arithmoi
~/.cabal/bin/cabal install --with-compiler=$(pwd)/inplace/bin/ghc-
stage2 cyclotomic
# reproduce
root at sf:~/ghc-7.8.3# inplace/bin/ghc-stage2 -e
'Data.Complex.Cyclotomic.goldenRatio'
<interactive>: internal error: ARR_WORDS object entered!
(GHC version 7.8.3 for x86_64_unknown_linux)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Aborted
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9555#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list