[GHC] #11574: schedule: re-entered unsafely on minimal hello world program on arm

GHC ghc-devs at haskell.org
Sun Feb 14 20:14:21 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:                 |
----------------------------------+----------------------------------
Description changed by thomie:

@@ -7,1 +7,1 @@
- }}
+ }}}

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!

--

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11574#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list