[GHC] #4211: LLVM: Stack alignment on OSX

GHC cvs-ghc at haskell.org
Wed Jun 29 17:23:14 CEST 2011


#4211: LLVM: Stack alignment on OSX
--------------------------------+-------------------------------------------
    Reporter:  dterei           |        Owner:  dterei      
        Type:  task             |       Status:  new         
    Priority:  normal           |    Milestone:  7.2.1       
   Component:  Compiler (LLVM)  |      Version:  6.13        
    Keywords:                   |     Testcase:              
   Blockedby:                   |   Difficulty:              
          Os:  MacOS X          |     Blocking:              
Architecture:  x86              |      Failure:  None/Unknown
--------------------------------+-------------------------------------------

Comment(by simonmar):

 I just added a test for stack alignment for #5250, and sure enough it
 fails with LLVM:

 {{{
 =====> 5250(optllvm) 23 of 23 [0, 0, 0]
 cd . && '/64playpen/simonmar/validate/inplace/bin/ghc-stage2' -fforce-
 recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf
 -rtsopts  -o 5250 5250.hs -O -fllvm spalign.c  >5250.comp.stderr 2>&1
 cd . && ./5250    </dev/null >5250.run.stdout 2>5250.run.stderr
 Wrong exit code (expected 0 , actual 1 )
 Stdout:
 esp not aligned correctly: c39c5d30
 }}}

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



More information about the Glasgow-haskell-bugs mailing list