Package: ghc6 Version: 6.8.2-5 Severity: important Just importing this bug from upstream:
# http://hackage.haskell.org/trac/ghc/ticket/2038 import System.Exit (exitWith, ExitCode(ExitSuccess)) import System.IO (putStrLn) import System.Posix.Resource rlimit = ResourceLimit 3 f = do putStrLn "whoooooo" f main = do setResourceLimit ResourceCPUTime (ResourceLimits rlimit rlimit) r <- getResourceLimit ResourceCPUTime let (ResourceLimit s) = softLimit r let (ResourceLimit h) = hardLimit r putStrLn $ show s putStrLn $ show h f exitWith ExitSuccess Returns: $ strace -etrace=setrlimit ./m setrlimit(RLIMIT_CPU, {rlim_cur=3, rlim_max=0}) = -1 EINVAL (Invalid argument) m: setResourceLimit: invalid argument (Invalid argument) .. so that I can request that the patch be applied to ghc6 for Lenny. As Eelis mentions on the haskell.org BR, this breaks geordi on x86-32. Regards, -- Chris Lamb, UK [EMAIL PROTECTED] GPG: 0x634F9A20
signature.asc
Description: PGP signature