Re: [PATCH] define own version of PRIdPTR on platform where its not available

2012-11-05 Thread Simon Marlow

On 03/11/2012 00:16, Ian Lynagh wrote:


Hi Karel,

On Fri, Nov 02, 2012 at 07:39:45PM +0100, Karel Gardas wrote:


I'm curious if this patch is kind of controversial so you are
reluctant to merge it. If you find any issue with it please let me
know so I can change it as per your suggestion. I've done this patch
to un-break GHC HEAD build failure on my solaris 11 box.


If we're going to go this route, then I think we should do it by
comparing SIZEOF_VOID_P to SIZEOF_INT etc, rather than assuming that
either 'ld' or 'd' is right based on _LP64.

However, I'm hoping to replace mkDerivedConstants.c with probably a
configure script soon, so that it can produce the right results when
cross-compiling.


Yes we need to replace mkDerivedConstants.c with something else for 
cross compilation, but I really hope it doesn't have to be a configure 
script :-)  Surely it's possible to convince the C compiler to emit 
struct offsets without having to run the program, somehow?


Cheers,
Simon







On 10/30/12 06:59 PM, Karel Gardas wrote:

Note that PRIdPTR is considered as linux-ism so it's not available on platforms
like Solaris, although some other free Unix(-like) OSes apparently supports
it too.
---
  includes/mkDerivedConstants.c |   11 +++
  1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/includes/mkDerivedConstants.c b/includes/mkDerivedConstants.c
index 1393112..953b2b5 100644
--- a/includes/mkDerivedConstants.c
+++ b/includes/mkDerivedConstants.c
@@ -30,6 +30,17 @@
  #includestdio.h
  #includestring.h

+
+#if !defined(PRIdPTR)
+#if defined(_LP64)
+/* compiling for 64bit target */
+#define PRIdPTR ld
+#else
+/* compiling for 32bit target */
+#define PRIdPTR d
+#endif
+#endif



Thanks
Ian


___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc




___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


Re: Proposal: New procedures for handling packages in a GHC tree

2012-11-05 Thread Geoffrey Mainland
On 11/02/2012 08:10 PM, Ian Lynagh wrote:
 Hi all,

 We have been working on a new way in which we handle the repositories
 that make up a GHC tree, in order to makes the process smoother for all
 parties.

 Our proposal is here:
 http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions/Repositories

 Please have a look and let us know what you think, and especially
 whether you think there is anything that we've failed to take into
 account.

 Thanks
 Ian

Hi Ian,

Thanks for putting together the proposal.

If we will now be using git submodules for external libraries, can we
not just use submodules for all libraries? That way the GHC repo hash
will uniquely specify everything needed to reproduce a build. Right now
it is painful to do any sort of bisect operation---doing so requires
digging through build logs to find fingerprint files for past builds.

It looks like the proposal will leave us with the pain of fingerprints
and add the additional pain of git submodules. I am very much in favor
of just using submodules for everything.

Geoff

___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


Re: [PATCH] define own version of PRIdPTR on platform where its not available

2012-11-05 Thread Gabor Greif
On 11/5/12, Simon Marlow marlo...@gmail.com wrote:
 On 03/11/2012 00:16, Ian Lynagh wrote:

 Hi Karel,

 On Fri, Nov 02, 2012 at 07:39:45PM +0100, Karel Gardas wrote:

 I'm curious if this patch is kind of controversial so you are
 reluctant to merge it. If you find any issue with it please let me
 know so I can change it as per your suggestion. I've done this patch
 to un-break GHC HEAD build failure on my solaris 11 box.

 If we're going to go this route, then I think we should do it by
 comparing SIZEOF_VOID_P to SIZEOF_INT etc, rather than assuming that
 either 'ld' or 'd' is right based on _LP64.

 However, I'm hoping to replace mkDerivedConstants.c with probably a
 configure script soon, so that it can produce the right results when
 cross-compiling.

 Yes we need to replace mkDerivedConstants.c with something else for
 cross compilation, but I really hope it doesn't have to be a configure
 script :-)  Surely it's possible to convince the C compiler to emit
 struct offsets without having to run the program, somehow?

+1. A configure script will run (almost) till the heat death of the universe.

I have a solution on the cross-compiler-alienless branch which does exactly
what you propose: feed the relevant headers into the cross-gcc, obtain
the offsets/sizes back
by 'nm', and massage stuff to obtain all as macros then feed those
into mkDerivedConstants.c.

So, unless we want a very generic solution, where more than one cross
target is possible,
there is no need to abolish mkDerivedConstants.c. The current
architecture would do with
a few tweaks.

Cheers,

Gabor


 Cheers,
   Simon






 On 10/30/12 06:59 PM, Karel Gardas wrote:
 Note that PRIdPTR is considered as linux-ism so it's not available on
 platforms
 like Solaris, although some other free Unix(-like) OSes apparently
 supports
 it too.
 ---
   includes/mkDerivedConstants.c |   11 +++
   1 files changed, 11 insertions(+), 0 deletions(-)

 diff --git a/includes/mkDerivedConstants.c
 b/includes/mkDerivedConstants.c
 index 1393112..953b2b5 100644
 --- a/includes/mkDerivedConstants.c
 +++ b/includes/mkDerivedConstants.c
 @@ -30,6 +30,17 @@
   #includestdio.h
   #includestring.h

 +
 +#if !defined(PRIdPTR)
 +#if defined(_LP64)
 +/* compiling for 64bit target */
 +#define PRIdPTR ld
 +#else
 +/* compiling for 32bit target */
 +#define PRIdPTR d
 +#endif
 +#endif


 Thanks
 Ian


 ___
 Cvs-ghc mailing list
 Cvs-ghc@haskell.org
 http://www.haskell.org/mailman/listinfo/cvs-ghc



 ___
 Cvs-ghc mailing list
 Cvs-ghc@haskell.org
 http://www.haskell.org/mailman/listinfo/cvs-ghc


___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


Re: Proposal: New procedures for handling packages in a GHC tree

2012-11-05 Thread Manuel M T Chakravarty
I agree with Geoff, submodules bring a certain complexity, but also advantages. 
We already pay for most complexities if we use submodules at all (such as 
having to use git submodule and remember to keep them in sync). If we pay 
already, why not reap the advantages for the rest of the repositories as well.

For example, I often make changes in the main repo and the dph repo at the same 
time. It would be much more convenient if a branch would reflect the shared 
state of both (i.e., if dph would be a submodule of the main repo).

In other words, if we use submodules at all (which is an idea I like), why add 
additional complexity by using different mechanisms for different subrepos? And 
why not reap the benefits of submodules across the board?

Manuel


Geoffrey Mainland mainl...@apeiron.net:
 On 11/02/2012 08:10 PM, Ian Lynagh wrote:
 Hi all,
 
 We have been working on a new way in which we handle the repositories
 that make up a GHC tree, in order to makes the process smoother for all
 parties.
 
 Our proposal is here:
   http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions/Repositories
 
 Please have a look and let us know what you think, and especially
 whether you think there is anything that we've failed to take into
 account.
 
 Thanks
 Ian
 
 Hi Ian,
 
 Thanks for putting together the proposal.
 
 If we will now be using git submodules for external libraries, can we
 not just use submodules for all libraries? That way the GHC repo hash
 will uniquely specify everything needed to reproduce a build. Right now
 it is painful to do any sort of bisect operation---doing so requires
 digging through build logs to find fingerprint files for past builds.
 
 It looks like the proposal will leave us with the pain of fingerprints
 and add the additional pain of git submodules. I am very much in favor
 of just using submodules for everything.
 
 Geoff
 
 ___
 Cvs-ghc mailing list
 Cvs-ghc@haskell.org
 http://www.haskell.org/mailman/listinfo/cvs-ghc


___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


[commit: ghc] master: typo (680dca1)

2012-11-05 Thread Gabor Greif
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/680dca1145a08a82a83950bdbca891742fbaf526

---

commit 680dca1145a08a82a83950bdbca891742fbaf526
Author: Gabor Greif ggr...@gmail.com
Date:   Mon Nov 5 12:56:43 2012 +0100

typo

---

 docs/users_guide/ghci.xml |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml
index c59f4b3..9e8ea2f 100644
--- a/docs/users_guide/ghci.xml
+++ b/docs/users_guide/ghci.xml
@@ -662,7 +662,7 @@ Prelude
   an attempt to distinguish it from the new literalT/literal,
   which is displayed as simply literalT/literal./para
 
-paraClass and type-family instance declarations are simply added to the 
list of available isntances, with one
+paraClass and type-family instance declarations are simply added to the 
list of available instances, with one
 exception. Since type-family instances are not permitted to overlap, but 
you might want to re-define one,
 a type-family instance emphasisreplaces/emphasis any earlier type 
instance with an identical left hand side.
 (See xref linkend=type-families/.)/para



___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


Re: [PATCH] define own version of PRIdPTR on platform where its not available

2012-11-05 Thread Erik de Castro Lopo
Gabor Greif wrote:

 +1. A configure script will run (almost) till the heat death of the universe.
 
 I have a solution on the cross-compiler-alienless branch which does exactly
 what you propose: feed the relevant headers into the cross-gcc, obtain
 the offsets/sizes back
 by 'nm', and massage stuff to obtain all as macros then feed those
 into mkDerivedConstants.c.

Doesn't the offsetof macro do the right thing for get the offset of
fields within a struct?

http://en.wikipedia.org/wiki/Offsetof

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/

___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


Re: [PATCH] define own version of PRIdPTR on platform where its not available

2012-11-05 Thread Gabor Greif
Of course I use 'offsetof' in the first part of the tool pipeline. The
problem is, though getting the result of it out of the cross-gcc. Here
we cannot simply say

 printf(offsXYZ = %zu, offsetof(XY, Z));

because there is no way to run the cross-gcc output. Instead I do:

 char offsXYZ[offsetof(XY, Z)];

and the inspect the resulting object file with 'nm'. In the second
(i.e. host) gcc
invocation I am not allowed to use 'offsetof' to obtain target values,
so I include
the transformed 'nm' output of the form

 #define offsXYZ 0x12

and compile mkDerivedConstants.c with these constants.

Hope this clears it up.

Cheers,

Gabor

On 11/5/12, Erik de Castro Lopo mle...@mega-nerd.com wrote:
 Gabor Greif wrote:

 +1. A configure script will run (almost) till the heat death of the
 universe.

 I have a solution on the cross-compiler-alienless branch which does
 exactly
 what you propose: feed the relevant headers into the cross-gcc, obtain
 the offsets/sizes back
 by 'nm', and massage stuff to obtain all as macros then feed those
 into mkDerivedConstants.c.

 Doesn't the offsetof macro do the right thing for get the offset of
 fields within a struct?

 http://en.wikipedia.org/wiki/Offsetof

 Erik
 --
 --
 Erik de Castro Lopo
 http://www.mega-nerd.com/

 ___
 Cvs-ghc mailing list
 Cvs-ghc@haskell.org
 http://www.haskell.org/mailman/listinfo/cvs-ghc


___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


Re: Proposal: New procedures for handling packages in a GHC tree

2012-11-05 Thread Simon Marlow

On 05/11/2012 10:52, Manuel M T Chakravarty wrote:


I agree with Geoff, submodules bring a certain complexity, but also
advantages. We already pay for most complexities if we use submodules
at all (such as having to use git submodule and remember to keep
them in sync). If we pay already, why not reap the advantages for the
rest of the repositories as well.

For example, I often make changes in the main repo and the dph repo
at the same time. It would be much more convenient if a branch would
reflect the shared state of both (i.e., if dph would be a submodule
of the main repo).

In other words, if we use submodules at all (which is an idea I
like), why add additional complexity by using different mechanisms
for different subrepos? And why not reap the benefits of submodules
across the board?


I wouldn't object to trying that, if that's what people want.  I buy the 
advantages of submodules, and I buy the argument that since we have some 
submodules, it's probably easier to make them all submodules.


I've been deliberately conservative in our adoption of submodules, 
because my own experience wasn't good when I tried them - it's easy to 
get very confused, and to lose changes.  The setup with separate repos 
has its disadvantages, but at least we fully understand it, and it's 
under our control.


We're forced to use submodules for upstream packages, because we will 
sometimes need to move from tracking one branch to another branch.  This 
doesn't work well with separate repos, because GHC devs would need a git 
reset when we switch to tracking a different branch.  Hence the move to 
submodules.



Cheers,
Simon





Manuel


Geoffrey Mainland mainl...@apeiron.net:

On 11/02/2012 08:10 PM, Ian Lynagh wrote:

Hi all,

We have been working on a new way in which we handle the repositories
that make up a GHC tree, in order to makes the process smoother for all
parties.

Our proposal is here:
   http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions/Repositories

Please have a look and let us know what you think, and especially
whether you think there is anything that we've failed to take into
account.

Thanks
Ian


Hi Ian,

Thanks for putting together the proposal.

If we will now be using git submodules for external libraries, can we
not just use submodules for all libraries? That way the GHC repo hash
will uniquely specify everything needed to reproduce a build. Right now
it is painful to do any sort of bisect operation---doing so requires
digging through build logs to find fingerprint files for past builds.

It looks like the proposal will leave us with the pain of fingerprints
and add the additional pain of git submodules. I am very much in favor
of just using submodules for everything.

Geoff

___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc



___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc




___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


[commit: ghc] master: loadThreadState should set HpAlloc=0 (9f68cce)

2012-11-05 Thread Simon Marlow
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/9f68cceca364600e2ed8d8b4c9e2684eb83549fc

---

commit 9f68cceca364600e2ed8d8b4c9e2684eb83549fc
Author: Simon Marlow marlo...@gmail.com
Date:   Mon Nov 5 14:49:05 2012 +

loadThreadState should set HpAlloc=0

---

 compiler/codeGen/StgCmmForeign.hs |8 +++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/compiler/codeGen/StgCmmForeign.hs 
b/compiler/codeGen/StgCmmForeign.hs
index 7612cd1..aef1e4f 100644
--- a/compiler/codeGen/StgCmmForeign.hs
+++ b/compiler/codeGen/StgCmmForeign.hs
@@ -306,6 +306,11 @@ loadThreadState dflags tso stack = do
 -- SpLim = stack-stack + RESERVED_STACK_WORDS;
 mkAssign spLim (cmmOffsetW dflags (cmmOffset dflags (CmmReg (CmmLocal 
stack)) (stack_STACK dflags))
 (rESERVED_STACK_WORDS dflags)),
+-- HpAlloc = 0;
+--   HpAlloc is assumed to be set to non-zero only by a failed
+--   a heap check, see HeapStackCheck.cmm:GC_GENERIC
+mkAssign hpAlloc (zeroExpr dflags),
+
 openNursery dflags,
 -- and load the current cost centre stack from the TSO when profiling:
 if gopt Opt_SccProfilingOn dflags then
@@ -367,13 +372,14 @@ stgHp = CmmReg hp
 stgCurrentTSO = CmmReg currentTSO
 stgCurrentNursery = CmmReg currentNursery
 
-sp, spLim, hp, hpLim, currentTSO, currentNursery :: CmmReg
+sp, spLim, hp, hpLim, currentTSO, currentNursery, hpAlloc :: CmmReg
 sp= CmmGlobal Sp
 spLim = CmmGlobal SpLim
 hp= CmmGlobal Hp
 hpLim = CmmGlobal HpLim
 currentTSO= CmmGlobal CurrentTSO
 currentNursery= CmmGlobal CurrentNursery
+hpAlloc   = CmmGlobal HpAlloc
 
 -- 
-
 -- For certain types passed to foreign calls, we adjust the actual



___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


[commit: ghc] master: small optimisation: inline stmNewTVar() (a307ad5)

2012-11-05 Thread Simon Marlow
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/a307ad56e0a5568d4b9f2c446ba33fcc42f39f47

---

commit a307ad56e0a5568d4b9f2c446ba33fcc42f39f47
Author: Simon Marlow marlo...@gmail.com
Date:   Mon Nov 5 10:42:23 2012 +

small optimisation: inline stmNewTVar()

---

 includes/mkDerivedConstants.c |3 +++
 rts/PrimOps.cmm   |   11 +--
 rts/STM.c |   15 ---
 rts/STM.h |8 
 4 files changed, 12 insertions(+), 25 deletions(-)

diff --git a/includes/mkDerivedConstants.c b/includes/mkDerivedConstants.c
index 79242d9..7009a3f 100644
--- a/includes/mkDerivedConstants.c
+++ b/includes/mkDerivedConstants.c
@@ -631,7 +631,10 @@ main(int argc, char *argv[])
 closure_field(StgTVarWatchQueue, next_queue_entry);
 closure_field(StgTVarWatchQueue, prev_queue_entry);
 
+closure_size(StgTVar);
 closure_field(StgTVar, current_value);
+closure_field(StgTVar, first_watch_queue_entry);
+closure_field(StgTVar, num_updates);
 
 closure_size(StgWeak);
 closure_field(StgWeak,link);
diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm
index 6ff7dc0..be8bc15 100644
--- a/rts/PrimOps.cmm
+++ b/rts/PrimOps.cmm
@@ -1062,8 +1062,15 @@ stg_newTVarzh (P_ init)
 {
 W_ tv;
 
-MAYBE_GC_P (stg_newTVarzh, init);
-(ptr tv) = ccall stmNewTVar(MyCapability() ptr, init ptr);
+ALLOC_PRIM_P (SIZEOF_StgTVar, stg_newTVarzh, init);
+
+tv = Hp - SIZEOF_StgTVar + WDS(1);
+SET_HDR (tv, stg_TVAR_info, CCCS);
+
+StgTVar_current_value(tv) = init;
+StgTVar_first_watch_queue_entry(tv) = stg_END_STM_WATCH_QUEUE_closure;
+StgTVar_num_updates(tv) = 0;
+
 return (tv);
 }
 
diff --git a/rts/STM.c b/rts/STM.c
index f8f56a2..568a401 100644
--- a/rts/STM.c
+++ b/rts/STM.c
@@ -1648,18 +1648,3 @@ void stmWriteTVar(Capability *cap,
 }
 
 /*..*/
-
-StgTVar *stmNewTVar(Capability *cap,
-StgClosure *new_value) {
-  StgTVar *result;
-  result = (StgTVar *)allocate(cap, sizeofW(StgTVar));
-  SET_HDR (result, stg_TVAR_info, CCS_SYSTEM);
-  result - current_value = new_value;
-  result - first_watch_queue_entry = END_STM_WATCH_QUEUE;
-#if defined(THREADED_RTS)
-  result - num_updates = 0;
-#endif
-  return result;
-}
-
-/*..*/
diff --git a/rts/STM.h b/rts/STM.h
index dd11bb8..799cac3 100644
--- a/rts/STM.h
+++ b/rts/STM.h
@@ -183,14 +183,6 @@ StgBool stmReWait(Capability *cap, StgTSO *tso);
 
 /*--
 
-   TVar management operations
-   --
-*/
-
-StgTVar *stmNewTVar(Capability *cap, StgClosure *new_value);
-
-/*--
-
Data access operations
--
 */



___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


[commit: ghc] master: fix 'return' in cmm code when tablesNextToCode==False (811a19c)

2012-11-05 Thread Simon Marlow
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/811a19c95bcb4d97a075134a45fb04f2e81acf4e

---

commit 811a19c95bcb4d97a075134a45fb04f2e81acf4e
Author: Simon Marlow marlo...@gmail.com
Date:   Fri Nov 2 12:09:35 2012 +

fix 'return' in cmm code when tablesNextToCode==False

---

 compiler/cmm/CmmParse.y |6 ++
 compiler/cmm/MkGraph.hs |8 +---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/compiler/cmm/CmmParse.y b/compiler/cmm/CmmParse.y
index 1291f64..dfa44ca 100644
--- a/compiler/cmm/CmmParse.y
+++ b/compiler/cmm/CmmParse.y
@@ -1065,6 +1065,12 @@ doReturn exprs_code = do
   updfr_off - getUpdFrameOff
   emit (mkReturnSimple dflags exprs updfr_off)
 
+mkReturnSimple  :: DynFlags - [CmmActual] - UpdFrameOffset - CmmAGraph
+mkReturnSimple dflags actuals updfr_off =
+  mkReturn dflags e actuals updfr_off
+  where e = entryCode dflags (CmmLoad (CmmStackSlot Old updfr_off)
+ (gcWord dflags))
+
 doRawJump :: CmmParse CmmExpr - [GlobalReg] - CmmParse ()
 doRawJump expr_code vols = do
   dflags - getDynFlags
diff --git a/compiler/cmm/MkGraph.hs b/compiler/cmm/MkGraph.hs
index 1536794..7971b1d 100644
--- a/compiler/cmm/MkGraph.hs
+++ b/compiler/cmm/MkGraph.hs
@@ -12,7 +12,7 @@ module MkGraph
   , mkJump, mkJumpExtra, mkDirectJump, mkForeignJump, mkForeignJumpExtra
   , mkRawJump
   , mkCbranch, mkSwitch
-  , mkReturn, mkReturnSimple, mkComment, mkCallEntry, mkBranch
+  , mkReturn, mkComment, mkCallEntry, mkBranch
   , copyInOflow, copyOutOflow
   , noExtraStack
   , toCall, Transfer(..)
@@ -23,7 +23,6 @@ import BlockId
 import Cmm
 import CmmCallConv
 
-
 import Compiler.Hoopl hiding (Unique, (*), mkFirst, mkMiddle, mkLast, 
mkLabel, mkBranch, Shape(..))
 import DynFlags
 import FastString
@@ -241,11 +240,6 @@ mkReturn dflags e actuals updfr_off =
   lastWithArgs dflags Ret  Old NativeReturn actuals updfr_off $
 toCall e Nothing updfr_off 0
 
-mkReturnSimple  :: DynFlags - [CmmActual] - UpdFrameOffset - CmmAGraph
-mkReturnSimple dflags actuals updfr_off =
-  mkReturn dflags e actuals updfr_off
-  where e = CmmLoad (CmmStackSlot Old updfr_off) (gcWord dflags)
-
 mkBranch:: BlockId - CmmAGraph
 mkBranch bid = mkLast (CmmBranch bid)
 



___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


[commit: ghc] master: Save R1/R2/.. across foreign calls (8b25d39)

2012-11-05 Thread Simon Marlow
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/8b25d3953f2fa7055dc217e77a849cac92d2aa78

---

commit 8b25d3953f2fa7055dc217e77a849cac92d2aa78
Author: Simon Marlow marlo...@gmail.com
Date:   Fri Nov 2 11:28:16 2012 +

Save R1/R2/.. across foreign calls

---

 rts/Exception.cmm |   17 +
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/rts/Exception.cmm b/rts/Exception.cmm
index 3f1dc10..2b63328 100644
--- a/rts/Exception.cmm
+++ b/rts/Exception.cmm
@@ -55,6 +55,9 @@ INFO_TABLE_RET(stg_unmaskAsyncExceptionszh_ret, RET_SMALL, W_ 
info_ptr)
 {
 CInt r;
 
+P_ ret;
+ret = R1;
+
 StgTSO_flags(CurrentTSO) = %lobits32(
   TO_W_(StgTSO_flags(CurrentTSO))  ~(TSO_BLOCKEX|TSO_INTERRUPTIBLE));
 
@@ -68,18 +71,18 @@ INFO_TABLE_RET(stg_unmaskAsyncExceptionszh_ret, RET_SMALL, 
W_ info_ptr)
  * thread, which might result in the thread being killed.
  */
 Sp_adj(-2);
-Sp(1) = R1;
+Sp(1) = ret;
 Sp(0) = stg_ret_p_info;
 SAVE_THREAD_STATE();
 (r) = ccall maybePerformBlockedException (MyCapability() ptr, 
   CurrentTSO ptr);
-
 if (r != 0::CInt) {
 if (StgTSO_what_next(CurrentTSO) == ThreadKilled::I16) {
 jump stg_threadFinished [];
 } else {
 LOAD_THREAD_STATE();
 ASSERT(StgTSO_what_next(CurrentTSO) == ThreadRunGHC::I16);
+R1 = ret;
 jump %ENTRY_CODE(Sp(0)) [R1];
 }
 }
@@ -94,6 +97,7 @@ INFO_TABLE_RET(stg_unmaskAsyncExceptionszh_ret, RET_SMALL, W_ 
info_ptr)
 }
 
 Sp_adj(1);
+R1 = ret;
 jump %ENTRY_CODE(Sp(0)) [R1];
 }
 
@@ -184,7 +188,10 @@ stg_unmaskAsyncExceptionszh /* explicit stack */
 W_ level;
 
 /* Args: R1 :: IO a */
-STK_CHK_P (WDS(4), stg_unmaskAsyncExceptionszh, R1);
+P_ io;
+io = R1;
+
+STK_CHK_P (WDS(4), stg_unmaskAsyncExceptionszh, io);
 /* 4 words: one for the unblock frame, 3 for setting up the
  * stack to call maybePerformBlockedException() below.
  */
@@ -222,7 +229,7 @@ stg_unmaskAsyncExceptionszh /* explicit stack */
  */
 Sp_adj(-3);
 Sp(2) = stg_ap_v_info;
-Sp(1) = R1;
+Sp(1) = io;
 Sp(0) = stg_enter_info;
 
 SAVE_THREAD_STATE();
@@ -235,6 +242,7 @@ stg_unmaskAsyncExceptionszh /* explicit stack */
} else {
LOAD_THREAD_STATE();
ASSERT(StgTSO_what_next(CurrentTSO) == ThreadRunGHC::I16);
+R1 = io;
 jump %ENTRY_CODE(Sp(0)) [R1];
}
 } else {
@@ -246,6 +254,7 @@ stg_unmaskAsyncExceptionszh /* explicit stack */
 }
 TICK_UNKNOWN_CALL();
 TICK_SLOW_CALL_v();
+R1 = io;
 jump stg_ap_v_fast [R1];
 }
 



___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


simonmar-win32-head (x86 Windows HEAD), build 675, Failure

2012-11-05 Thread Builder
simonmar-win32-head (x86 Windows HEAD), build 675

Build failed
Details: 
http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-head/675.html

git clone  | Success
create mk/build.mk | Success
get subrepos   | Failure: Just (ExitFailure 2)

Build failed
Details: 
http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-head/675.html

== running git config core.ignorecase true
== running git clone /cygdrive/x/ghc-mirror/ghc-tarballs.git ghc-tarballs
Cloning into 'ghc-tarballs'...
done.
== ghc-tarballs: running git config core.ignorecase true
== running git clone /cygdrive/x/ghc-mirror/hsc2hs.git utils/hsc2hs
Cloning into 'utils/hsc2hs'...
done.
== utils/hsc2hs: running git config core.ignorecase true
== running git clone /cygdrive/x/ghc-mirror/haddock.git utils/haddock
Cloning into 'utils/haddock'...
done.
== utils/haddock: running git config core.ignorecase true
== running git clone /cygdrive/x/ghc-mirror/packages/array.git libraries/array
Cloning into 'libraries/array'...
done.
== libraries/array: running git config core.ignorecase true
== running git clone /cygdrive/x/ghc-mirror/packages/base.git libraries/base
fatal: failed to copy file to 
'libraries/base/.git/objects/30/db62b6d33216191d94a7cf6352388010cdf7bd': 
Permission denied
Cloning into 'libraries/base'...
git failed: 32768 at ./sync-all line 168.
== Checking for old haddock repo
== Checking for old binary repo
== Checking for old mtl repo
== Checking for old Cabal repo
___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


[nightly] 05-Nov-2012 build of HEAD (unreg) on x86_64-unknown-linux (cam-04-unx)

2012-11-05 Thread GHC Build Reports
Build description = HEAD (unreg) on x86_64-unknown-linux (cam-04-unx)
Build location= /64playpen/simonmar/nightly/HEAD-unreg-cam-04-unx
Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-unreg-cam-04-unx

Nightly build started on cam-04-unx at Mon Nov 5 18:20:01 GMT 2012.
 checking out new source tree ... ok.
 Building stage 1 compiler... ok.
GHC Version 7.7
 Building stage 2 compiler... failed; relevant barfage 
is below.
 building testsuite tools ... failed.
 running nofib (-rtsopts -O2) ... failed.
-
Respository hashes:
.|9f68cceca364600e2ed8d8b4c9e2684eb83549fc
ghc-tarballs|18e0c37f8023abf469af991e2fc2d3b024319c27
libraries/Cabal|98e37cacc6c6769455d3307e344b3819d8b8e769
libraries/Win32|21335a30161c099da79ae9619c9782e5e32e4644
libraries/array|a24f9848dc1d19829d9b8f1335cc1d6662f95140
libraries/base|b500ee8ded3f449d4643c587bc276d3224334fd1
libraries/binary|2d31cea238d0d08885c457475fc354dbf2b88976
libraries/bytestring|87c5fc73a18d613d59c0325cb802c670eb026709
libraries/containers|a9b7224068ae60f73baacd5f76d2c27624d90120
libraries/deepseq|4821349305c2a73efacdd58d2ba485b07eb84eda
libraries/directory|ae1704201bdee2be29a3a6a59a42b240f6180353
libraries/dph|6bc882df4323e3ba35b2ab58b9ccfcf721cd1338
libraries/filepath|2d60d0dd5d8fc924420bb238902266929f4e2cfb
libraries/ghc-prim|03144fbee792555bfd6de6184228ebaeffed2896
libraries/haskeline|9ad00926f832f4e5f5d38c8fe84bfc85f4e8f728
libraries/haskell2010|d7e33da36585c250cd0bfb45b518c95e44197f3c
libraries/haskell98|8b70376392c992703034b8e3e96ec13ffb80a153
libraries/hoopl|038658b5605af91b6180a4a8d82cb1696d6421b4
libraries/hpc|61dfe710c350edef9e6239f72b18ff6125f1e129
libraries/integer-gmp|8c5a74fb612654b1459b4fee8d64d9f4427c704c
libraries/integer-simple|45a0642c712adfdc0a313601d720a4ee7a9cd48d
libraries/old-locale|47542432234f6fc406a9abf5d3f94e43d9bd10f6
libraries/old-time|cf225c367e5490201a5b04b1b8cb322f6e230d46
libraries/parallel|5331a63bca622486a2a04218ca702f22aa238956
libraries/pretty|ab7e8d91470bb94c9e184dffbec89d0aae116f9b
libraries/primitive|75c3379b6d76e914cc3c7ffd290b6b1cad7ea3e6
libraries/process|8d7a7c234e86aca4d54d55de92fb3a302fcf102b
libraries/random|69bfde219bab869729fdbe9c1496371f912bf41e
libraries/stm|4965c0139de186c8322cb48b52550acb4b8d9afa
libraries/template-haskell|d7b864b7ddb0e8c2f58d08dfd50e843eb8966b90
libraries/terminfo|579d2c324e69856ff8d1ea8b5036e30c920e1973
libraries/transformers|a59fb93860f84ccd44178dcbbb82cfea7e02cd07
libraries/unix|2ab2b4951e4525f34bc32876d40bc3f8fe9fe12d
libraries/vector|c4c5a740ec977a4300449bc85f4707ec641be923
libraries/xhtml|fb9e0bbb69e15873682a9f25d39652099a3ccac1
nofib|35be7d976116e83d9cdea7145bbefb117d4a771f
testsuite|9a5acacb5b799c356dd34060d1d510651a46e1bd
utils/haddock|1baca3e5fb206a60a326ca7b61419b91b4642d98
utils/hsc2hs|2f1d9d3009d6193cc664d85ec24de20ce0380db4
-
All done!
Nightly build finished successfully at Mon Nov 5 20:27:26 GMT 2012



The last 30 lines of 
/64playpen/simonmar/nightly/HEAD-unreg-cam-04-unx/logs/x86_64-unknown-linux-stage2
 are



   3% (  2 / 63) in 'GHC.Tuple'
   0% (  0 /  3) in 'GHC.Debug'
   0% (  0 /336) in 'GHC.PrimopWrappers'
  36% (152 /424) in 'GHC.Prim'
 100% (  2 /  2) in 'GHC.Magic'
*** Core Lint warnings : in result of Desugar (after optimization) ***
{-# LINE 99 libraries/ghc-prim/GHC/Classes.hs #-}: Warning:
[RHS of $c/=_a77f :: GHC.Types.Float
 - GHC.Types.Float - GHC.Types.Bool]
INLINE binder is (non-rule) loop breaker: $c/=_a77f
{-# LINE 102 libraries/ghc-prim/GHC/Classes.hs #-}: Warning:
[RHS of $c/=_a778 :: GHC.Types.Double
 - GHC.Types.Double - GHC.Types.Bool]
INLINE binder is (non-rule) loop breaker: $c/=_a778
{-# LINE 85 libraries/ghc-prim/GHC/Classes.hs #-}: Warning:
[RHS of $c/=_a77D :: forall a_a5J1.
 GHC.Classes.Eq a_a5J1 =
 [a_a5J1] - [a_a5J1] - GHC.Types.Bool]
INLINE binder is (non-rule) loop breaker: $c/=_a77D

/64playpen/simonmar/nightly/HEAD-unreg-cam-04-unx/x86_64-unknown-linux/libraries/integer-gmp/dist-install/build/GHC/Integer/Type.hi
Declaration for $fEqInteger:
  attempting to use module `ghc-prim:GHC.Classes' 
(libraries/ghc-prim/./GHC/Classes.hs) which is not loaded
  38% (  6 / 16) in 'GHC.Classes'
Cannot continue after interface file error
make[1]: *** 
[libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock] Error 1
make: *** [all] Error 2
Command exited with 

Re: [PATCH] define own version of PRIdPTR on platform where its not available

2012-11-05 Thread Ian Lynagh
On Mon, Nov 05, 2012 at 10:02:08AM +, Simon Marlow wrote:
 On 03/11/2012 00:16, Ian Lynagh wrote:
 
 However, I'm hoping to replace mkDerivedConstants.c with probably a
 configure script soon, so that it can produce the right results when
 cross-compiling.
 
 Yes we need to replace mkDerivedConstants.c with something else for
 cross compilation, but I really hope it doesn't have to be a
 configure script :-)  Surely it's possible to convince the C
 compiler to emit struct offsets without having to run the program,
 somehow?

Well, we currently do the same sort of thing with configure scripts
already, e.g. configure creates SIZEOF_INT and mkDerivedConstants makes
SIZEOF_StgArrWords_NoHdr. I don't feel strongly about how we do it, but
we should do it the same way in both places.


Thanks
Ian


___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


Re: [PATCH] define own version of PRIdPTR on platform where its not available

2012-11-05 Thread Ian Lynagh
On Mon, Nov 05, 2012 at 11:52:43AM +0100, Gabor Greif wrote:
 
 I have a solution on the cross-compiler-alienless branch which does exactly
 what you propose: feed the relevant headers into the cross-gcc, obtain
 the offsets/sizes back
 by 'nm', and massage stuff to obtain all as macros then feed those
 into mkDerivedConstants.c.

I'll take a look, but I worry that we will have problems such as output
varying with different versions of nm, output being different on Linux
vs OS X vs Windows, and padding possibly meaning that we get the wrong
values.

 So, unless we want a very generic solution, where more than one cross
 target is possible,
 there is no need to abolish mkDerivedConstants.c. The current
 architecture would do with
 a few tweaks.

Multiple targets wouldn't matter here: Whatever we do, if we want to
support multiple targets we'll just run it separately for each target.


Thanks
Ian


___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


Re: Proposal: New procedures for handling packages in a GHC tree

2012-11-05 Thread Ian Lynagh
On Fri, Nov 02, 2012 at 08:55:40PM +, Geoffrey Mainland wrote:
 
 It looks like the proposal will leave us with the pain of fingerprints
 and add the additional pain of git submodules. I am very much in favor
 of just using submodules for everything.

FWIW, the rationale for not using git submodules for libraries that we
maintain was that we make more changes, and more significant changes, to
those libraries (changes to libraries other people maintain tend to be
pretty mechanical, e.g. bumping deps as necessary or switching to newer
APIs).

Therefore, if we switched all libraries then we'd be more likely to get
bitten by the drawbacks, and if we lost changes due to them then we'd
have lost more substantial work.

I also don't feel strongly about it, though.


Thanks
Ian


___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


am-deb7-64 (HEAD), build 231, Success

2012-11-05 Thread Builder
am-deb7-64 (HEAD), build 231

Build succeeded
Details: http://darcs.haskell.org/ghcBuilder/builders/am-deb7-64/231.html

git clone| Success
create mk/build.mk   | Success
get subrepos | Success
repo versions| Success
touching clean-check files   | Success
setting version date | Success
booting  | Success
configuring  | Success
creating check-remove-before | Success
compiling| Success
creating check-remove-after  | Success
compiling testremove | Success
simulating clean | Success
checking clean   | Success
making bindist   | Success
testing bindist  | Success
testing  | Success
testsuite summary| Success

Build succeeded
Details: http://darcs.haskell.org/ghcBuilder/builders/am-deb7-64/231.html

File not deleted:compiler/ghc.cabal.old
File not deleted:inplace
File not deleted:libraries/base/include/EventConfig.h
Deleted before file: libraries/time/include/HsTimeConfig.h
File not deleted:mk/config.mk.old
File not deleted:mk/project.mk.old
File not deleted:rts/libs.depend
File not deleted:rts/package.conf.inplace
File not deleted:rts/package.conf.inplace.raw

OVERALL SUMMARY for test run started at Sat Nov  3 01:31:59 MSK 2012
3488 total tests, which gave rise to
   11634 test cases, of which
   1 caused framework failures
8482 were skipped

3036 expected passes
  45 had missing libraries
  44 expected failures
  19 unexpected passes
   8 unexpected failures

Unexpected passes:
   arrows/should_failarrowfail001 (normal)
   codeGen/should_runT7319 (prof)
   profiling/should_run  5314 (prof)
   profiling/should_run  T2552 (prof)
   profiling/should_run  T3001 (prof_hb)
   profiling/should_run  T3001-2 (prof_hb)
   profiling/should_run  T5363 (prof)
   profiling/should_run  T5559 (prof)
   profiling/should_run  T680 (prof)
   profiling/should_run  T949 (prof)
   profiling/should_run  callstack001 (prof)
   profiling/should_run  callstack002 (prof)
   profiling/should_run  heapprof001 (prof)
   profiling/should_run  prof-doc-fib (prof)
   profiling/should_run  prof-doc-last (prof)
   profiling/should_run  profinline001 (prof)
   profiling/should_run  scc001 (prof)
   profiling/should_run  scc002 (prof)
   profiling/should_run  scc003 (prof)

Unexpected failures:
   ghci/scripts   T5979 [bad stderr] (ghci)
   perf/compiler  T1969 [stat not good enough] (normal)
   perf/compiler  T4801 [stat too good] (normal)
   perf/haddock   haddock.Cabal [stat not good enough] (normal)
   perf/haddock   haddock.base [stat not good enough] (normal)
   perf/haddock   haddock.compiler [stat too good] (normal)
   typecheck/should_fail  T5300 [stderr mismatch] (normal)
   typecheck/should_fail  T5691 [stderr mismatch] (normal)

___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


tn23 (x86 OSX HEAD), build 747, Failure

2012-11-05 Thread Builder
tn23 (x86 OSX HEAD), build 747

Build failed
Details: http://darcs.haskell.org/ghcBuilder/builders/tn23/747.html

git clone| Success
create mk/build.mk   | Success
get subrepos | Success
repo versions| Success
touching clean-check files   | Success
setting version date | Success
booting  | Success
configuring  | Success
creating check-remove-before | Success
compiling| Failure: Just (ExitFailure 2)

Build failed
Details: http://darcs.haskell.org/ghcBuilder/builders/tn23/747.html

rm -f libraries/xhtml/dist-install/build/libHSxh [...] 
ist-install/build/libHSxhtml-3000.2.1.a.contents  
echo libraries/xhtml/dist-install/build/Text/XHtml [...] 
/dist-install/build/libHSxhtml-3000.2.1.a.contents
xargs  /usr/bin/ar clqs  libraries/xhtml/dist- [...] 
/dist-install/build/libHSxhtml-3000.2.1.a.contents
rm -f libraries/xhtml/dist-install/build/libHSxhtml-3000.2.1.a.contents  
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
html/dist-install/build/Text/XHtml/Internals.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
t-install/build/Text/XHtml/Strict/Attributes.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
ist-install/build/Text/XHtml/Strict/Elements.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
tml/dist-install/build/Text/XHtml/BlockTable.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
es/xhtml/dist-install/build/Text/XHtml/Table.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
s/xhtml/dist-install/build/Text/XHtml/Extras.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
es/xhtml/dist-install/build/Text/XHtml/Debug.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
all/build/Text/XHtml/Transitional/Attributes.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
install/build/Text/XHtml/Frameset/Attributes.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
stall/build/Text/XHtml/Transitional/Elements.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O  [...] 
t-install/build/Text/XHtml/Frameset/Elements.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O-package-name 
xhtml-3000.2.1 -hide-all-packages [...] tml/./Text/XHtml/Transitional.hs -o 
libraries/xhtml/dist-install/build/Text/XHtml/Transitional.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O-package-name 
xhtml-3000.2.1 -hide-all-packages [...] suf dyn_hc -c 
libraries/xhtml/./Text/XHtml.hs -o 
libraries/xhtml/dist-install/build/Text/XHtml.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O-package-name 
xhtml-3000.2.1 -hide-all-packages [...] aries/xhtml/./Text/XHtml/Frameset.hs -o 
libraries/xhtml/dist-install/build/Text/XHtml/Frameset.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O-package-name 
xhtml-3000.2.1 -hide-all-packages [...] libraries/xhtml/./Text/XHtml/Strict.hs 
-o libraries/xhtml/dist-install/build/Text/XHtml/Strict.dyn_o
inplace/bin/ghc-stage1 -fPIC -dynamic  -H32m -O-package-name 
xhtml-3000.2.1 -hide-all-packages -i -ilibraries/xhtml/. 
-ilibraries/xhtml/dist-install/build 
-ilibraries/xhtml/dist-install/build/autogen 
-Ilibraries/xhtml/dist-install/build 
-Ilibraries/xhtml/dist-install/build/autogen -Ilibraries/xhtml/.
-optP-include -optPlibraries/xhtml/dist-install/build/autogen/cabal_macros.h 
-package base-4.6.0.0  -Wall -XHaskell98 -XCPP -O2  -no-user-package-db 
-rtsopts  -odir libraries/xhtml/dist-install/build -hidir 
libraries/xhtml/dist-install/build -stubdir libraries/xhtml/dist-install/build 
-hisuf dyn_hi -osuf  dyn_o -hcsuf dyn_hc libraries/xhtml/dist-install [...] 
dist-install/build/Text/XHtml/Strict/Elements.dyn_o 
libraries/xhtml/dist-install/build/Text/XHtml/Frameset/Attributes.dyn_o 
libraries/xhtml/dist-install/build/Text/XHtml/Frameset/Elements.dyn_o 
libraries/xhtml/dist-install/build/Text/XHtml/Transitional/Attributes.dyn_o 
libraries/xhtml/dist-install/build/Text/XHtml/Transitional/Elements.dyn_o 
libraries/xhtml/dist-install/build/Text/XHtml/BlockTable.dyn_o 
libraries/xhtml/dist-install/build/Text/XHtml/Extras.dyn_o 
libraries/xhtml/dist-install/build/Text/XHtml/Internals.dyn_o   -shared 
-dynamic -dynload deploy   -no-auto-link-packages -o 
libraries/xhtml/dist-install/build/libHSxhtml-3000.2.1-ghc7.7.20121106.dylib
Warning: -rtsopts and -with-rtsopts have no effect with -shared.
Call hs_init_ghc() from your main() function to set these options.
inplace/bin/ghc-stage1 -o ghc/stage2/build/tmp/ghc-stage2 -static  -H32m -O   
 -hide-all-packages -i -ighc/. -ighc/stage2/build -ighc/stage2/build/autogen 
-Ighc/stage2/build -Ighc/stage2/build/autogen-optP-DGHCI -optP-include 
-optPghc/stage2/build/autogen/cabal_macros.h -package array-0.4.0.1 -package 
base-4.6.0.0 -package bytestring-0.10.1.0 -package directory-1.2.0.0 -package 
filepath-1.3.0.1 -package ghc-7.7.20121106 -package haskeline-0.7.0.3 -package 

[nightly] 05-Nov-2012 build of STABLE on x86_64-unknown-linux (cam-04-unx)

2012-11-05 Thread GHC Build Reports
Build description = STABLE on x86_64-unknown-linux (cam-04-unx)
Build location= /64playpen/simonmar/nightly/STABLE-cam-04-unx
Build config file = /home/simonmar/nightly/site/msrc/conf-STABLE-cam-04-unx

Nightly build started on cam-04-unx at Mon Nov 5 18:10:01 GMT 2012.
 checking out new source tree ... warning: Remote branch 
ghc-7.6 not found in upstream origin, using HEAD instead
ok.
 Building stage 1 compiler... ok.
GHC Version 7.6.1.20121101
 Building stage 2 compiler... ok.
 Building stage 3 compiler... ok.
 building source distribution ... ok.
 uploading source distribution... ok.
 building testsuite tools ... ok.
 running tests... ok (summary below).
 building compiler binary distribution... ok.
 uploading binary distribution... ok.
 running nofib (-rtsopts -O2) ... ok.
 running nofib (-rtsopts -O2 -fllvm)  ... ok.
 running nofib (-rtsopts -O2 -prof -auto-all) ... ok.
 running nofib (-rtsopts -O2 -prof -auto-all -fllvm)... ok.
 publishing logs  ... ok.
Logs  are at http://www.haskell.org/ghc/dist/stable/logs
Dists are at http://www.haskell.org/ghc/dist/stable/dist
Docs  are at http://www.haskell.org/ghc/dist/stable/docs
-
Respository hashes:
.|acaf240f56cf91c3828f25da1d18a91326499818
ghc-tarballs|18e0c37f8023abf469af991e2fc2d3b024319c27
libraries/Cabal|e7e7ce1029707a67d26e6dc29de11141734898e3
libraries/Win32|e13098aecd0489399435dbf8643e1db2272e1e02
libraries/array|8dcd15240a9c2ba142fcbd31f597b51cf2f560bf
libraries/base|a191908df094a9243ea3fe1de2fdb43a1d715de5
libraries/binary|2d31cea238d0d08885c457475fc354dbf2b88976
libraries/bytestring|87c5fc73a18d613d59c0325cb802c670eb026709
libraries/containers|a9b7224068ae60f73baacd5f76d2c27624d90120
libraries/deepseq|4821349305c2a73efacdd58d2ba485b07eb84eda
libraries/directory|ef17afe1bd44ae10ef413146e5ade8867cb05625
libraries/filepath|2d60d0dd5d8fc924420bb238902266929f4e2cfb
libraries/ghc-prim|03144fbee792555bfd6de6184228ebaeffed2896
libraries/haskeline|f4040ab5831866c260e03fc8601edf7e1ed77049
libraries/haskell2010|d7e33da36585c250cd0bfb45b518c95e44197f3c
libraries/haskell98|c5a0db5eb4ce6a3736bf4f5caac3ff465b3dbaf9
libraries/hoopl|293d339303097641e7f14a1c0365a3801a87918d
libraries/hpc|c1b783dbbb0ab917208655c53a0af5c7538c2a0b
libraries/integer-gmp|2d9eca147f5c8b6f390eca15e03b315f67f2df01
libraries/integer-simple|47737f6f16d891b743a3d02b0a016100fd3a36d1
libraries/old-locale|47542432234f6fc406a9abf5d3f94e43d9bd10f6
libraries/old-time|cf225c367e5490201a5b04b1b8cb322f6e230d46
libraries/pretty|0a22cc0b3a4f8db876c4019013a30bfd1c0dd9a2
libraries/process|0ab69a65edae8c1a34ecee3a97b3839c833985f2
libraries/template-haskell|db0b4de55926b0bc98717c92ba543bcf9b89d024
libraries/terminfo|579d2c324e69856ff8d1ea8b5036e30c920e1973
libraries/transformers|a59fb93860f84ccd44178dcbbb82cfea7e02cd07
libraries/unix|de870e706fe7bac6f013c910d14721dc9387e30e
libraries/utf8-string|73ca1b9def3f350ad28e55fcba077e6be3b67e93
libraries/xhtml|fb9e0bbb69e15873682a9f25d39652099a3ccac1
nofib|35be7d976116e83d9cdea7145bbefb117d4a771f
testsuite|0e35f1554c403f0434723ea440f7ee21a51bf828
utils/haddock|a20efa02eef21b70c2cc3183217b55ce470b2826
utils/hsc2hs|6054fab51f13d93ae4072d94d2a88b2faa4b9411
-
All done!
Nightly build finished successfully at Tue Nov 6 01:32:43 GMT 2012

- GHC Test summary -

OVERALL SUMMARY for test run started at Mon Nov  5 21:37:21 GMT 2012
3402 total tests, which gave rise to
   16613 test cases, of which
   0 caused framework failures
3563 were skipped

   12548 expected passes
 367 had missing libraries
 131 expected failures
   0 unexpected passes
   4 unexpected failures

Unexpected failures:
   perf/compiler  T6048 [stat not good enough] (optasm)
   perf/haddock   haddock.Cabal [stat not good enough] (normal)
   perf/haddock   haddock.base [stat not good enough] (normal)
   perf/haddock   haddock.compiler [stat not good enough] (normal)


Nightly run ended at Tue Nov 6 01:32:43 GMT 2012

___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


[nightly] 05-Nov-2012 build of HEAD on x86_64-unknown-linux (cam-04-unx)

2012-11-05 Thread GHC Build Reports
Build description = HEAD on x86_64-unknown-linux (cam-04-unx)
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 Mon Nov 5 18:00:01 GMT 2012.
 checking out new source tree ... ok.
 Building stage 1 compiler... ok.
GHC Version 7.7.20121105
 Building stage 2 compiler... ok.
 Building stage 3 compiler... ok.
 building source distribution ... ok.
 uploading source distribution... ok.
 building testsuite tools ... ok.
 running tests... ok (summary below).
 building compiler binary distribution... ok.
 uploading binary distribution... ok.
 running nofib (-rtsopts -O2) ... failed.
 running nofib (-rtsopts -O2 -fllvm)  ... failed.
 running nofib (-rtsopts -O2 -prof -auto-all) ... failed.
 running nofib (-rtsopts -O2 -prof -auto-all -fllvm)... failed.
 publishing logs  ... ok.
Logs  are at http://www.haskell.org/ghc/dist/current/logs
Dists are at http://www.haskell.org/ghc/dist/current/dist
Docs  are at http://www.haskell.org/ghc/dist/current/docs
-
Respository hashes:
.|9f68cceca364600e2ed8d8b4c9e2684eb83549fc
ghc-tarballs|18e0c37f8023abf469af991e2fc2d3b024319c27
libraries/Cabal|98e37cacc6c6769455d3307e344b3819d8b8e769
libraries/Win32|21335a30161c099da79ae9619c9782e5e32e4644
libraries/array|a24f9848dc1d19829d9b8f1335cc1d6662f95140
libraries/base|b500ee8ded3f449d4643c587bc276d3224334fd1
libraries/binary|2d31cea238d0d08885c457475fc354dbf2b88976
libraries/bytestring|87c5fc73a18d613d59c0325cb802c670eb026709
libraries/containers|a9b7224068ae60f73baacd5f76d2c27624d90120
libraries/deepseq|4821349305c2a73efacdd58d2ba485b07eb84eda
libraries/directory|ae1704201bdee2be29a3a6a59a42b240f6180353
libraries/dph|6bc882df4323e3ba35b2ab58b9ccfcf721cd1338
libraries/filepath|2d60d0dd5d8fc924420bb238902266929f4e2cfb
libraries/ghc-prim|03144fbee792555bfd6de6184228ebaeffed2896
libraries/haskeline|9ad00926f832f4e5f5d38c8fe84bfc85f4e8f728
libraries/haskell2010|d7e33da36585c250cd0bfb45b518c95e44197f3c
libraries/haskell98|8b70376392c992703034b8e3e96ec13ffb80a153
libraries/hoopl|038658b5605af91b6180a4a8d82cb1696d6421b4
libraries/hpc|61dfe710c350edef9e6239f72b18ff6125f1e129
libraries/integer-gmp|8c5a74fb612654b1459b4fee8d64d9f4427c704c
libraries/integer-simple|45a0642c712adfdc0a313601d720a4ee7a9cd48d
libraries/old-locale|47542432234f6fc406a9abf5d3f94e43d9bd10f6
libraries/old-time|cf225c367e5490201a5b04b1b8cb322f6e230d46
libraries/parallel|5331a63bca622486a2a04218ca702f22aa238956
libraries/pretty|ab7e8d91470bb94c9e184dffbec89d0aae116f9b
libraries/primitive|75c3379b6d76e914cc3c7ffd290b6b1cad7ea3e6
libraries/process|8d7a7c234e86aca4d54d55de92fb3a302fcf102b
libraries/random|69bfde219bab869729fdbe9c1496371f912bf41e
libraries/stm|4965c0139de186c8322cb48b52550acb4b8d9afa
libraries/template-haskell|d7b864b7ddb0e8c2f58d08dfd50e843eb8966b90
libraries/terminfo|579d2c324e69856ff8d1ea8b5036e30c920e1973
libraries/transformers|a59fb93860f84ccd44178dcbbb82cfea7e02cd07
libraries/unix|2ab2b4951e4525f34bc32876d40bc3f8fe9fe12d
libraries/vector|c4c5a740ec977a4300449bc85f4707ec641be923
libraries/xhtml|fb9e0bbb69e15873682a9f25d39652099a3ccac1
nofib|35be7d976116e83d9cdea7145bbefb117d4a771f
testsuite|9a5acacb5b799c356dd34060d1d510651a46e1bd
utils/haddock|1baca3e5fb206a60a326ca7b61419b91b4642d98
utils/hsc2hs|2f1d9d3009d6193cc664d85ec24de20ce0380db4
-
All done!
Nightly build finished successfully at Tue Nov 6 02:02:53 GMT 2012

- GHC Test summary -

OVERALL SUMMARY for test run started at Mon Nov  5 22:32:22 GMT 2012
3511 total tests, which gave rise to
   14034 test cases, of which
   1 caused framework failures
2932 were skipped

   10767 expected passes
 135 had missing libraries
 115 expected failures
  34 unexpected passes
  51 unexpected failures

Unexpected passes:
   arrows/should_failarrowfail001 (normal)
   codeGen/should_runT7319 (prof)
   profiling/should_run  5314 (prof,prof_hc_hb,prof_hb,prof_hd,prof_hy,prof_hr)
   profiling/should_run  T2552 (prof)
   profiling/should_run  T3001 (prof_hb)
   profiling/should_run  T3001-2 (prof_hb)
   profiling/should_run  T5363 (prof)
   profiling/should_run  T5559 (prof)
   profiling/should_run  T680 (prof)
   profiling/should_run  T949 (prof,prof_hc_hb,prof_hb,prof_hd,prof_hy,prof_hr)
   profiling/should_run  callstack001 (prof)
   profiling/should_run  callstack002 (prof)
   profiling/should_run  heapprof001 
(prof,prof_hc_hb,prof_hb,prof_hd,prof_hy,prof_hr)
   profiling/should_run  

Re: Proposal: New procedures for handling packages in a GHC tree

2012-11-05 Thread Manuel M T Chakravarty
Simon,

I wonder about the loss of changes that both you and Ian mentioned. We are 
using git submodules for Accelerate, and yes, you need to use them in the right 
way (as you do with the nested repos), but I don't think we ever lost anything 
due to submodules. How does that happen?

I also imagine that we might still like to keep the ./sync-all script to 
automate the use of submodules for the common use cases. (That should minimise 
the risk of mistakes.)

Manuel


Simon Marlow marlo...@gmail.com:
 On 05/11/2012 10:52, Manuel M T Chakravarty wrote:
 
 I agree with Geoff, submodules bring a certain complexity, but also
 advantages. We already pay for most complexities if we use submodules
 at all (such as having to use git submodule and remember to keep
 them in sync). If we pay already, why not reap the advantages for the
 rest of the repositories as well.
 
 For example, I often make changes in the main repo and the dph repo
 at the same time. It would be much more convenient if a branch would
 reflect the shared state of both (i.e., if dph would be a submodule
 of the main repo).
 
 In other words, if we use submodules at all (which is an idea I
 like), why add additional complexity by using different mechanisms
 for different subrepos? And why not reap the benefits of submodules
 across the board?
 
 I wouldn't object to trying that, if that's what people want.  I buy the 
 advantages of submodules, and I buy the argument that since we have some 
 submodules, it's probably easier to make them all submodules.
 
 I've been deliberately conservative in our adoption of submodules, because my 
 own experience wasn't good when I tried them - it's easy to get very 
 confused, and to lose changes.  The setup with separate repos has its 
 disadvantages, but at least we fully understand it, and it's under our 
 control.
 
 We're forced to use submodules for upstream packages, because we will 
 sometimes need to move from tracking one branch to another branch.  This 
 doesn't work well with separate repos, because GHC devs would need a git 
 reset when we switch to tracking a different branch.  Hence the move to 
 submodules.
 
 
 Cheers,
   Simon
 
 
 
 
 Manuel
 
 
 Geoffrey Mainland mainl...@apeiron.net:
 On 11/02/2012 08:10 PM, Ian Lynagh wrote:
 Hi all,
 
 We have been working on a new way in which we handle the repositories
 that make up a GHC tree, in order to makes the process smoother for all
 parties.
 
 Our proposal is here:
   http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions/Repositories
 
 Please have a look and let us know what you think, and especially
 whether you think there is anything that we've failed to take into
 account.
 
 Thanks
 Ian
 
 Hi Ian,
 
 Thanks for putting together the proposal.
 
 If we will now be using git submodules for external libraries, can we
 not just use submodules for all libraries? That way the GHC repo hash
 will uniquely specify everything needed to reproduce a build. Right now
 it is painful to do any sort of bisect operation---doing so requires
 digging through build logs to find fingerprint files for past builds.
 
 It looks like the proposal will leave us with the pain of fingerprints
 and add the additional pain of git submodules. I am very much in favor
 of just using submodules for everything.
 
 Geoff
 
 ___
 Cvs-ghc mailing list
 Cvs-ghc@haskell.org
 http://www.haskell.org/mailman/listinfo/cvs-ghc
 
 
 ___
 Cvs-ghc mailing list
 Cvs-ghc@haskell.org
 http://www.haskell.org/mailman/listinfo/cvs-ghc
 
 
 
 ___
 Cvs-ghc mailing list
 Cvs-ghc@haskell.org
 http://www.haskell.org/mailman/listinfo/cvs-ghc


___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


pgj (x86 FreeBSD HEAD), build 850, Success

2012-11-05 Thread Builder
pgj (x86 FreeBSD HEAD), build 850

Build succeeded
Details: http://darcs.haskell.org/ghcBuilder/builders/pgj/850.html

git clone| Success
create mk/build.mk   | Success
get subrepos | Success
repo versions| Success
touching clean-check files   | Success
setting version date | Success
booting  | Success
configuring  | Success
creating check-remove-before | Success
compiling| Success
creating check-remove-after  | Success
compiling testremove | Success
simulating clean | Success
checking clean   | Success
making bindist   | Success
publishing bindist   | Success
testing bindist  | Success
testing  | Success
testsuite summary| Success

Build succeeded
Details: http://darcs.haskell.org/ghcBuilder/builders/pgj/850.html

File not deleted:compiler/ghc.cabal.old
File not deleted:inplace
File not deleted:libraries/base/include/EventConfig.h
Deleted before file: libraries/time/include/HsTimeConfig.h
File not deleted:mk/config.mk.old
File not deleted:mk/project.mk.old
File not deleted:rts/libs.depend
File not deleted:rts/package.conf.inplace
File not deleted:rts/package.conf.inplace.raw

OVERALL SUMMARY for test run started at Tue Nov  6 03:38:10 UTC 2012
3488 total tests, which gave rise to
   11634 test cases, of which
   1 caused framework failures
8485 were skipped

2826 expected passes
  45 had missing libraries
  35 expected failures
  28 unexpected passes
 215 unexpected failures

Unexpected passes:
   ../../libraries/unix/tests  getEnvironment01 (normal)
   ../../libraries/unix/tests  getEnvironment02 (normal)
   ../../libraries/unix/tests  getGroupEntryForName (normal)
   ../../libraries/unix/tests  getUserEntryForName (normal)
   ../../libraries/unix/tests  queryfdoption01 (normal)
   arrows/should_fail  arrowfail001 (normal)
   codeGen/should_run  T7319 (prof)
   profiling/should_compile2410 (normal)
   profiling/should_compileprof001 (normal)
   profiling/should_compileprof002 (normal)
   profiling/should_run5314 (prof)
   profiling/should_runT2552 (prof)
   profiling/should_runT3001 (prof_hb)
   profiling/should_runT3001-2 (prof_hb)
   profiling/should_runT5363 (prof)
   profiling/should_runT5559 (prof)
   profiling/should_runT680 (prof)
   profiling/should_runT949 (prof)
   profiling/should_runcallstack001 (prof)
   profiling/should_runcallstack002 (prof)
   profiling/should_runheapprof001 (prof)
   profiling/should_runprof-doc-fib (prof)
   profiling/should_runprof-doc-last (prof)
   profiling/should_runprofinline001 (prof)
   profiling/should_runscc001 (prof)
   profiling/should_runscc002 (prof)
   profiling/should_runscc003 (prof)
   stranal/should_compile  newtype (optasm)

Unexpected failures:
   ../../libraries/base/tests/IO3307 [bad stderr] (normal)
   ../../libraries/base/tests/IOenvironment001 [bad stderr] (normal)
   ../../libraries/directory/tests  getPermissions001 [bad exit code] 
(normal)
   ../../libraries/hpc/tests/ghc_ghci   hpc_ghc_ghci [bad stderr] (normal)
   ../../libraries/process/testsprocess007 [bad stdout] (normal)
   ../../libraries/process/testsprocess009 [bad stdout] (normal)
   ../../libraries/unix/tests/libposix  posix005 [bad stdout] (normal)
   cabal1750 [bad stderr] (normal)
   cabalghcpkg01 [bad stderr] (normal)
   cabalghcpkg03 [bad stderr] (normal)
   cabalghcpkg05 [bad stderr] (normal)
   cabalghcpkg06 [bad stderr] (normal)
   cabalshadow [bad stderr] (normal)
   cabal/cabal01cabal01 [bad stderr] (normal)
   cabal/cabal04cabal04 [bad stderr] (normal)
   codeGen/should_compile   2578 [bad stderr] (normal)
   deSugar/should_compile   T5252 [bad stderr] (normal)
   deSugar/should_compile   T5252Take2 [bad stderr] (normal)
   deriving/should_fail drvfail016 [bad stderr] (normal)
   driver   2566 [bad stderr] (normal)
   driver   T3364 [bad stderr] (normal)
   driver   T5198 [bad stderr] (normal)
   driver   T5584 [bad stderr] (normal)
   driver   T706 [bad stderr] (normal)
   driver   T7060 [bad stderr] (normal)
   driver   driver011 [bad stderr] (normal)
   driver   driver012 [bad 

pgj2 (amd64 FreeBSD HEAD), build 853, Success

2012-11-05 Thread Builder
pgj2 (amd64 FreeBSD HEAD), build 853

Build succeeded
Details: http://darcs.haskell.org/ghcBuilder/builders/pgj2/853.html

git clone| Success
create mk/build.mk   | Success
get subrepos | Success
repo versions| Success
touching clean-check files   | Success
setting version date | Success
booting  | Success
configuring  | Success
creating check-remove-before | Success
compiling| Success
creating check-remove-after  | Success
compiling testremove | Success
simulating clean | Success
checking clean   | Success
making bindist   | Success
publishing bindist   | Success
testing bindist  | Success
testing  | Success
testsuite summary| Success

Build succeeded
Details: http://darcs.haskell.org/ghcBuilder/builders/pgj2/853.html

File not deleted:compiler/ghc.cabal.old
File not deleted:inplace
File not deleted:libraries/base/include/EventConfig.h
Deleted before file: libraries/time/include/HsTimeConfig.h
File not deleted:mk/config.mk.old
File not deleted:mk/project.mk.old
File not deleted:rts/libs.depend
File not deleted:rts/package.conf.inplace
File not deleted:rts/package.conf.inplace.raw

OVERALL SUMMARY for test run started at Tue Nov  6 06:07:40 UTC 2012
3488 total tests, which gave rise to
   11634 test cases, of which
   1 caused framework failures
8484 were skipped

2827 expected passes
  45 had missing libraries
  36 expected failures
  23 unexpected passes
 219 unexpected failures

Unexpected passes:
   arrows/should_failarrowfail001 (normal)
   codeGen/should_runT7319 (prof)
   profiling/should_compile  2410 (normal)
   profiling/should_compile  prof001 (normal)
   profiling/should_compile  prof002 (normal)
   profiling/should_run  5314 (prof)
   profiling/should_run  T2552 (prof)
   profiling/should_run  T3001 (prof_hb)
   profiling/should_run  T3001-2 (prof_hb)
   profiling/should_run  T5363 (prof)
   profiling/should_run  T5559 (prof)
   profiling/should_run  T680 (prof)
   profiling/should_run  T949 (prof)
   profiling/should_run  callstack001 (prof)
   profiling/should_run  callstack002 (prof)
   profiling/should_run  heapprof001 (prof)
   profiling/should_run  prof-doc-fib (prof)
   profiling/should_run  prof-doc-last (prof)
   profiling/should_run  profinline001 (prof)
   profiling/should_run  scc001 (prof)
   profiling/should_run  scc002 (prof)
   profiling/should_run  scc003 (prof)
   stranal/should_compilenewtype (optasm)

Unexpected failures:
   ../../libraries/base/tests/IO3307 [bad stderr] (normal)
   ../../libraries/base/tests/IOenvironment001 [bad stderr] (normal)
   ../../libraries/directory/tests  getPermissions001 [bad exit code] 
(normal)
   ../../libraries/hpc/tests/ghc_ghci   hpc_ghc_ghci [bad stderr] (normal)
   ../../libraries/process/testsprocess007 [bad stdout] (normal)
   ../../libraries/process/testsprocess009 [bad stdout] (normal)
   ../../libraries/unix/tests   fdReadBuf001 [bad exit code] (ghci)
   ../../libraries/unix/tests/libposix  posix005 [bad stdout] (normal)
   cabal1750 [bad stderr] (normal)
   cabalghcpkg01 [bad stderr] (normal)
   cabalghcpkg03 [bad stderr] (normal)
   cabalghcpkg05 [bad stderr] (normal)
   cabalghcpkg06 [bad stderr] (normal)
   cabalshadow [bad stderr] (normal)
   cabal/cabal01cabal01 [bad stderr] (normal)
   cabal/cabal04cabal04 [bad stderr] (normal)
   codeGen/should_compile   2578 [bad stderr] (normal)
   deSugar/should_compile   T5252 [bad stderr] (normal)
   deSugar/should_compile   T5252Take2 [bad stderr] (normal)
   deriving/should_fail drvfail016 [bad stderr] (normal)
   driver   2566 [bad stderr] (normal)
   driver   T3364 [bad stderr] (normal)
   driver   T5198 [bad stderr] (normal)
   driver   T5584 [bad stderr] (normal)
   driver   T706 [bad stderr] (normal)
   driver   T7060 [bad stderr] (normal)
   driver   driver011 [bad stderr] (normal)
   driver   driver012 [bad stderr] (normal)
   driver   driver013 [bad stderr] (normal)
   driver   driver014 [bad stderr] (normal)
   driver   driver015 [bad stderr] (normal)
   driver  

pgj-freebsd-i386-stable (x86 FreeBSD STABLE), build 713, Success

2012-11-05 Thread Builder
pgj-freebsd-i386-stable (x86 FreeBSD STABLE), build 713

Build succeeded
Details: 
http://darcs.haskell.org/ghcBuilder/builders/pgj-freebsd-i386-stable/713.html

git clone| Success
create mk/build.mk   | Success
get subrepos | Success
repo versions| Success
touching clean-check files   | Success
setting version date | Success
booting  | Success
configuring  | Success
creating check-remove-before | Success
compiling| Success
creating check-remove-after  | Success
compiling testremove | Success
simulating clean | Success
checking clean   | Success
making bindist   | Success
publishing bindist   | Success
testing bindist  | Success
testing  | Success
testsuite summary| Success

Build succeeded
Details: 
http://darcs.haskell.org/ghcBuilder/builders/pgj-freebsd-i386-stable/713.html

File not deleted:compiler/ghc.cabal.old
File not deleted:inplace
File not deleted:libraries/base/include/EventConfig.h
Deleted before file: libraries/time/include/HsTimeConfig.h
File not deleted:mk/config.mk.old
File not deleted:mk/project.mk.old
File not deleted:rts/libs.depend
File not deleted:rts/package.conf.inplace
File not deleted:rts/package.conf.inplace.raw

OVERALL SUMMARY for test run started at Tue Nov  6 06:10:06 UTC 2012
3402 total tests, which gave rise to
   14436 test cases, of which
   0 caused framework failures
   11364 were skipped

2968 expected passes
  48 had missing libraries
  34 expected failures
   5 unexpected passes
  17 unexpected failures

Unexpected passes:
   ../../libraries/unix/tests  getEnvironment01 (normal)
   ../../libraries/unix/tests  getEnvironment02 (normal)
   ../../libraries/unix/tests  getGroupEntryForName (normal)
   ../../libraries/unix/tests  getUserEntryForName (normal)
   ../../libraries/unix/tests  queryfdoption01 (normal)

Unexpected failures:
   ../../libraries/directory/tests  getPermissions001 [bad exit code] 
(normal)
   ../../libraries/process/testsprocess007 [bad stdout] (normal)
   ../../libraries/unix/tests/libposix  posix005 [bad stdout] (normal)
   driver   dynHelloWorld [bad exit code] (dyn)
   driver/recomp011 recomp011 [bad stdout] (normal)
   dynlibs  T3807 [bad exit code] (normal)
   dynlibs  T5373 [bad stdout] (normal)
   ghci/scripts T5979 [bad stderr] (ghci)
   perf/haddock haddock.Cabal [stat too good] (normal)
   perf/haddock haddock.base [stat too good] (normal)
   perf/haddock haddock.compiler [stat too good] 
(normal)
   plugins  plugins01 [bad exit code] (normal)
   plugins  plugins02 [stderr mismatch] (normal)
   plugins  plugins03 [stderr mismatch] (normal)
   rts  T2615 [bad stdout] (normal)
   typecheck/should_failT5300 [stderr mismatch] (normal)
   typecheck/should_failT5691 [stderr mismatch] (normal)

___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


[nightly] 05-Nov-2012 build of STABLE on i386-unknown-linux (cam-02-unx)

2012-11-05 Thread GHC Build Reports
Build description = STABLE on i386-unknown-linux (cam-02-unx)
Build location= /playpen/simonmar/nightly/STABLE
Build config file = /home/simonmar/nightly/site/msrc/conf-STABLE-cam-02-unx

Nightly build started on cam-02-unx at Mon Nov 5 18:10:02 GMT 2012.
 checking out new source tree ... warning: Remote branch 
ghc-7.6 not found in upstream origin, using HEAD instead
ok.
 Building stage 1 compiler... ok.
GHC Version 7.6.1.20121101
 Building stage 2 compiler... ok.
 Building stage 3 compiler... ok.
 building testsuite tools ... ok.
 running tests... ok (summary below).
 building compiler binary distribution... ok.
 uploading binary distribution... ok.
 running nofib (-rtsopts -O2) ... ok.
 running nofib (-rtsopts -O2 -fllvm)  ... ok.
 running nofib (-rtsopts -O2 -prof -auto-all) ... ok. (2 failures)
 running nofib (-rtsopts -O2 -prof -auto-all -fllvm)... ok.
 publishing logs  ... ssh: connect to host 
haskell.org port 22: No route to host
lost connection
failed.
Logs  are at http://www.haskell.org/ghc/dist/stable/logs
Dists are at http://www.haskell.org/ghc/dist/stable/dist
Docs  are at http://www.haskell.org/ghc/dist/stable/docs
-
Respository hashes:
.|acaf240f56cf91c3828f25da1d18a91326499818
ghc-tarballs|18e0c37f8023abf469af991e2fc2d3b024319c27
libraries/Cabal|e7e7ce1029707a67d26e6dc29de11141734898e3
libraries/Win32|e13098aecd0489399435dbf8643e1db2272e1e02
libraries/array|8dcd15240a9c2ba142fcbd31f597b51cf2f560bf
libraries/base|a191908df094a9243ea3fe1de2fdb43a1d715de5
libraries/binary|2d31cea238d0d08885c457475fc354dbf2b88976
libraries/bytestring|87c5fc73a18d613d59c0325cb802c670eb026709
libraries/containers|a9b7224068ae60f73baacd5f76d2c27624d90120
libraries/deepseq|4821349305c2a73efacdd58d2ba485b07eb84eda
libraries/directory|ef17afe1bd44ae10ef413146e5ade8867cb05625
libraries/filepath|2d60d0dd5d8fc924420bb238902266929f4e2cfb
libraries/ghc-prim|03144fbee792555bfd6de6184228ebaeffed2896
libraries/haskeline|f4040ab5831866c260e03fc8601edf7e1ed77049
libraries/haskell2010|d7e33da36585c250cd0bfb45b518c95e44197f3c
libraries/haskell98|c5a0db5eb4ce6a3736bf4f5caac3ff465b3dbaf9
libraries/hoopl|293d339303097641e7f14a1c0365a3801a87918d
libraries/hpc|c1b783dbbb0ab917208655c53a0af5c7538c2a0b
libraries/integer-gmp|2d9eca147f5c8b6f390eca15e03b315f67f2df01
libraries/integer-simple|47737f6f16d891b743a3d02b0a016100fd3a36d1
libraries/old-locale|47542432234f6fc406a9abf5d3f94e43d9bd10f6
libraries/old-time|cf225c367e5490201a5b04b1b8cb322f6e230d46
libraries/pretty|0a22cc0b3a4f8db876c4019013a30bfd1c0dd9a2
libraries/process|0ab69a65edae8c1a34ecee3a97b3839c833985f2
libraries/template-haskell|db0b4de55926b0bc98717c92ba543bcf9b89d024
libraries/terminfo|579d2c324e69856ff8d1ea8b5036e30c920e1973
libraries/transformers|a59fb93860f84ccd44178dcbbb82cfea7e02cd07
libraries/unix|de870e706fe7bac6f013c910d14721dc9387e30e
libraries/utf8-string|73ca1b9def3f350ad28e55fcba077e6be3b67e93
libraries/xhtml|fb9e0bbb69e15873682a9f25d39652099a3ccac1
nofib|35be7d976116e83d9cdea7145bbefb117d4a771f
testsuite|0e35f1554c403f0434723ea440f7ee21a51bf828
utils/haddock|a20efa02eef21b70c2cc3183217b55ce470b2826
utils/hsc2hs|6054fab51f13d93ae4072d94d2a88b2faa4b9411
-
All done!
Nightly build finished successfully at Tue Nov 6 07:05:28 GMT 2012

- GHC Test summary -

OVERALL SUMMARY for test run started at Mon Nov  5 23:47:46 GMT 2012
3402 total tests, which gave rise to
   16613 test cases, of which
   0 caused framework failures
3573 were skipped

   12545 expected passes
 367 had missing libraries
 126 expected failures
   0 unexpected passes
   2 unexpected failures

Unexpected failures:
   perf/haddock  haddock.Cabal [stat too good] (normal)
   perf/haddock  haddock.base [stat too good] (normal)


Nightly run ended at Tue Nov 6 07:05:28 GMT 2012

___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


[nightly] 05-Nov-2012 build of HEAD on i386-unknown-linux (cam-02-unx)

2012-11-05 Thread GHC Build Reports
Build description = HEAD on i386-unknown-linux (cam-02-unx)
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 Mon Nov 5 18:00:02 GMT 2012.
 checking out new source tree ... ok.
 Building stage 1 compiler... ok.
GHC Version 7.7.20121105
 Building stage 2 compiler... ok.
 Building stage 3 compiler... ok.
 building testsuite tools ... ok.
 running tests... ok (summary below).
 building compiler binary distribution... ok.
 uploading binary distribution... ok.
 running nofib (-rtsopts -O2) ... failed.
 running nofib (-rtsopts -O2 -fllvm)  ... failed.
 running nofib (-rtsopts -O2 -prof -auto-all) ... failed.
 running nofib (-rtsopts -O2 -prof -auto-all -fllvm)... failed.
 publishing logs  ... ssh: connect to host 
haskell.org port 22: No route to host
lost connection
failed.
Logs  are at http://www.haskell.org/ghc/dist/current/logs
Dists are at http://www.haskell.org/ghc/dist/current/dist
Docs  are at http://www.haskell.org/ghc/dist/current/docs
-
Respository hashes:
.|9f68cceca364600e2ed8d8b4c9e2684eb83549fc
ghc-tarballs|18e0c37f8023abf469af991e2fc2d3b024319c27
libraries/Cabal|98e37cacc6c6769455d3307e344b3819d8b8e769
libraries/Win32|21335a30161c099da79ae9619c9782e5e32e4644
libraries/array|a24f9848dc1d19829d9b8f1335cc1d6662f95140
libraries/base|b500ee8ded3f449d4643c587bc276d3224334fd1
libraries/binary|2d31cea238d0d08885c457475fc354dbf2b88976
libraries/bytestring|87c5fc73a18d613d59c0325cb802c670eb026709
libraries/containers|a9b7224068ae60f73baacd5f76d2c27624d90120
libraries/deepseq|4821349305c2a73efacdd58d2ba485b07eb84eda
libraries/directory|ae1704201bdee2be29a3a6a59a42b240f6180353
libraries/dph|6bc882df4323e3ba35b2ab58b9ccfcf721cd1338
libraries/filepath|2d60d0dd5d8fc924420bb238902266929f4e2cfb
libraries/ghc-prim|03144fbee792555bfd6de6184228ebaeffed2896
libraries/haskeline|9ad00926f832f4e5f5d38c8fe84bfc85f4e8f728
libraries/haskell2010|d7e33da36585c250cd0bfb45b518c95e44197f3c
libraries/haskell98|8b70376392c992703034b8e3e96ec13ffb80a153
libraries/hoopl|038658b5605af91b6180a4a8d82cb1696d6421b4
libraries/hpc|61dfe710c350edef9e6239f72b18ff6125f1e129
libraries/integer-gmp|8c5a74fb612654b1459b4fee8d64d9f4427c704c
libraries/integer-simple|45a0642c712adfdc0a313601d720a4ee7a9cd48d
libraries/old-locale|47542432234f6fc406a9abf5d3f94e43d9bd10f6
libraries/old-time|cf225c367e5490201a5b04b1b8cb322f6e230d46
libraries/parallel|5331a63bca622486a2a04218ca702f22aa238956
libraries/pretty|ab7e8d91470bb94c9e184dffbec89d0aae116f9b
libraries/primitive|75c3379b6d76e914cc3c7ffd290b6b1cad7ea3e6
libraries/process|8d7a7c234e86aca4d54d55de92fb3a302fcf102b
libraries/random|69bfde219bab869729fdbe9c1496371f912bf41e
libraries/stm|4965c0139de186c8322cb48b52550acb4b8d9afa
libraries/template-haskell|d7b864b7ddb0e8c2f58d08dfd50e843eb8966b90
libraries/terminfo|579d2c324e69856ff8d1ea8b5036e30c920e1973
libraries/transformers|a59fb93860f84ccd44178dcbbb82cfea7e02cd07
libraries/unix|2ab2b4951e4525f34bc32876d40bc3f8fe9fe12d
libraries/vector|c4c5a740ec977a4300449bc85f4707ec641be923
libraries/xhtml|fb9e0bbb69e15873682a9f25d39652099a3ccac1
nofib|35be7d976116e83d9cdea7145bbefb117d4a771f
testsuite|9a5acacb5b799c356dd34060d1d510651a46e1bd
utils/haddock|1baca3e5fb206a60a326ca7b61419b91b4642d98
utils/hsc2hs|2f1d9d3009d6193cc664d85ec24de20ce0380db4
-
All done!
Nightly build finished successfully at Tue Nov 6 07:08:18 GMT 2012

- GHC Test summary -

OVERALL SUMMARY for test run started at Tue Nov  6 01:06:20 GMT 2012
3511 total tests, which gave rise to
   14034 test cases, of which
   1 caused framework failures
2947 were skipped

   10753 expected passes
 135 had missing libraries
 104 expected failures
  39 unexpected passes
  56 unexpected failures

Unexpected passes:
   arrows/should_failarrowfail001 (normal)
   codeGen/should_runT7319 (prof)
   profiling/should_compile  2410 (normal)
   profiling/should_compile  prof001 (normal)
   profiling/should_compile  prof002 (normal)
   profiling/should_run  5314 
(prof,prof_hc_hb,prof_hb,prof_hd,prof_hy,prof_hr)
   profiling/should_run  T2552 (prof)
   profiling/should_run  T3001 (prof_hb)
   profiling/should_run  T3001-2 (prof_hb)
   profiling/should_run  T5363 (prof)
   profiling/should_run  T5559 (prof)
   profiling/should_run  T680 (prof)
   profiling/should_run  T949 
(prof,prof_hc_hb,prof_hb,prof_hd,prof_hy,prof_hr)
   profiling/should_run  callstack001 (prof)
   profiling/should_run  

simonmar-win32-stable (x86 Windows STABLE), build 562, Success

2012-11-05 Thread Builder
simonmar-win32-stable (x86 Windows STABLE), build 562

Build succeeded
Details: 
http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-stable/562.html

git clone| Success
create mk/build.mk   | Success
get subrepos | Success
repo versions| Success
touching clean-check files   | Success
setting version date | Success
booting  | Success
configuring  | Success
creating check-remove-before | Success
compiling| Success
creating check-remove-after  | Success
compiling testremove | Success
simulating clean | Success
checking clean   | Success
making bindist   | Success
publishing bindist   | Success
testing bindist  | Success
publishing docs  | Success
testing  | Success
testsuite summary| Success

Build succeeded
Details: 
http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-stable/562.html

File not deleted:compiler\\ghc.cabal.old
File not deleted:driver\\ghc\\dist
File not deleted:driver\\ghc\\dist\\build
File not deleted:driver\\ghc\\dist\\build\\.depend.c_asm
File not deleted:driver\\ghc\\dist\\build\\ghc.o
File not deleted:driver\\ghc\\dist\\build\\tmp
File not deleted:driver\\ghc\\dist\\build\\tmp\\ghc-7.6.1.20121105
File not deleted:driver\\ghc\\dist\\utils
File not deleted:driver\\ghc\\dist\\utils\\cwrapper.o
File not deleted:driver\\ghc\\dist\\utils\\getLocation.o
File not deleted:driver\\ghci\\dist
File not deleted:driver\\ghci\\dist\\build
File not deleted:driver\\ghci\\dist\\build\\.depend.c_asm
File not deleted:driver\\ghci\\dist\\build\\ghci.o
File not deleted:driver\\ghci\\dist\\build\\tmp
File not deleted:driver\\ghci\\dist\\build\\tmp\\ghci.exe
File not deleted:driver\\ghci\\dist\\utils
File not deleted:driver\\ghci\\dist\\utils\\cwrapper.o
File not deleted:driver\\ghci\\dist\\utils\\getLocation.o
File not deleted:driver\\ghci\\ghci.res
File not deleted:driver\\haddock\\dist
File not deleted:driver\\haddock\\dist\\build
File not deleted:driver\\haddock\\dist\\build\\.depend.c_asm
File not deleted:driver\\haddock\\dist\\build\\haddock.o
File not deleted:driver\\haddock\\dist\\build\\tmp
File not deleted:driver\\haddock\\dist\\build\\tmp\\haddock-7.6.1.20121105
File not deleted:driver\\haddock\\dist\\utils
File not deleted:driver\\haddock\\dist\\utils\\cwrapper.o
File not deleted:driver\\haddock\\dist\\utils\\getLocation.o
File not deleted:libraries\\base\\include\\EventConfig.h
File not deleted:libraries\\integer-gmp\\cbits\\mkGmpDerivedConstants.exe
Deleted before file: libraries\\time\\include\\HsTimeConfig.h
File not deleted:mk\\config.mk.old
File not deleted:mk\\project.mk.old
File not deleted:rts\\libs.depend
File not deleted:rts\\package.conf.inplace
File not deleted:rts\\package.conf.inplace.raw
File not deleted:utils\\touchy\\dist
File not deleted:utils\\touchy\\dist\\build
File not deleted:utils\\touchy\\dist\\build\\.depend.c_asm
File not deleted:utils\\touchy\\dist\\build\\tmp
File not deleted:utils\\touchy\\dist\\build\\tmp\\touchy.exe
File not deleted:utils\\touchy\\dist\\build\\touchy.o

OVERALL SUMMARY for test run started at now
3378 total tests, which gave rise to
   14224 test cases, of which
   0 caused framework failures
2919 were skipped

   10766 expected passes
 343 had missing libraries
 142 expected failures
   1 unexpected passes
  53 unexpected failures

Unexpected passes:
   numeric/should_run  numrun012 (ghci)

Unexpected failures:
   ../../libraries/base/tests  stableptr003 [bad stdout] (dyn)
   ../../libraries/directory/tests T4113 [bad stdout] 
(normal,hpc,optasm,profasm,threaded1,threaded2,dyn,profthreaded)
   ../../libraries/directory/tests T4113 [bad stdout or stderr] (ghci)
   ../../libraries/hpc/tests/function  subdir/tough2 [bad stdout] 
(normal,hpc,optasm,threaded1,threaded2,dyn)
   ../../libraries/hpc/tests/function  tough [bad stdout] 
(normal,hpc,optasm,profasm,threaded1,threaded2,dyn,profthreaded)
   ../../libraries/hpc/tests/simplehpc001 [bad stdout] 
(normal,hpc,optasm,profasm,threaded1,threaded2,dyn,profthreaded)
   ../../libraries/process/tests   3994 [bad exit code] (threaded1)
   driver  5313 [exit code non-0] (dyn)
   driver  shared001 [bad stderr] (normal)
   dynlibs T4464 [bad stderr] (normal)
   ghc-api/dynCompileExpr  dynCompileExpr [exit code non-0] (dyn)
   ghci/scriptsT5979 [bad stderr] (ghci)
   ghci/scriptsT6106 [bad stderr] (ghci)
   perf/compiler   T3294 [stat too good] (normal)
   perf/haddock

pgj-freebsd-amd64-stable (amd64 FreeBSD STABLE), build 725, Success

2012-11-05 Thread Builder
pgj-freebsd-amd64-stable (amd64 FreeBSD STABLE), build 725

Build succeeded
Details: 
http://darcs.haskell.org/ghcBuilder/builders/pgj-freebsd-amd64-stable/725.html

git clone| Success
create mk/build.mk   | Success
get subrepos | Success
repo versions| Success
touching clean-check files   | Success
setting version date | Success
booting  | Success
configuring  | Success
creating check-remove-before | Success
compiling| Success
creating check-remove-after  | Success
compiling testremove | Success
simulating clean | Success
checking clean   | Success
making bindist   | Success
publishing bindist   | Success
testing bindist  | Success
testing  | Success
testsuite summary| Success

Build succeeded
Details: 
http://darcs.haskell.org/ghcBuilder/builders/pgj-freebsd-amd64-stable/725.html

File not deleted:compiler/ghc.cabal.old
File not deleted:inplace
File not deleted:libraries/base/include/EventConfig.h
Deleted before file: libraries/time/include/HsTimeConfig.h
File not deleted:mk/config.mk.old
File not deleted:mk/project.mk.old
File not deleted:rts/libs.depend
File not deleted:rts/package.conf.inplace
File not deleted:rts/package.conf.inplace.raw

OVERALL SUMMARY for test run started at Tue Nov  6 07:19:43 UTC 2012
3402 total tests, which gave rise to
   14436 test cases, of which
   0 caused framework failures
   11363 were skipped

2972 expected passes
  48 had missing libraries
  35 expected failures
   0 unexpected passes
  18 unexpected failures

Unexpected failures:
   ../../libraries/directory/tests  getPermissions001 [bad exit code] 
(normal)
   ../../libraries/process/testsprocess007 [bad stdout] (normal)
   ../../libraries/unix/tests/libposix  posix005 [bad stdout] (normal)
   driver   dynHelloWorld [bad exit code] (dyn)
   driver/recomp011 recomp011 [bad stdout] (normal)
   dynlibs  T3807 [bad exit code] (normal)
   dynlibs  T5373 [bad stdout] (normal)
   ghci/scripts T5979 [bad stderr] (ghci)
   perf/compilerT6048 [stat not good enough] (optasm)
   perf/haddock haddock.Cabal [stat not good enough] 
(normal)
   perf/haddock haddock.base [stat not good enough] 
(normal)
   perf/haddock haddock.compiler [stat not good enough] 
(normal)
   plugins  plugins01 [bad exit code] (normal)
   plugins  plugins02 [stderr mismatch] (normal)
   plugins  plugins03 [stderr mismatch] (normal)
   rts  T2615 [bad stdout] (normal)
   typecheck/should_failT5300 [stderr mismatch] (normal)
   typecheck/should_failT5691 [stderr mismatch] (normal)

___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc