#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):

 Strange, it appears to be failing at the inline assembly

 {{{
 #if i386_HOST_ARCH || x86_64_HOST_ARCH
     __asm__ __volatile__ (
           "lock/cmpxchg %3,%1"
           :"=a"(o), "=m" (*(volatile unsigned int *)p)
           :"0" (o), "r" (n));
     return o;
 }}}

 but since this is an i386 processor, I don't see why it shouldn't let you
 execute that instruction.  Perhaps you could disassemble the instruction
 that causes the crash, and see if it looks plausible?

 Incedentally, your workaround will probably lead to problems later,
 because it'll default to a non-atomic cas() implementation.

-- 
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