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

2009-07-23 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 Jul 23 18:00:02 BST 2009. checking out

Fixing foreign out-of-line primops on SPARC

2009-07-23 Thread Ben Lippmeier
Simon Marlow wrote: I'd put money on it being due to this in configure.ac: tr -d '\r' Thanks, I installed a fresh copy of GNU coreutils which fixed it. I'm still trying to get the head working on sparc/solaris again though, it seems the new "foreign import prim" support doesn't know about sp

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

2009-07-23 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 Jul 23 19:00:01 BST 2009. **

Re: patch applied (ghc): Add fmapM_maybe :: Monad m => (a -> m b) -> Maybe a -> m (Maybe b)

2009-07-23 Thread Max Bolingbroke
2009/7/23 Simon Marlow : > On 23/07/2009 13:18, Simon Peyton Jones wrote: >> >> Wed Jul 22 23:49:32 PDT 2009  simo...@microsoft.com >>   * Add fmapM_maybe :: Monad m =>  (a ->  m b) ->  Maybe a ->  m (Maybe b) >>   Ignore-this: db5f6319b52a5e6b5f85d76985f2a7c9 >> >>   This function isn't used at th

[OT] Re: patch: testsuite path to python

2009-07-23 Thread Matthias Kilian
On Wed, Jul 22, 2009 at 10:23:31PM +0200, Krister Walfridsson wrote: > The testsuite has two hard-coded paths to /usr/bin/python, wich prevents > it from running on systems that installs python in other places. Most > python scripts seems to solve this using the /usr/bin/env trick, as in > the att

patch applied (testsuite): Test Trac #3391

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 09:05:23 PDT 2009 simo...@microsoft.com * Test Trac #3391 Ignore-this: dbd9e3f6cb4ce6564aa1d6e9c8339a28 A ./tests/ghc-regress/typecheck/should_compile/T3391.hs M ./tests/ghc-regress/typecheck/should_compile/all.T +1 View patch online: http://darcs.haskell.org/testsuite/_da

patch applied (ghc): Fix Trac #3391: make generic to/from bindings only for newly-declared types

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 08:58:03 PDT 2009 simo...@microsoft.com * Fix Trac #3391: make generic to/from bindings only for newly-declared types Ignore-this: bb56c2ec054397d421dce13d5eb6c73f Before this patch we were bogusly making to/from bindings for all data types in the TcGblEnv. But that is wrong

patch applied (ghc): Print explicit braces and semicolons in do-notation

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 08:24:11 PDT 2009 simo...@microsoft.com * Print explicit braces and semicolons in do-notation Ignore-this: a97ddf19774d27d15a01d63787708b20 By printing explicit braces we make it more likely that pretty-printed code will be acceptable if fed back into GHC. See http://ww

patch applied (testsuite): Follow output changes (braces in do-notation)

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 08:25:56 PDT 2009 simo...@microsoft.com * Follow output changes (braces in do-notation) Ignore-this: 74e9ad4d85c7624114084ad8eb054910 M ./tests/ghc-regress/arrows/should_fail/T2111.stderr -8 +8 M ./tests/ghc-regress/arrows/should_fail/arrowfail004.stderr -2 +2 M ./tests

patch applied (testsuite): fix broken test on Windows

2009-07-23 Thread Simon Marlow
Thu Jul 23 05:08:26 PDT 2009 Simon Marlow * fix broken test on Windows Ignore-this: b7be929f7d1302f59cd74cf1eff4aade M ./tests/ghc-regress/annotations/should_fail/all.T -1 +2 M ./tests/ghc-regress/annotations/should_fail/annfail12.stderr -12 +8 View patch online: http://darcs.haskel

Re: patch applied (ghc): Add fmapM_maybe :: Monad m => (a -> m b) -> Maybe a -> m (Maybe b)

2009-07-23 Thread Simon Marlow
On 23/07/2009 13:18, Simon Peyton Jones wrote: Wed Jul 22 23:49:32 PDT 2009 simo...@microsoft.com * Add fmapM_maybe :: Monad m => (a -> m b) -> Maybe a -> m (Maybe b) Ignore-this: db5f6319b52a5e6b5f85d76985f2a7c9 This function isn't used at the moment, but Max added it, and it l

patch applied (ghc): Documentation for stand-alone deriving (Trac #3012)

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 06:25:58 PDT 2009 simo...@microsoft.com * Documentation for stand-alone deriving (Trac #3012) Ignore-this: 54445c5984594eb7f82151b2ac118695 M ./docs/users_guide/glasgow_exts.xml -6 +36 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090723132558-1287e-0adc34c5

patch applied (ghc): Windows only: set the encoding on stdin to utf8

2009-07-23 Thread Simon Marlow
Thu Jul 23 05:19:13 PDT 2009 Simon Marlow * Windows only: set the encoding on stdin to utf8 Ignore-this: d65115d9711b5fb68e77786565ef6de Otherwise it defaults to latin1. M ./ghc/InteractiveUI.hs +6 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090723121913-12142-4ca

patch applied (testsuite): Follow output

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 06:18:45 PDT 2009 simo...@microsoft.com * Follow output Ignore-this: 78fe9e7daf9d70c06da6dfb0332575f7 M ./tests/ghc-regress/deriving/should_fail/drvfail011.stderr +7 M ./tests/ghc-regress/typecheck/should_fail/tcfail206.stderr -48 +38 View patch online: http://darcs.haskel

patch applied (testsuite): Test standalone deriving for GADTs

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 03:04:41 PDT 2009 simo...@microsoft.com * Test standalone deriving for GADTs Ignore-this: b45fafc180241619d364f1080215869f A ./tests/ghc-regress/deriving/should_compile/T3012.hs M ./tests/ghc-regress/deriving/should_compile/all.T +1 View patch online: http://darcs.haskell.

patch applied (ghc): Fix Trac #3012: allow more free-wheeling in standalone deriving

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 06:01:45 PDT 2009 simo...@microsoft.com * Fix Trac #3012: allow more free-wheeling in standalone deriving Ignore-this: 357580b9388ccbe1da3c1da3ba90e456 In standalone deriving, we now do *not* check side conditions. We simply generate the code and typecheck it. If there's a t

patch applied (ghc): Use the ErrMsg record type

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 06:01:08 PDT 2009 simo...@microsoft.com * Use the ErrMsg record type Ignore-this: 7fb6dd78d3185da0c33901b8aac8d108 M ./compiler/main/ErrUtils.lhs -7 +7 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090723130108-1287e-4df614f7f650b651fd91b215f2dfedb84beef8ff.

patch applied (ghc): Stop generating redundant parens in 'deriving' code

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 05:59:03 PDT 2009 simo...@microsoft.com * Stop generating redundant parens in 'deriving' code Ignore-this: 6fc82df9648a82bcf7bf6fdfa9b4dad3 This makes the code printed by -ddump-deriv look prettier M ./compiler/hsSyn/HsPat.lhs -15 +43 M ./compiler/hsSyn/HsUtils.lhs

patch applied (ghc): Wibble to printing tuple sections

2009-07-23 Thread Simon Peyton Jones
Thu Jul 23 05:57:56 PDT 2009 simo...@microsoft.com * Wibble to printing tuple sections Ignore-this: af2a1b9784f6447fea0e11d454cf082f M ./compiler/hsSyn/HsExpr.lhs -1 +1 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090723125756-1287e-120fadb8403022d5808c3c4631f229eec42

patch applied (testsuite): Tweak tests for unboxed tuple sections

2009-07-23 Thread Simon Peyton Jones
Fri Jul 17 14:42:31 PDT 2009 Max Bolingbroke * Tweak tests for unboxed tuple sections Ignore-this: 6abc5631f1028b628f155f0a20ece4da M ./tests/ghc-regress/typecheck/should_run/all.T -1 +1 M ./tests/ghc-regress/typecheck/should_run/tcrun041.hs +5 View patch online: http://darcs.haskel

patch applied (testsuite): Tests for unboxed tuple sections

2009-07-23 Thread Simon Peyton Jones
Fri Jul 17 14:24:43 PDT 2009 Max Bolingbroke * Tests for unboxed tuple sections Ignore-this: 3a31b5c69acb53e3f543c8fb92aca38e M ./tests/ghc-regress/rename/should_fail/rnfail056.hs +3 M ./tests/ghc-regress/rename/should_fail/rnfail056.stderr -1 +3 M ./tests/ghc-regress/typecheck/s

patch applied (testsuite): Tests for basic TupleSections

2009-07-23 Thread Simon Peyton Jones
Fri Jul 17 13:46:59 PDT 2009 Max Bolingbroke * Tests for basic TupleSections Ignore-this: 7bf3a8e08b6b654f5dd9a9fba31f9cbe M ./tests/ghc-regress/rename/should_fail/all.T +1 A ./tests/ghc-regress/rename/should_fail/rnfail056.hs A ./tests/ghc-regress/rename/should_fail/rnfail056.st

patch applied (ghc): Fix Trac #3193: improve line number reporting for equality constraints

2009-07-23 Thread Simon Peyton Jones
Wed Jul 22 23:55:04 PDT 2009 simo...@microsoft.com * Fix Trac #3193: improve line number reporting for equality constraints Ignore-this: b45a68071bcaca48cad7855dccb9c9eb When reporting an error from a failed equality constraint, we were setting the *context* but not the *line number* in

patch applied (ghc): Add fmapM_maybe :: Monad m => (a -> m b) -> Maybe a -> m (Maybe b)

2009-07-23 Thread Simon Peyton Jones
Wed Jul 22 23:49:32 PDT 2009 simo...@microsoft.com * Add fmapM_maybe :: Monad m => (a -> m b) -> Maybe a -> m (Maybe b) Ignore-this: db5f6319b52a5e6b5f85d76985f2a7c9 This function isn't used at the moment, but Max added it, and it looks useful. M ./compiler/utils/Maybes.lhs +9

patch applied (ghc): Add tuple sections as a new feature

2009-07-23 Thread Simon Peyton Jones
Wed Jul 22 23:38:59 PDT 2009 simo...@microsoft.com * Add tuple sections as a new feature Ignore-this: d42a26fc1efff112b852b5c1135c1746 This patch adds tuple sections, so that (x,,z) means \y -> (x,y,z) Thanks for Max Bolinbroke for doing the hard work. In the end,

patch applied (testsuite): Use /usr/bin/env to find Python

2009-07-23 Thread Simon Marlow
Thu Jul 23 00:51:56 PDT 2009 Simon Marlow * Use /usr/bin/env to find Python Ignore-this: e6315057539fb198d98909cb1dda243f Contributed by: Krister Walfridsson M ./timeout/calibrate -1 +1 M ./timeout/timeout.py -1 +1 View patch online: http://darcs.haskell.org/testsuite/_darcs/p

patch applied (ghc): NetBSD defines _REENTRANT in its header files, so compiling ghc gives

2009-07-23 Thread Simon Marlow
Thu Jul 23 00:50:30 PDT 2009 Simon Marlow * NetBSD defines _REENTRANT in its header files, so compiling ghc gives Ignore-this: 4722c4ff0541c6080de8f433e498684 redefinition warnings for all files that are including includes/Rts.h. Contributed by: Krister Walfridsson M ./includes/R

patch applied (ghc): includes/TSO.h: kill trailing whitespace

2009-07-23 Thread Simon Marlow
Wed Jul 22 10:03:54 PDT 2009 Samuel Bronson * includes/TSO.h: kill trailing whitespace Ignore-this: 36d4afd1a21188d604ed6b432942dcdc M ./includes/TSO.h -3 +3 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090722170354-90c7a-11f113104f19006092dbf27d1cf9912a6892816a.gz

patch applied (ghc): Say what StgTSOBlockInfo is for, where to read about it.

2009-07-23 Thread Simon Marlow
Wed Jul 22 09:30:11 PDT 2009 Samuel Bronson * Say what StgTSOBlockInfo is for, where to read about it. Ignore-this: 6c09e11f23594251cdc2db1bc642edc9 M ./includes/TSO.h +1 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20090722163011-90c7a-e3adcf7b5e8f916b2af105ec4b77bf84

Re: patch: libraries/unix __hsunix_-wrappers needed for NetBSD

2009-07-23 Thread Simon Marlow
On 22/07/2009 21:58, Krister Walfridsson wrote: NetBSD does not have support for symbol versioning, so updated systen functions need to be given a new name, and the header files contain some __asm hackery in order to let the program call the correct function. This mean that you need to use the h

Re: patch: testsuite path to python

2009-07-23 Thread Simon Marlow
On 22/07/2009 21:23, Krister Walfridsson wrote: The testsuite has two hard-coded paths to /usr/bin/python, wich prevents it from running on systems that installs python in other places. Most python scripts seems to solve this using the /usr/bin/env trick, as in the attached patches. Thanks, wil

Re: patch: fix compiler warning in includes/Rts.h

2009-07-23 Thread Simon Marlow
On 22/07/2009 21:16, Krister Walfridsson wrote: NetBSD defines _REENTRANT in its header files, so compiling ghc gives redefinition warnings for all files that are including includes/Rts.h. Fixed with the attached patch. Thanks, will push. Simon ___

Re: darcs patch: Say what StgTSOBlockInfo is for, where to read about it.

2009-07-23 Thread Simon Marlow
On 22/07/2009 17:32, Samuel Bronson wrote: Wed Jul 22 12:30:11 EDT 2009 Samuel Bronson * Say what StgTSOBlockInfo is for, where to read about it. Thanks, I'll push in my next validate run. Cheers, Simon ___ Cvs-ghc mailing list Cvs-ghc@h