#2403: caching for runghc (runhaskell)
--------------------------------+-------------------------------------------
    Reporter:  jsnx             |        Owner:          
        Type:  feature request  |       Status:  new     
    Priority:  normal           |    Milestone:          
   Component:  Compiler         |      Version:          
    Severity:  normal           |   Resolution:          
    Keywords:                   |     Testcase:          
Architecture:  Multiple         |           Os:  Multiple
--------------------------------+-------------------------------------------
Comment (by jsnx):

 Replying to [comment:2 jsnx]:
 > Replying to [comment:1 duncan]:
 > > ...
 > ...

 I realize now that I may have misinterpreted your message. I was actually
 planning to use `--make` to do the caching, but I wanted to be sure that
 the cache was shared across users and respected differences in GHC
 versions. This might lead to a cache like `/tmp/runghc/<runghc version
 here>/<actual cache here>`. It's also worth examining the security dangers
 of a system wide cache. They may be severe -- evil object files could be
 substituted for correct ones if all users have write access to the cache.
 So maybe we need to spawn a separate process that calls a setuid program
 to do the compilation?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2403#comment:3>
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