Skip to content

unix package cannot be compiled with -fasm, due to lstat()

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

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/unix
Test case
Differential revisions
BlockedBy
Related
Blocking
CC volodimir.rudenko@gmail.com
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information