[GHC] #951: stage2 on sparc dies with "schedule: re-entered unsafely"

GHC trac at galois.com
Wed Oct 18 06:26:03 EDT 2006


#951: stage2 on sparc dies with "schedule: re-entered unsafely"
-------------------------------+--------------------------------------------
    Reporter:  duncan          |       Owner:          
        Type:  bug             |      Status:  new     
    Priority:  normal          |   Milestone:          
   Component:  Runtime System  |     Version:  6.6     
    Severity:  major           |    Keywords:          
  Difficulty:  Unknown         |    Testcase:          
Architecture:  sparc           |          Os:  Multiple
-------------------------------+--------------------------------------------
Building a registerised GHC-6.6 on Sparc Solaris or Sparc Linux gives a
 stage2 with the following problem:

 {{{
 $ ghc --version
 ghc-6.6: schedule: re-entered unsafely.
    Perhaps a 'foreign import unsafe' should be 'safe'?
 }}}

 This happens for Christian Maeder on Solaris and for me on Linux. It does
 not seem to be related to {{{SPLIT_OBJS=}}} in the {{{mk/build.mk}}}.

 Christian reports that it works for him with gcc-4.0.3 but not gcc-3.4.4,
 though that was not the only thing different between the two
 configurations:

 {{{
 It works with gcc_4.0.3_s10 on
 "SunOS leo 5.10 Generic_118833-20 sun4u sparc SUNW,Sun-Fire-280R"

 It crashes as above on
 "SunOS cni 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V240"
 with gcc_3.4.4_s10.
 }}}

 My results do not contradict this as I am using gcc-3.4.6 on Sparc Linux.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/951>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list