[GHC] #11574: schedule: re-entered unsafely on minimal hello world program on arm
GHC
ghc-devs at haskell.org
Sun Feb 14 13:35:49 UTC 2016
#11574: schedule: re-entered unsafely on minimal hello world program on arm
----------------------------------+----------------------------------
Reporter: andrewufrank | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
Operating System: Linux | Architecture: arm
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
----------------------------------+----------------------------------
Changes (by bgamari):
* status: new => infoneeded
@@ -4,1 +4,2 @@
- {{{testthree: schedule: re-entered unsafely.
+ {{{
+ testthree: schedule: re-entered unsafely.
New description:
i installed ghc 7.10.3 from jessie-backports (together with the
corresponding LLVM 1:3.5.2.3~bpo8+2)
and get for the minimal main = putStrLn "hello" program the error message
{{{
testthree: schedule: re-entered unsafely.
Perhaps a 'foreign import unsafe' should be 'safe'?
}}
i am not certain if this is related: cabal install for the same minimal
program (with a minimal cabal file) hangs. cabal install -v gives
{{{
/home/frank/.cabal/setup-exe-cache/setup-Simple-Cabal-1.22.5.0-arm-linux-
ghc-7.10.3
configure --verbose=2 --ghc --prefix=/home/frank/.cabal
--bindir=/home/frank/.cabal/bin --libdir=/home/frank/.cabal/lib
--libsubdir=arm-linux-ghc-7.10.3/testthree-0.0.6-3AgAf9bDkWJGZdbGLvO875
--libexecdir=/home/frank/.cabal/libexec --datadir=/home/frank/.cabal/share
--datasubdir=arm-linux-ghc-7.10.3/testthree-0.0.6
--docdir=/home/frank/.cabal/share/doc/arm-linux-ghc-7.10.3/testthree-0.0.6
--htmldir=/home/frank/.cabal/share/doc/arm-linux-
ghc-7.10.3/testthree-0.0.6/html
--haddockdir=/home/frank/.cabal/share/doc/arm-linux-
ghc-7.10.3/testthree-0.0.6/html
--sysconfdir=/home/frank/.cabal/etc --user
--extra-prog-path=/home/frank/.cabal/bin
--dependency=base=base-4.8.2.0-2f1f71a7fcf013cd47fd21f489064f9a
--disable-tests --exact-configuration --disable-benchmarks
Redirecting build log to {handle:
/home/frank/.cabal/logs/testthree-0.0.6.log}
}}}
any comment how this can be fixed?
thank you - a running 7.10.3 for armhf is a great achievement!
--
Comment:
I agree with rwbarton; this is characteristic of a buggy LLVM release. Can
you try LLVM 3.5.2? A binary distribution is available
[http://llvm.org/releases/3.5.2/clang+llvm-3.5.2-armv7a-linux-
gnueabihf.tar.xz|here].
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11574#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list