#993: threaded RTS under pc-solaris does not work
----------------------------+-----------------------------------------------
 Reporter:  [EMAIL PROTECTED]   |          Owner:         
     Type:  bug             |         Status:  new    
 Priority:  normal          |      Milestone:  6.6.1  
Component:  Runtime System  |        Version:  6.6    
 Severity:  normal          |     Resolution:         
 Keywords:                  |     Difficulty:  Unknown
 Testcase:  N/A             |   Architecture:  x86    
       Os:  Solaris         |  
----------------------------+-----------------------------------------------
Comment (by simonmar):

 So apparently the inline asseembly did not generate the correct
 instruction, because you have this:

 {{{
 0x08ca8dc7 <scheduleDoGC+24>:   lock test %eax,%eax
 }}}

 which is why you get an illegal instruction error: the test instruction
 cannot have a lock prefix.

 I'm at a loss to know why this happens.  Maybe you could look at the
 assembly file Schedule.s and see if that looks reasonable, and if so then
 look at the object file Schedule.o using objdump --disassemble and see if
 the instruction looks ok there.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/993>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to