Re: Behaviour of readProcess, and code simplicity (or lack thereof)

2013-11-20 Thread Yitzchak Gale
Whether or not we provide Duncan's proposed interface, we need to add prominent warnings about this to the documentation for every function that has this issue. People need to be aware that the result of an async exception will be a gunshot to the head. On Fri, Nov 15, 2013 at 11:59 PM, Duncan

clang/wrapper cannot build GHC head with integer-gmp on Mavericks

2013-11-20 Thread 山本和彦
Hi, I'm try to make GHC head stably buildable with clang/wrapper on Mavericks because we cannot ask all Mavericks users to install apple-gcc or GCC. The last big item for me is integer-gmp. GHC head cannot be built with clang/wrapper if integer-gmp is used. (integer-simple is OK.) This is

Re: clang/wrapper cannot build GHC head with integer-gmp on Mavericks

2013-11-20 Thread Herbert Valerio Riedel
On 2013-11-20 at 14:40:27 +0100, Kazu Yamamoto (山本和彦) wrote: [...] If we type CC=clang ./configure, it works. The problem is how to specify CC=clang to configure of libgmp when we build GHC head. If we modified libraries/integer-gmp/gmp/ghc.mk manually, we can build GHC head. But I don't

Re: clang/wrapper cannot build GHC head with integer-gmp on Mavericks

2013-11-20 Thread 山本和彦
are you sure gmp/ghc.mk is removed? After all, it's a file checked into Git: Oh. Probably I was confused. So, should we introduce a hack for Mavericks to gmp/ghc.mk? --Kazu ___ ghc-devs mailing list ghc-devs@haskell.org

Too many symbols

2013-11-20 Thread Simon Peyton-Jones
Friends I'm getting the dreaded Too many symbols in DLL problem on Windows (see below). I believe I can get round it by using static linking only, yes? But how do I do that? I have DYNAMIC_BY_DEFAULT = NO DYNAMIC_GHC_PROGRAMS = NO in my validate.mk, but it still happens. Static only will

Re: clang/wrapper cannot build GHC head with integer-gmp on Mavericks

2013-11-20 Thread 山本和彦
Hi, Oh. Probably I was confused. So, should we introduce a hack for Mavericks to gmp/ghc.mk? OK. I created a patch: https://ghc.haskell.org/trac/ghc/ticket/8497#comment:8 With this patch, I can build GHC head/integer-gmp with GHC 7.6.3/clang-wrapper on Mavericks/XCode 5. (Note that

Re: Building GHC head with clang on Mavericks

2013-11-20 Thread 山本和彦
Hi, Kazu, can you put create pull requests for happy and alex with your required changes? I have one concern. The version of alex on Hackage is 3.1.2. But that of github is 3.1.1: https://github.com/simonmar/alex/blob/master/alex.cabal # This inconsistency exists in happy, too. Did

Re: Building GHC head with clang on Mavericks

2013-11-20 Thread 山本和彦
I think he has forgotten, yes. But yeah do send the pull requests anyway, my last set got merged in. Done: https://github.com/simonmar/happy/pull/13 https://github.com/simonmar/alex/pull/38 --Kazu ___ ghc-devs mailing list