Re: Compiling large source files

2009-08-07 Thread Jules Bean
Gunther should first check if he thinks this is the same issue as http://hackage.haskell.org/trac/ghc/ticket/2002 (looks similar to me) If it is, he could just add comments there. Simon Peyton-Jones wrote: Gunther Could you make a Trac bug report for this, and attach your source file? It'd

Re: gcc version for GHC 6.10.4 under Sparc/Solaris

2009-08-07 Thread Christian Maeder
Duncan Coutts wrote: I should also note that there is a GHC 6.10.4 binary for Sparc/Linux that is now included with Gentoo. It's got all features turned on except for split objects (which fails due to mixing ld -r and --relax flags). In particular it's a registerised via-C build with ghci, TH

Re: What is the mutator?

2009-08-07 Thread Malcolm Wallace
Say you are implementing a network server, for example -- you don't want to have big spikes in the request latency due to GC. We think concurrent GC is unlikely to be practical in the Haskell setting, due to the extra synchronisation needed in the mutator. -- Simon Marlow It

Re: use gtar and not tar under solaris

2009-08-07 Thread Christian Maeder
Matthias Kilian wrote: However, to create an archive, you can use something like $ pax -wf foo.tar directory Do you think gtar --format=posix would be different from pax? The only question is, if we should create archives using the ustar, posix/pax, or gnu format. ustar seems to be the least

Re: use gtar and not tar under solaris

2009-08-07 Thread Christian Maeder
Christian Maeder wrote: Matthias Kilian wrote: However, to create an archive, you can use something like $ pax -wf foo.tar directory Do you think gtar --format=posix would be different from pax? The only question is, if we should create archives using the ustar, posix/pax, or gnu

FFI: Problem with Signal Handler Interruptions

2009-08-07 Thread Levi Greenspan
Apologies for re-posting this subject here since I had sent already a message to haskell-café 3 days ago, but I just learned about this mailing list and it seems more appropriate to ask this question here I guess. I already got a reply from Simon Marlow but I posted some further (so far

Re: FFI: Problem with Signal Handler Interruptions

2009-08-07 Thread Bulat Ziganshin
Hello Levi, Friday, August 7, 2009, 6:48:42 PM, you wrote: 1. How can one safely perform a blocking wait on a system call via FFI when compiling with -threaded i think you should use forkOS to create OS thread dedicated to Haskell thread and avoid signal interruptions which cause the call

Re: gcc version for GHC 6.10.4 under Sparc/Solaris

2009-08-07 Thread Ian Lynagh
On Thu, Aug 06, 2009 at 10:04:19AM +0200, Christian Maeder wrote: Hi Ian, could you add a note on the download page that GCC version 4.3.x is not suited for: Done! Thanks Ian ___ Glasgow-haskell-users mailing list

Re: What is the mutator?

2009-08-07 Thread Jason Dusek
2009/08/07 Malcolm Wallace malcolm.wall...@cs.york.ac.uk: There have been several papers on real-time GC in Haskell (including one of my own). There is no technical problem, only performance worries. This is what I think Simon means by unlikely to be practical. So I guess there is no right

What would be required to make a LLVM backend for GHC

2009-08-07 Thread Alex Mason
Hi all, I've been talking to one of the LLVM developers, who's working on an operating system called AuroraUX, which, among other things, is trying to use LLVM as much as possible in the system (using clang as the default compiler, compiler-rt [libgcc replacement from the LLVM team],