[GHC] #1086: unix package cannot be compiled with -fasm, due to lstat()

GHC trac at galois.com
Thu Jan 4 10:16:47 EST 2007


#1086: unix package cannot be compiled with -fasm, due to lstat()
-------------------------------+--------------------------------------------
    Reporter:  simonmar        |       Owner:         
        Type:  bug             |      Status:  new    
    Priority:  normal          |   Milestone:  6.8    
   Component:  libraries/unix  |     Version:  6.6    
    Severity:  normal          |    Keywords:         
  Difficulty:  Easy (1 hr)     |    Testcase:         
Architecture:  Unknown         |          Os:  Unknown
-------------------------------+--------------------------------------------
On some systems (eg. Linux with glibc) lstat is a macro, so calling it
 directly via the FFI doesn't work when using the NCG.  We should create a
 stub wrapper for lstat().

 See [http://www.haskell.org/pipermail/glasgow-haskell-bugs/2006-
 December/007900.html]

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


More information about the Glasgow-haskell-bugs mailing list