Re: Build failures in head.

2009-08-20 Thread Ben Lippmeier
Manuel M T Chakravarty wrote: Platform-specific breakage is probably going to stay a nuisance - at least, I have no good idea how to avoid it. If we could somehow get an infrastructure where we could at least validate patches easily on a range of platforms, so that the person who creates the b

Re: Sparc/Solaris

2009-08-20 Thread Ben Lippmeier
Simon Peyton-Jones wrote: If you were willing, we could move Sparc/Solaris to be a Tier 1 platform. But only you can balance your various priorities. If making Sparc/Solaris Tier 1 means that there is an expectation that the build keeps working then I'm all for it. I had assumed that we

Re: Sparc/Solaris

2009-08-20 Thread Ben Lippmeier
Manuel M T Chakravarty wrote: I am not convinced that it makes much sense to partition the machine, or to run Linux on it at all. This is for the following reasons: (1) The individual cores of the machines are pretty slow, especially if you only use one hardware thread. As a result, the mach

Re: Sparc/Solaris

2009-08-20 Thread Manuel M T Chakravarty
Duncan Coutts: Something else we can do is get on with opening up our sparky.haskell.org server to everyone, so there is greater opportunity and incentive to properly maintain the sparc port. Opening it up to the community was part of the original goal of the project. We've been slightly unsure

patch applied (ghc): Fix library installation; fixes #3374

2009-08-20 Thread Ian Lynagh
Thu Aug 20 10:37:07 PDT 2009 Ian Lynagh * Fix library installation; fixes #3374 When configuring packages, enable library profiling and shared libraries based on the ways in GhcLibWays. M ./rules/build-package-data.mk -1 +5 View patch online: http://darcs.haskell.org/ghc/_darcs/patche

patch applied (ghc): Escape some $s in makefiles for consistency

2009-08-20 Thread Ian Lynagh
Thu Aug 20 09:50:33 PDT 2009 Ian Lynagh * Escape some $s in makefiles for consistency M ./rules/build-package-data.mk -2 +2 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090820165033-3fd76-68522fcb3b5c4541943a29fbfbb313ec4d35fcbb.gz

[nightly] 20-Aug-2009 build of HEAD on x86_64-unknown-linux (cam-04-unx.europe.corp.microsoft.com)

2009-08-20 Thread GHC Build Reports
Build description = HEAD on x86_64-unknown-linux (cam-04-unx.europe.corp.microsoft.com) Build location= /64playpen/simonmar/nightly/HEAD-cam-04-unx Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-04-unx Nightly build started on cam-04-unx at Thu Aug 20 19:00:02 BST 2009. **

[nightly] 20-Aug-2009 build of HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com)

2009-08-20 Thread GHC Build Reports
Build description = HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Build location= /playpen/simonmar/nightly/HEAD Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-02-unx Nightly build started on cam-02-unx at Thu Aug 20 18:00:01 BST 2009. checking out

patch applied (ghc): Wibble to RnPat refactoring

2009-08-20 Thread Simon Peyton Jones
Thu Aug 20 09:15:20 PDT 2009 simo...@microsoft.com * Wibble to RnPat refactoring Ignore-this: 77c328334e088113afb25275f0aca364 M ./compiler/rename/RnBinds.lhs -1 +1 M ./compiler/rename/RnEnv.lhs -12 +14 M ./compiler/rename/RnPat.lhs -1 +1 View patch online: http://darcs.haskell.o

patch applied (testsuite): Track wording changes in error messages

2009-08-20 Thread Simon Peyton Jones
Thu Aug 20 09:21:21 PDT 2009 simo...@microsoft.com * Track wording changes in error messages Ignore-this: cc430b5e53ee4c284655b0aea40d6ce6 M ./tests/ghc-regress/module/mod62.stderr -1 +3 M ./tests/ghc-regress/rename/should_fail/T2901.stderr -1 +2 M ./tests/ghc-regress/rename/shoul

patch applied (ghc): Rollback: use cas() to claim the closure in copyPart(), to match copy_tag()

2009-08-20 Thread Simon Marlow
Thu Aug 20 08:58:33 PDT 2009 Simon Marlow * Rollback: use cas() to claim the closure in copyPart(), to match copy_tag() Ignore-this: e62da4d667c15c0dafb2660f4b915b36 rolling back: * use cas() to claim the closure in copyPart(), to match copy_tag() * rename whitehole_spin to ev

Re: Sparc/Solaris

2009-08-20 Thread Duncan Coutts
On Thu, 2009-08-20 at 16:13 +0100, Simon Marlow wrote: > > Something else we can do is get on with opening up our > > sparky.haskell.org server to everyone, so there is greater opportunity > > and incentive to properly maintain the sparc port. > > > > Opening it up to the community was part of the

patch applied (testsuite): add the test from #3424

2009-08-20 Thread Simon Marlow
Thu Aug 20 07:53:25 PDT 2009 Simon Marlow * add the test from #3424 Ignore-this: 88bc0b2e548875961b69400fa724f0a A ./tests/ghc-regress/rts/3424.hs A ./tests/ghc-regress/rts/3424.stdout M ./tests/ghc-regress/rts/all.T +4 View patch online: http://darcs.haskell.org/testsuite/_darc

patch applied (testsuite): follow changes in the base package

2009-08-20 Thread Simon Marlow
Wed Aug 19 07:29:58 PDT 2009 Simon Marlow * follow changes in the base package Ignore-this: cb7b532ad97a6048c487376771ff401f M ./tests/ghc-regress/simplCore/should_compile/spec001.hs -1 +1 View patch online: http://darcs.haskell.org/testsuite/_darcs/patches/20090819142958-12142-0f281649

patch applied (testsuite): accept output

2009-08-20 Thread Simon Marlow
Wed Aug 19 07:23:33 PDT 2009 Simon Marlow * accept output Ignore-this: 9f6d0bebea8626427860ae3295239d8c M ./tests/ghc-regress/lib/should_run/enum01.stdout-ws-64 -1 +1 View patch online: http://darcs.haskell.org/testsuite/_darcs/patches/20090819142333-12142-19bfb48878931d78e89cc7e86e5413

patch applied (ghc): Relax the assumption that all objects fit in a single block (#3424)

2009-08-20 Thread Simon Marlow
Thu Aug 20 07:43:08 PDT 2009 Simon Marlow * Relax the assumption that all objects fit in a single block (#3424) Ignore-this: 44ec5ed31491241b6f03182c80c0681e It is possible for the program to allocate single object larger than a block, without going through the normal large-object mech

patch applied (ghc): remove a bogus assertion

2009-08-20 Thread Simon Marlow
Thu Aug 20 07:33:05 PDT 2009 Simon Marlow * remove a bogus assertion Ignore-this: 1b58b8a73d58257630832d37475795bb M ./rts/Schedule.c -4 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090820143305-12142-b5eba1decb16e8e83ef56658af63ff73065de89f.gz _

Re: Sparc/Solaris

2009-08-20 Thread Simon Marlow
On 20/08/2009 14:19, Duncan Coutts wrote: On Thu, 2009-08-20 at 13:27 +0100, Simon Peyton-Jones wrote: Manuel: | In any case, we at UNSW are very interested in working SPARC/Solaris | support and, while I can't offer any development cycles for that | platform at the moment, you should at least k

Re: ticky

2009-08-20 Thread Simon Marlow
On 20/08/2009 14:43, Simon Peyton-Jones wrote: Thanks Ian I have started http://hackage.haskell.org/trac/ghc/wiki/Building/DebuggingGHC (referenced from the Building Guide) to describe debugging strategies for GHC. Everyone: please add to this, and make it informative. How do *you* debug G

patch applied (ghc): Restore the GHC version check

2009-08-20 Thread Simon Marlow
Thu Aug 20 06:42:34 PDT 2009 Simon Marlow * Restore the GHC version check Ignore-this: a1a0640e985a9eaf78804465276aadcd I'm not sure what happened here, but the ordering of tests was messed up, with the result that the GHC version check was being omitted. M ./configure.ac -36 +35 Vi

patch applied (ghc): fix the inplace runghc

2009-08-20 Thread Simon Marlow
Thu Aug 20 05:25:38 PDT 2009 Simon Marlow * fix the inplace runghc Ignore-this: 54be86fcd9ff96b5a37e77f64bf3c1d9 It was invoking $(TOP)/inplace/bin/ghc rather than $(TOP)/inplace/bin/ghc-stage2 M ./utils/runghc/runghc.wrapper -1 +1 View patch online: http://darcs.haskell.org/ghc/

patch applied (ghc): Add a case for IND (and a comment). Fixes #3424, perhaps only partially.

2009-08-20 Thread Simon Marlow
Thu Aug 20 06:15:37 PDT 2009 Simon Marlow * Add a case for IND (and a comment). Fixes #3424, perhaps only partially. Ignore-this: 75287786343359fdceb0691f88cb4f5f M ./rts/sm/Scav.c +4 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090820131537-12142-fa6388cf6e9f850515

RE: ticky

2009-08-20 Thread Simon Peyton-Jones
Thanks Ian I have started http://hackage.haskell.org/trac/ghc/wiki/Building/DebuggingGHC (referenced from the Building Guide) to describe debugging strategies for GHC. Everyone: please add to this, and make it informative. How do *you* debug GHC? Simon | -Original Message- | From:

Re: Sparc/Solaris

2009-08-20 Thread Duncan Coutts
On Thu, 2009-08-20 at 13:27 +0100, Simon Peyton-Jones wrote: > Manuel: > | In any case, we at UNSW are very interested in working SPARC/Solaris > | support and, while I can't offer any development cycles for that > | platform at the moment, you should at least know that we very much > | appreciate

patch applied (testsuite): Update output

2009-08-20 Thread Simon Peyton Jones
Thu Aug 20 05:31:51 PDT 2009 simo...@microsoft.com * Update output Ignore-this: 4f4cb42b35ca820a0039406b437b1be2 M ./tests/ghc-regress/typecheck/should_fail/tcfail124.stderr -18 +18 M ./tests/ghc-regress/typecheck/should_fail/tcfail187.stderr -5 +5 View patch online: http://darcs.has

patch applied (ghc): Improvements to record puns, wildcards

2009-08-20 Thread Simon Peyton Jones
Thu Aug 20 05:34:43 PDT 2009 simo...@microsoft.com * Improvements to record puns, wildcards Ignore-this: 2ac26fcc045853dab346280bcc440431 * Make C { A.a } work with punning, expanding to C { A.a = a } * Make it so that, with -fwarn-unused-matches, f (C {..}) = x does n

patch applied (ghc): Make -dppr-debug print locations in HsSyn

2009-08-20 Thread Simon Peyton Jones
Thu Aug 20 05:32:45 PDT 2009 simo...@microsoft.com * Make -dppr-debug print locations in HsSyn Ignore-this: 673f8100c2744e58635e75e6cf585ce5 Show SrcSpans for Located things might be overkill, but it's sometimes useful. I also added ppWhen, ppUnless :: Bool -> SDoc -> SDoc to

patch applied (testsuite): accept output

2009-08-20 Thread Simon Marlow
Wed Aug 19 07:24:18 PDT 2009 Simon Marlow * accept output M ./tests/ghc-regress/lib/should_run/enum01.stdout -1 +1 View patch online: http://darcs.haskell.org/testsuite/_darcs/patches/20090819142418-12142-f8dee150a60a8393acfcb638a009fe8a3f5c389a.gz ___

patch applied (testsuite): add threaded2_qw way, which is threaded2 with +RTS -qw

2009-08-20 Thread Simon Marlow
Wed Aug 19 06:07:04 PDT 2009 Simon Marlow * add threaded2_qw way, which is threaded2 with +RTS -qw Ignore-this: de00b72ca34d0cce9416455b6af5ac66 M ./config/ghc -1 +5 M ./tests/ghc-regress/concurrent/prog002/all.T -1 +1 View patch online: http://darcs.haskell.org/testsuite/_darcs/pat

patch applied (ghc): Make -dynamic a proper way, so we read the .dyn_hi files

2009-08-20 Thread Simon Marlow
Thu Aug 20 05:12:08 PDT 2009 Simon Marlow * Make -dynamic a proper way, so we read the .dyn_hi files Ignore-this: 252d2091ff90041e055efd0d62ebe185 Also, I cleaned up some of the way-related infrastructure, removing two global variables. There's more that could be done here, but it'

patch applied (ghc): fix warning

2009-08-20 Thread Simon Marlow
Thu Aug 20 04:05:32 PDT 2009 Simon Marlow * fix warning Ignore-this: ce16d3661b6bc2f0d382f9025c007019 M ./rts/Schedule.c -1 +1 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090820110532-12142-b28e1fc507f5653b156dfcfbf5b1a8a6705e624b.gz ___

patch applied (ghc): generalise the type of "on"

2009-08-20 Thread Simon Marlow
Thu Aug 20 02:45:16 PDT 2009 Simon Marlow * generalise the type of "on" Ignore-this: 5b789c36663accb7284c26b1bd7e019d M ./compiler/utils/Util.lhs -1 +1 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090820094516-12142-1fc793d24a3827d015259e6591089aaa558d0b42.gz __

patch applied (ghc): need to check $(HADDOCK_DOCS) around contents/index generation

2009-08-20 Thread Simon Marlow
Thu Aug 20 02:22:20 PDT 2009 Simon Marlow * need to check $(HADDOCK_DOCS) around contents/index generation Ignore-this: ef5352164fd6aac41ba3a1542182d213 M ./ghc.mk +2 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090820092220-12142-ac0d932c2d891086acd220f336ad818af49c

patch applied (ghc): WAY_dyn_LIB_TARGET is not used anywhere; kill it

2009-08-20 Thread Simon Marlow
Wed Aug 19 08:59:52 PDT 2009 Simon Marlow * WAY_dyn_LIB_TARGET is not used anywhere; kill it Ignore-this: 36b784db6d85acc2374e781fcd77d10d M ./mk/config.mk.in -1 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090819155952-12142-15bb3997d5b61fd4c6ffe3137c8094ad6356d916.

patch applied (ghc): Rolling back: Add a kludge to fix building shared libs

2009-08-20 Thread Simon Marlow
Wed Aug 19 07:55:07 PDT 2009 Simon Marlow * Rolling back: Add a kludge to fix building shared libs Ignore-this: fd2cc70119796be7a0ba62131f7e9ddb M ./ghc.mk -3 M ./rules/build-package-way.mk -10 R ./rules/mkdep.mk View patch online: http://darcs.haskell.org/ghc/_darcs/patches/200

patch applied (ghc): rename whitehole_spin to evac_collision, and update it properly

2009-08-20 Thread Simon Marlow
Wed Aug 19 07:15:18 PDT 2009 Simon Marlow * rename whitehole_spin to evac_collision, and update it properly Ignore-this: c6bad4a99758b7a60749cc769305aa90 M ./rts/Stats.c -2 +2 M ./rts/sm/Evac.c -2 +8 M ./rts/sm/GC.h -1 +1 M ./rts/sm/Storage.c -1 +1 View patch online: http://

patch applied (ghc): use cas() to claim the closure in copyPart(), to match copy_tag()

2009-08-20 Thread Simon Marlow
Wed Aug 19 07:11:06 PDT 2009 Simon Marlow * use cas() to claim the closure in copyPart(), to match copy_tag() Ignore-this: 6baad6aa65e640d9dbfd3d18b0f77644 copyPart() was still using the old WHITEHOLE mechanism for locking the closure. I don't think this fixes any actual bugs, but it

patch applied (ghc): Always yieldCapabilty() when a bound thread blocks

2009-08-20 Thread Simon Marlow
Wed Aug 19 06:08:56 PDT 2009 Simon Marlow * Always yieldCapabilty() when a bound thread blocks Ignore-this: 25303050a3095760972fc550445865e6 Fixes crash in concprog002(threaded2_qw), and possibly other problems M ./rts/Schedule.c -4 +19 View patch online: http://darcs.haskell.org/ghc/

Sparc/Solaris

2009-08-20 Thread Simon Peyton-Jones
Manuel: | In any case, we at UNSW are very interested in working SPARC/Solaris | support and, while I can't offer any development cycles for that | platform at the moment, you should at least know that we very much | appreciate the energy that you have been putting into that platform. | Thank you v

patch applied (testsuite): TFs: T3418

2009-08-20 Thread chak
Thu Aug 20 03:54:18 PDT 2009 Manuel M T Chakravarty * TFs: T3418 Ignore-this: 6fe5caf8af245d792f7b9e4c9be58d68 A ./tests/ghc-regress/indexed-types/should_compile/T3418.hs M ./tests/ghc-regress/indexed-types/should_compile/all.T +1 View patch online: http://darcs.haskell.org/testsuit

patch applied (testsuite): TFs: test cases for #2767 & #3208

2009-08-20 Thread chak
Thu Aug 20 00:33:43 PDT 2009 Manuel M T Chakravarty * TFs: test cases for #2767 & #3208 Ignore-this: a9c06c0d0fcc72c0cf59e5c94271005b A ./tests/ghc-regress/indexed-types/should_compile/T2767.hs A ./tests/ghc-regress/indexed-types/should_compile/T3208a.hs A ./tests/ghc-regress/ind

patch applied (ghc): FIX #2767 & original problem of #3208

2009-08-20 Thread chak
Thu Aug 20 00:26:08 PDT 2009 Manuel M T Chakravarty * FIX #2767 & original problem of #3208 Ignore-this: cb8326cf885c2da0b497ef10f8fed942 M ./compiler/deSugar/DsBinds.lhs -7 +7 M ./compiler/deSugar/DsMonad.lhs -1 +1 M ./compiler/typecheck/Inst.lhs -1 +1 M ./compiler/typecheck

Re: Build failures in head.

2009-08-20 Thread Simon Marlow
On 20/08/2009 04:01, Manuel M T Chakravarty wrote: I fully understand your frustration. Many times when I sat down in the morning to work on something specific, I found that the MacOS build broke and spent my time picking up somebody else's pieces instead. This has gotten *much* better with the