Re: build errors

2013-11-29 Thread Herbert Valerio Riedel
On 2013-11-29 at 03:30:56 +0100, Kazu Yamamoto (山本和彦) wrote: I cannot build GHC head on Linux and Mac (Mavericks) today: compiler/typecheck/TcEvidence.lhs:152:16: Not in scope: data constructor `ASSERT2' The attached patches are necessary to build GHC head on Mavericks. thanks, applied

Re: build errors

2013-11-29 Thread 山本和彦
btw, curiously, Clang seems happy to compile ASSERT (...) occurences in C files such as rts/STM.c which have several of those... Yes. Clang supports it according to my test. I don't know why this happens. --Kazu ___ ghc-devs mailing list

Re: __builtin___clear_cache

2013-11-29 Thread Herbert Valerio Riedel
On 2013-11-29 at 03:37:43 +0100, Kazu Yamamoto (山本和彦) wrote: 5bab1a57f572e29dfdffd6d1ce8e53a2772b18fd introduced __builtin___clear_cache. I think this is GCC specific. So, Storage.c cannot be compiled with clang: rts/sm/Storage.c:1294:3: error: use of unknown builtin

Re: __builtin___clear_cache

2013-11-29 Thread 山本和彦
Hi, I was discussed this with Austin in private messages. He understand what's the source of this problem and will fix it. --Kazu On 2013-11-29 at 03:37:43 +0100, Kazu Yamamoto (山本和彦) wrote: 5bab1a57f572e29dfdffd6d1ce8e53a2772b18fd introduced __builtin___clear_cache. I think this is GCC

Re: Building GHC head with clang on Mavericks

2013-11-29 Thread 山本和彦
Hi Simon, 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 I've merged these and made new releases of Happy (1.19.2) and Alex (3.1.3).

Re: [commit: testsuite] master: Explain skipping compiler-perf tests when debugging is on (14958ae)

2013-11-29 Thread Joachim Breitner
Hi, Am Freitag, den 29.11.2013, 10:08 + schrieb Simon Marlow: Actually this isn't quite right. compiler_debugged() is true when GhcDebugged=YES in the build system, and GhcDebugged controls whether GHC is compiled with -debug or not. That is, compiler_debugged() tells us whether the

Getting Involved

2013-11-29 Thread Blair Archibald
Hi, I'm looking to get involved working on GHC - I've been using Haskell for quite a while now and thought I'd give back to the community. Bit about me: I'm Blair an (4th year) Undergraduate at the University of Glasgow and my main interests at the moment are Functional Programming, Runtime

Re: Getting Involved

2013-11-29 Thread Jan Stolarek
Hi Blair, have you seen this page on the wiki: https://ghc.haskell.org/trac/ghc/wiki/Newcomers ? It should help you get started and give you some alternative ideas on tickets worth picking up. Janek Dnia piątek, 29 listopada 2013, Blair Archibald napisał: Hi, I'm looking to get involved

Re: Getting Involved

2013-11-29 Thread Carter Schonwald
That's a good idea. Herberto (hvr on #ghc) Is the expert on matters related to trac, but you might be able to edit the wiki yourself. On Friday, November 29, 2013, Mateusz Kowalczyk wrote: On 29/11/13 20:29, Jan Stolarek wrote: Hi Blair, have you seen this page on the wiki: