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

 Looking at the manual for GNU as, it doesn't say anything about using a
 slash (/) between the prefix and instruction mnemonic, so you might try
 changing that code to

 {{{
 #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;
 }}}

 in fact, I don't know where that slash came from!

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