pgj2 (amd64 FreeBSD HEAD), build 849, Failure

2012-11-02 Thread Builder
pgj2 (amd64 FreeBSD HEAD), build 849

Build failed
Details: http://darcs.haskell.org/ghcBuilder/builders/pgj2/849.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  | Failure: Just (ExitFailure 2)

Build failed
Details: http://darcs.haskell.org/ghcBuilder/builders/pgj2/849.html

+++ ./rts/T7037.run.stderr  2012-11-02 06:27:51.259295593 +
@@ -0,0 +1,2 @@
+[: /usr/home/ghc-builder/work/builder/tempbuild/build/bindisttest/install   
dir/lib/ghc-7.7.20121102/base-4.6.0.0: unexpected operator
+[: /usr/home/ghc-builder/work/builder/tempbuild/build/bindisttest/install   
dir/lib/ghc-7.7.20121102/base-4.6.0.0: unexpected operator
*** unexpected failure for T7037(normal)
= 7087(normal) 3137 of 3486 [22, 189, 1]
cd ./rts  
'/usr/home/ghc-builder/work/builder/tempbuild/build/bindisttest/install   
dir/bin/ghc' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output 
-no-user-package-db -rtsopts -fno-ghci-history -o 7087 7087.hs
7087.comp.stderr 21
cd ./rts  ./7087/dev/null 7087.run.stdout 27087.run.stderr
= T7160(normal) 3138 of 3486 [22, 189, 1]
cd ./rts  
'/usr/home/ghc-builder/work/builder/tempbuild/build/bindisttest/install   
dir/bin/ghc' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output 
-no-user-package-db -rtsopts -fno-ghci-history -o T7160 T7160.hs
T7160.comp.stderr 21
cd ./rts  ./T7160/dev/null T7160.run.stdout 2T7160.run.stderr
Wrong exit code (expected 0 , actual 139 )
Stdout:

Stderr:
Traceback (most recent call last):
  File ../driver/runtests.py, line 264, in module
oneTest()
  File 
/usr/home/ghc-builder/work/builder/tempbuild/build/testsuite/driver/testlib.py,
 line 595, in lambda
thisTest = lambda : runTest(myTestOpts, name, func, args)
  File 
/usr/home/ghc-builder/work/builder/tempbuild/build/testsuite/driver/testlib.py,
 line 578, in runTest
test_common_work (name, opts, func, args)
  File 
/usr/home/ghc-builder/work/builder/tempbuild/build/testsuite/driver/testlib.py,
 line 727, in test_common_work
framework_fail(name, 'runTest', 'Unhandled exception: ' + str(e))
  File 
/usr/home/ghc-builder/work/builder/tempbuild/build/testsuite/driver/testlib.py,
 line 862, in framework_fail
print '*** framework failure for', full_name, reason, ':'
IOError: [Errno 32] Broken pipe
gmake[2]: *** [test] Error 1
gmake[1]: *** [fast] Broken pipe: 13
gmake: *** [test] Broken pipe: 13
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
___
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc


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

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

Build succeeded
Details: 
http://darcs.haskell.org/ghcBuilder/builders/pgj-freebsd-i386-stable/709.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/709.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 Fri Nov  2 05:56:49 UTC 2012
3402 total tests, which gave rise to
   14436 test cases, of which
   0 caused framework failures
   11364 were skipped

2967 expected passes
  48 had missing libraries
  34 expected failures
   5 unexpected passes
  18 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)
   ghci/scripts T6106 [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] 01-Nov-2012 build of STABLE on i386-unknown-linux (cam-02-unx)

2012-11-02 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 Thu Nov 1 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.20121027
 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:
.|fe7c8fcdbbdc203a5ff09a7ec1cd1e1a7e792da8
ghc-tarballs|18e0c37f8023abf469af991e2fc2d3b024319c27
libraries/Cabal|e7e7ce1029707a67d26e6dc29de11141734898e3
libraries/Win32|e13098aecd0489399435dbf8643e1db2272e1e02
libraries/array|8dcd15240a9c2ba142fcbd31f597b51cf2f560bf
libraries/base|875e6b73b1727c0190336d010cfd6e38d0c85af0
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|a9fd026bf8bab265edc29124e7f82a0e063582c5
utils/haddock|a20efa02eef21b70c2cc3183217b55ce470b2826
utils/hsc2hs|6054fab51f13d93ae4072d94d2a88b2faa4b9411
-
All done!
Nightly build finished successfully at Fri Nov 2 07:05:01 GMT 2012

- GHC Test summary -

OVERALL SUMMARY for test run started at Thu Nov  1 23:47:01 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 not good enough] (normal)
   perf/haddock  haddock.base [stat not good enough] (normal)


Nightly run ended at Fri Nov 2 07:05:01 GMT 2012

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


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

2012-11-02 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 Thu Nov 1 18:00:01 GMT 2012.
 checking out new source tree ... ok.
 Building stage 1 compiler... ok.
GHC Version 7.7.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) ... 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:
.|d163845c7cade0892db4325e430a84a350ff147c
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|c5b08f245903dae1d41168c73202a4e9e4b12207
utils/haddock|1baca3e5fb206a60a326ca7b61419b91b4642d98
utils/hsc2hs|2f1d9d3009d6193cc664d85ec24de20ce0380db4
-
All done!
Nightly build finished successfully at Fri Nov 2 07:16:17 GMT 2012

- GHC Test summary -

OVERALL SUMMARY for test run started at Fri Nov  2 01:08:55 GMT 2012
3510 total tests, which gave rise to
   14026 test cases, of which
   1 caused framework failures
2947 were skipped

   10748 expected passes
 135 had missing libraries
 103 expected failures
  39 unexpected passes
  54 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 558, Success

2012-11-02 Thread Builder
simonmar-win32-stable (x86 Windows STABLE), build 558

Build succeeded
Details: 
http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-stable/558.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/558.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.20121101
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.20121101
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)
   cabal   ghcpkg01 [bad stderr] (normal)
   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 721, Success

2012-11-02 Thread Builder
pgj-freebsd-amd64-stable (amd64 FreeBSD STABLE), build 721

Build succeeded
Details: 
http://darcs.haskell.org/ghcBuilder/builders/pgj-freebsd-amd64-stable/721.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/721.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 Fri Nov  2 07:11:54 UTC 2012
3402 total tests, which gave rise to
   14436 test cases, of which
   0 caused framework failures
   11363 were skipped

2971 expected passes
  48 had missing libraries
  35 expected failures
   0 unexpected passes
  19 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)
   ghci/scripts T6106 [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


Re: [commit: ghc] master: Fix dependency generation when GhcLibWays = dyn p (11aa737)

2012-11-02 Thread Simon Marlow

On 01/11/2012 20:32, Ian Lynagh wrote:


If we want to stick with the current approach, then wouldn't it make
more sense for ghc -M to ignore any way flags and osuf/hisuf, and for
e.g. ghc -M -dep-suffix '' -dep-suffix p_ ... to generate rules for
.o/.hi and .p_o/.p_hi?


Yup, that's fine by me.

Cheers,
Simon



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


[commit: ghc] master: Whitespace only in typecheck/TcRnTypes.lhs (0a7c4ef)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/0a7c4efe8b7ce459979c0cb18d60910539347f9c

---

commit 0a7c4efe8b7ce459979c0cb18d60910539347f9c
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 13:59:23 2012 +

Whitespace only in typecheck/TcRnTypes.lhs

 compiler/typecheck/TcRnTypes.lhs |  579 +++---
 1 files changed, 286 insertions(+), 293 deletions(-)


Diff suppressed because of size. To see it, use:

git show 0a7c4efe8b7ce459979c0cb18d60910539347f9c

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


[commit: ghc] master: Don't use a unique in the stable name of a foreign export (f416129)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

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

---

commit f4161297ed2a830c4bdcaa1b825ad12581a6caf9
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 13:41:02 2012 +

Don't use a unique in the stable name of a foreign export

These names end up in the ABI, and hence part of the ABI hash.
We don't want uniques in them so that we don't get spurious ABI
hash changes.

---

 compiler/deSugar/DsForeign.lhs |   19 +--
 compiler/typecheck/TcEnv.lhs   |   25 +++--
 2 files changed, 28 insertions(+), 16 deletions(-)

diff --git a/compiler/deSugar/DsForeign.lhs b/compiler/deSugar/DsForeign.lhs
index 42aa740..59124e3 100644
--- a/compiler/deSugar/DsForeign.lhs
+++ b/compiler/deSugar/DsForeign.lhs
@@ -28,6 +28,7 @@ import Name
 import Type
 import TyCon
 import Coercion
+import TcEnv
 import TcType
 
 import CmmExpr
@@ -44,12 +45,10 @@ import FastString
 import DynFlags
 import Platform
 import Config
-import Encoding
 import OrdList
 import Pair
 import Util
 
-import Data.IORef
 import Data.Maybe
 import Data.List
 \end{code}
@@ -213,20 +212,12 @@ dsFCall fn_id co fcall mDeclHeader = do
 (fcall', cDoc) -
   case fcall of
   CCall (CCallSpec (StaticTarget cName mPackageId isFun) CApiConv 
safety) -
-   do let wrapperRef = nextWrapperNum dflags
-  wrapperNum - liftIO $ readIORef wrapperRef
-  liftIO $ writeIORef wrapperRef (wrapperNum + 1)
-  thisMod - getModuleDs
+   do thisMod - getModuleDs
   let pkg = packageIdString  (modulePackageId thisMod)
   mod = moduleNameString (moduleName  thisMod)
-  wrapperNameComponents = [ghc_wrapper,
-   show wrapperNum,
-   pkg, mod,
-   unpackFS cName]
-  wrapperName = mkFastString
-  $ zEncodeString
-  $ intercalate : wrapperNameComponents
-  fcall' = CCall (CCallSpec (StaticTarget wrapperName 
mPackageId True) CApiConv safety)
+  wrapperNameComponents = [pkg, mod, unpackFS cName]
+  wrapperName - mkWrapperName ghc_wrapper 
wrapperNameComponents
+  let fcall' = CCall (CCallSpec (StaticTarget wrapperName 
mPackageId True) CApiConv safety)
   c = includes
$$ fun_proto + braces (cRet  semi)
   includes = vcat [ text #include   ftext h  text 

diff --git a/compiler/typecheck/TcEnv.lhs b/compiler/typecheck/TcEnv.lhs
index f3fc936..175ab9c 100644
--- a/compiler/typecheck/TcEnv.lhs
+++ b/compiler/typecheck/TcEnv.lhs
@@ -50,7 +50,8 @@ module TcEnv(
 
 -- New Ids
 newLocalName, newDFunName, newFamInstTyConName, newFamInstAxiomName,
-mkStableIdFromString, mkStableIdFromName
+mkStableIdFromString, mkStableIdFromName,
+mkWrapperName
   ) where
 
 #include HsVersions.h
@@ -80,10 +81,15 @@ import HscTypes
 import DynFlags
 import SrcLoc
 import BasicTypes
+import Module
 import Outputable
+import Encoding
 import FastString
 import ListSetOps
 import Util
+
+import Data.IORef
+import Data.List
 \end{code}
 
 
@@ -750,7 +756,10 @@ mkStableIdFromString :: String - Type - SrcSpan - 
(OccName - OccName) - TcM
 mkStableIdFromString str sig_ty loc occ_wrapper = do
 uniq - newUnique
 mod - getModule
-let occ = mkVarOcc (str ++ '_' : show uniq) :: OccName
+name - mkWrapperName stable [packageIdString  (modulePackageId mod),
+moduleNameString (moduleName  mod),
+str]
+let occ = mkVarOccFS name :: OccName
 gnm = mkExternalName uniq mod (occ_wrapper occ) loc :: Name
 id  = mkExportedLocalId gnm sig_ty :: Id
 return id
@@ -759,6 +768,18 @@ mkStableIdFromName :: Name - Type - SrcSpan - (OccName 
- OccName) - TcM TcI
 mkStableIdFromName nm = mkStableIdFromString (getOccString nm)
 \end{code}
 
+\begin{code}
+mkWrapperName :: (MonadIO m, HasDynFlags m)
+  = String - [String] - m FastString
+mkWrapperName what components
+= do dflags - getDynFlags
+ let wrapperRef = nextWrapperNum dflags
+ wrapperNum - liftIO $ readIORef wrapperRef
+ liftIO $ writeIORef wrapperRef (wrapperNum + 1)
+ let allComponents = what : show wrapperNum : components
+ return $ mkFastString $ zEncodeString $ intercalate : allComponents
+\end{code}
+
 %
 %*   

[commit: ghc] master: Refactoring: Make a HasModule class for getModule (fb31191)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

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

---

commit fb31191a76b0b623e11aab8486643bc175a8712e
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 14:47:38 2012 +

Refactoring: Make a HasModule class for getModule

 compiler/basicTypes/Module.lhs  |8 
 compiler/deSugar/DsForeign.lhs  |6 +-
 compiler/deSugar/DsMonad.lhs|3 +++
 compiler/rename/RnBinds.lhs |1 +
 compiler/rename/RnEnv.lhs   |2 +-
 compiler/rename/RnExpr.lhs  |1 +
 compiler/simplCore/CoreMonad.lhs|8 
 compiler/typecheck/TcBinds.lhs  |1 +
 compiler/typecheck/TcEnv.lhs|   17 +
 compiler/typecheck/TcRnMonad.lhs|3 ---
 compiler/typecheck/TcRnTypes.lhs|6 ++
 compiler/typecheck/TcTyClsDecls.lhs |1 +
 compiler/utils/IOEnv.hs |5 +
 13 files changed, 41 insertions(+), 21 deletions(-)


Diff suppressed because of size. To see it, use:

git show fb31191a76b0b623e11aab8486643bc175a8712e

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


[commit: ghc] master: Remove unused function fmapM_maybe (d868491)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

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

---

commit d8684910b18203e0d15d3c77374382f5841e991d
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 14:51:13 2012 +

Remove unused function fmapM_maybe

---

 compiler/utils/Maybes.lhs |9 -
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/compiler/utils/Maybes.lhs b/compiler/utils/Maybes.lhs
index e6fab9b..210a7b9 100644
--- a/compiler/utils/Maybes.lhs
+++ b/compiler/utils/Maybes.lhs
@@ -17,7 +17,6 @@ module Maybes (
 MaybeErr(..), -- Instance of Monad
 failME, isSuccess,
 
-fmapM_maybe,
 orElse,
 mapCatMaybes,
 allMaybes,
@@ -85,14 +84,6 @@ orElse :: Maybe a - a - a
 Nothing  `orElse` y = y
 \end{code}
 
-\begin{code}
-fmapM_maybe :: Monad m = (a - m b) - Maybe a - m (Maybe b)
-fmapM_maybe _ Nothing = return Nothing
-fmapM_maybe f (Just x) = do
-x' - f x
-return $ Just x'
-\end{code}
-
 %
 %* *
 \subsection[MaybeT type]{The @MaybeT@ monad transformer}



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


[commit: ghc] master: Don't put uniqs in ghc wrapper function names; part of #4012 (095b9bf)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/095b9bf4ed418c43216cfca2ae271c143e555f1d

---

commit 095b9bf4ed418c43216cfca2ae271c143e555f1d
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 03:45:15 2012 +

Don't put uniqs in ghc wrapper function names; part of #4012

The wrapper functions can end up in interface files, and thus are
part of the ABI hash. But uniqs easily change for no good reason
when recompiling, which can lead to an ABI hash needlessly changing.

---

 compiler/deSugar/DsForeign.lhs |   20 +++-
 compiler/main/DynFlags.hs  |   11 ---
 2 files changed, 23 insertions(+), 8 deletions(-)

diff --git a/compiler/deSugar/DsForeign.lhs b/compiler/deSugar/DsForeign.lhs
index 0cf4b97..42aa740 100644
--- a/compiler/deSugar/DsForeign.lhs
+++ b/compiler/deSugar/DsForeign.lhs
@@ -44,10 +44,12 @@ import FastString
 import DynFlags
 import Platform
 import Config
+import Encoding
 import OrdList
 import Pair
 import Util
 
+import Data.IORef
 import Data.Maybe
 import Data.List
 \end{code}
@@ -211,11 +213,19 @@ dsFCall fn_id co fcall mDeclHeader = do
 (fcall', cDoc) -
   case fcall of
   CCall (CCallSpec (StaticTarget cName mPackageId isFun) CApiConv 
safety) -
-   do fcall_uniq - newUnique
-  let wrapperName = mkFastString ghc_wrapper_ `appendFS`
-mkFastString (showPpr dflags fcall_uniq) 
`appendFS`
-mkFastString _ `appendFS`
-cName
+   do let wrapperRef = nextWrapperNum dflags
+  wrapperNum - liftIO $ readIORef wrapperRef
+  liftIO $ writeIORef wrapperRef (wrapperNum + 1)
+  thisMod - getModuleDs
+  let pkg = packageIdString  (modulePackageId thisMod)
+  mod = moduleNameString (moduleName  thisMod)
+  wrapperNameComponents = [ghc_wrapper,
+   show wrapperNum,
+   pkg, mod,
+   unpackFS cName]
+  wrapperName = mkFastString
+  $ zEncodeString
+  $ intercalate : wrapperNameComponents
   fcall' = CCall (CCallSpec (StaticTarget wrapperName 
mPackageId True) CApiConv safety)
   c = includes
$$ fun_proto + braces (cRet  semi)
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 4810ce8..07ebd40 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -690,7 +690,9 @@ data DynFlags = DynFlags {
 
   interactivePrint  :: Maybe String,
 
-  llvmVersion   :: IORef (Int)
+  llvmVersion   :: IORef (Int),
+
+  nextWrapperNum:: IORef Int
  }
 
 class HasDynFlags m where
@@ -,12 +1113,14 @@ initDynFlags dflags = do
  refFilesToNotIntermediateClean - newIORef []
  refGeneratedDumps - newIORef Set.empty
  refLlvmVersion - newIORef 28
+ wrapperNum - newIORef 0
  return dflags{
 filesToClean   = refFilesToClean,
 dirsToClean= refDirsToClean,
 filesToNotIntermediateClean = refFilesToNotIntermediateClean,
 generatedDumps = refGeneratedDumps,
-llvmVersion= refLlvmVersion
+llvmVersion= refLlvmVersion,
+nextWrapperNum = wrapperNum
 }
 
 -- | The normal 'DynFlags'. Note that they is not suitable for use in this form
@@ -1239,7 +1243,8 @@ defaultDynFlags mySettings =
 traceLevel = 1,
 profAuto = NoProfAuto,
 llvmVersion = panic defaultDynFlags: No llvmVersion,
-interactivePrint = Nothing
+interactivePrint = Nothing,
+nextWrapperNum = panic defaultDynFlags: No nextWrapperNum
   }
 
 defaultWays :: Settings - [Way]



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


[commit: ghc] master: Whitespace only in basicTypes/Name.lhs (7c4157a)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/7c4157a53e6dbdecdb859f287f6a31f4e32e0dad

---

commit 7c4157a53e6dbdecdb859f287f6a31f4e32e0dad
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 12:48:43 2012 +

Whitespace only in basicTypes/Name.lhs

 compiler/basicTypes/Name.lhs |  227 --
 1 files changed, 110 insertions(+), 117 deletions(-)


Diff suppressed because of size. To see it, use:

git show 7c4157a53e6dbdecdb859f287f6a31f4e32e0dad

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


[commit: testsuite] master: Don't enable the static way if we don't have vanilla libraries (64c5faf)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/64c5faf46c6fa63189dfda8d81f63c754b0cfd48

---

commit 64c5faf46c6fa63189dfda8d81f63c754b0cfd48
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 12:19:42 2012 +

Don't enable the static way if we don't have vanilla libraries

---

 config/ghc |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/ghc b/config/ghc
index 099134d..98a7c33 100644
--- a/config/ghc
+++ b/config/ghc
@@ -59,7 +59,7 @@ if (ghc_with_dynamic_rts == 1):
 config.have_shared_libs = True
 
 config.ghc_dynamic_by_default = ghc_dynamic_by_default
-if (ghc_dynamic_by_default):
+if ghc_dynamic_by_default and ghc_with_vanilla == 1:
 config.run_ways.append('static')
 else:
 if (ghc_with_dynamic_rts == 1):



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


[commit: testsuite] master: Add a test for CAPI wrapper functions (4a118b7)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/4a118b7b8cfb35cdb1bcf85b45fe21fb7af7ad87

---

commit 4a118b7b8cfb35cdb1bcf85b45fe21fb7af7ad87
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 12:20:09 2012 +

Add a test for CAPI wrapper functions

---

 tests/ffi/should_run/T4012.hs |   10 ++
 tests/ffi/should_run/T4012.stdout |3 +++
 tests/ffi/should_run/T4012_A.hs   |   14 ++
 tests/ffi/should_run/T4012_B.hs   |   11 +++
 tests/ffi/should_run/all.T|7 +++
 5 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/tests/ffi/should_run/T4012.hs b/tests/ffi/should_run/T4012.hs
new file mode 100644
index 000..d22b3c3
--- /dev/null
+++ b/tests/ffi/should_run/T4012.hs
@@ -0,0 +1,10 @@
+
+module Main (main) where
+
+import T4012_A
+import T4012_B
+
+main :: IO ()
+main = do a
+  b
+
diff --git a/tests/ffi/should_run/T4012.stdout 
b/tests/ffi/should_run/T4012.stdout
new file mode 100644
index 000..f54f234
--- /dev/null
+++ b/tests/ffi/should_run/T4012.stdout
@@ -0,0 +1,3 @@
+Double: 1.50
+Int: 4
+Int: 9
diff --git a/tests/ffi/should_run/T4012_A.hs b/tests/ffi/should_run/T4012_A.hs
new file mode 100644
index 000..f750c6c
--- /dev/null
+++ b/tests/ffi/should_run/T4012_A.hs
@@ -0,0 +1,14 @@
+
+{-# LANGUAGE CApiFFI #-}
+
+module T4012_A where
+
+import Foreign.C
+
+a :: IO ()
+a = do withCString Double: %f\n $ \fstr - printfa1 fstr 1.5
+   withCString Int: %d\n$ \fstr - printfa2 fstr 4
+
+foreign import capi stdio.h printf printfa1 :: CString - CDouble - IO ()
+foreign import capi stdio.h printf printfa2 :: CString - CInt - IO ()
+
diff --git a/tests/ffi/should_run/T4012_B.hs b/tests/ffi/should_run/T4012_B.hs
new file mode 100644
index 000..a68c18d
--- /dev/null
+++ b/tests/ffi/should_run/T4012_B.hs
@@ -0,0 +1,11 @@
+
+{-# LANGUAGE CApiFFI #-}
+
+module T4012_B where
+
+import Foreign.C
+
+b :: IO ()
+b = withCString Int: %d\n $ \fstr - printfb fstr 9
+
+foreign import capi stdio.h printf printfb :: CString - CInt - IO ()
diff --git a/tests/ffi/should_run/all.T b/tests/ffi/should_run/all.T
index b448905..e170db0 100644
--- a/tests/ffi/should_run/all.T
+++ b/tests/ffi/should_run/all.T
@@ -212,3 +212,10 @@ test('capi_value',
  ['capi_value_c.c'])
 
 test('7170', exit_code(1), compile_and_run, [''])
+
+test('T4012',
+ [extra_clean(['T4012_A.hi', 'T4012_A.o', 'T4012_B.hi', 'T4012_B.o']),
+  expect_broken_for(7388, ['ghci'])],
+ multimod_compile_and_run,
+ ['T4012', ''])
+



___
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-02 Thread Karel Gardas


Hello Team,

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.


Thanks!
Karel

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
+
  enum Mode { Gen_Haskell_Type, Gen_Haskell_Value, Gen_Haskell_Wrappers, 
Gen_Haskell_Exports, Gen_Header } mode;

  #define str(a,b) #a _ #b



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


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

2012-11-02 Thread Builder
simonmar-win32-head (x86 Windows HEAD), build 672

Build failed
Details: 
http://darcs.haskell.org/ghcBuilder/builders/simonmar-win32-head/672.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/simonmar-win32-head/672.html

inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
/Cabal/dist-install/build/Distribution/Verbosity.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
dist-install/build/Distribution/Compat/Exception.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
/dist-install/build/Distribution/Compat/TempFile.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
/dist-install/build/Distribution/Compat/CopyFile.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
s/Win32/dist-install/build/System/Win32/DebugApi.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
cess/dist-install/build/System/Process/Internals.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
raries/process/dist-install/build/System/Process.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...]  
libraries/process/dist-install/build/System/Cmd.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
dist-install/build/Data/ByteString/Lazy/Internal.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
testring/dist-install/build/Data/ByteString/Lazy.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
ng/dist-install/build/Data/ByteString/Lazy/Char8.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
bal/dist-install/build/Distribution/Simple/Utils.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] -o 
libraries/base/dist-install/build/System/Info.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
l/Cabal/dist-install/build/Distribution/Compiler.o
inplace/bin/ghc-stage1.exe -static-H32m -O   [...] 
Cabal/dist-install/build/Distribution/ParseUtils.o
inplace/bin/ghc-stage1.exe -static-H32m -O-package-name 
Cabal-1.17.0  -hide-all-packag [...] talledPackageInfo.hs -o 
libraries/Cabal/Cabal/dist-install/build/Distribution/InstalledPackageInfo.o
inplace/bin/ghc-stage1.exe -static-H32m -O-package-name 
ghc-7.7.20121102  -hide-all-packages  -i -icompiler/basicTypes -icompiler/cmm 
-icompil [...] compiler/stage2/build -stubdir compiler/stage2/build  -hisuf hi 
-osuf  o -hcsuf hc -c compiler/main/PackageConfig.hs -o 
compiler/stage2/build/PackageConfig.o
inplace/bin/ghc-stage1.exe -static-H32m -O-package-name 
ghc-7.7.20121102  -hide-all-packages  -i -icompiler/basicTypes -icompiler/cmm 
-icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar -icompiler/ghci 
-icompiler/hsSyn -icompiler/iface -icompiler/llvmGen -icompiler/main 
-icompiler/nativeGen -icompiler/parser -icompiler/prelude -icompiler/profiling 
-icompiler/rename -icompiler/simplCore -icompiler/simplStg 
-icompiler/specialise -icompiler/stgSyn -icompiler/stranal -icompiler/typecheck 
-icompiler/types -icompiler/utils -icompiler/vectorise  -icompiler/stage2/build 
-icompiler/stage2/build/autogen  -Icompiler/stage2/build 
-Icompiler/stage2/build/autogen  -Icompiler/../rts/dist/build -Icompiler/stage2 
-Icompiler/. -Icompiler/parser -Icompiler/utils  -optP-DGHCI  -optP-include 
-optPcompiler/stage2/build/autogen/cabal_macros.h  -package Cabal-1.17.0 
-package Win32-2.3.0.0 -package array-0.4.0.1 -package base-4.6.0.0 -package 
bin-package-db-0.0.0.0 -package bytestring-0.10.1.0 -package containers-0.5.0.0 
-package directory-1.2.0.0 -package filepath-1.3.0.1 -package hoopl-3.9.0.0 
-package hpc-0.6.0.0 -package process-1.1.0.2 -package template-haskell-2.8.0.0 
-package time-1.4.0.1-Wall -fno-warn-name-shadowing -XHaskell98 
-XNondecreasingIndentation -XCPP -XMagicHash -XUnboxedTuples -XPatternGuards 
-XForeignFunctionInterface -XEmptyDataDecls -XTypeSynonymInstances 
-XMultiParamTypeClasses -XFlexibleInstances -XRankNTypes -XScopedTypeVariables 
-XDeriveDataTypeable -XBangPatterns -DGHCI_TABLES_NEXT_TO_CODE -DSTAGE=2 -O2
-no-user-package-db -rtsopts-odir compiler/stage2/build -hidir 
compiler/stage2/build -stubdir compiler/stage2/build  -hisuf hi -osuf  o -hcsuf 
hc -c compiler/main/DynFlags.hs -o compiler/stage2/build/DynFlags.o
inplace/bin/ghc-stage1.exe -static-H32m -O-hide-all-packages  -i 
-iutils/mkUserGuidePart/.  -iutils/mkUserGuidePart/dist/build 
-iutils/mkUserGuidePart/dist/build/autogen  -Iutils/mkUserGuidePart/dist/build 
-Iutils/mkUserGuidePart/dist/build/autogen  -optP-include 
-optPutils/mkUserGuidePart/dist/build/autogen/cabal_macros.h  -package 
base-4.6.0.0 -package 

Proposal: New procedures for handling packages in a GHC tree

2012-11-02 Thread Ian Lynagh

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
-- 
Ian Lynagh, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/

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


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

2012-11-02 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 Fri Nov 2 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) ... ok. (91 failures)
-
Respository hashes:
.|d8684910b18203e0d15d3c77374382f5841e991d
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|4a118b7b8cfb35cdb1bcf85b45fe21fb7af7ad87
utils/haddock|1baca3e5fb206a60a326ca7b61419b91b4642d98
utils/hsc2hs|2f1d9d3009d6193cc664d85ec24de20ce0380db4
-
All done!
Nightly build finished successfully at Fri Nov 2 20:35:06 GMT 2012



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



inplace/bin/ghc-stage1 -optc-Wall -optc-Wextra -optc-Wstrict-prototypes 
-optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline 
-optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn 
-optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes 
-optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header 
-optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build 
-optc-DCOMPILING_RTS -optc-DNOSMP -optc-fno-strict-aliasing -optc-fno-common 
-optc-fomit-frame-pointer -optc-DRtsWay=\rts_thr_p\ -static 
-optc-DTHREADED_RTS -prof  -H32m -O  -Iincludes -Iincludes/dist 
-Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header 
-Irts -Irts/dist/build -DCOMPILING_RTS -package-name rts -optc-DNOSMP  
-dcmm-lint  -i -irts -irts/dist/build -irts/dist/build/autogen 
-Irts/dist/build -Irts/dist/build/autogen-optc-O2 -O2-c 
rts/posix/GetEnv.c -o rts/dist/build/posix/GetEnv.thr_p_o
inplace/bin/ghc-stage1 -optc-Wall -optc-Wextra -optc-Wstrict-prototypes 
-optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline 
-optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn 
-optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes 
-optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header 
-optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build 
-optc-DCOMPILING_RTS -optc-DNOSMP 

[commit: ghc] master: Change how dependency generation works; fixes #7381 (af072fc)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

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

---

commit af072fc35d8dbe7962e62700da052593e999c0ef
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 21:42:33 2012 +

Change how dependency generation works; fixes #7381

We now do the initial dependency generation for the vanilla way
regardless of what way flags and hisuf/osuf flags are given. This
makes it easier to generate the right dependency info in the end.

---

 compiler/main/DriverMkDepend.hs |   41 ++
 ghc.mk  |5 
 ghc/ghc.mk  |2 +-
 rules/build-dependencies.mk |   12 +--
 4 files changed, 31 insertions(+), 29 deletions(-)

diff --git a/compiler/main/DriverMkDepend.hs b/compiler/main/DriverMkDepend.hs
index 953b2c4..7355e31 100644
--- a/compiler/main/DriverMkDepend.hs
+++ b/compiler/main/DriverMkDepend.hs
@@ -51,7 +51,25 @@ import Data.Maybe   ( isJust )
 doMkDependHS :: GhcMonad m = [FilePath] - m ()
 doMkDependHS srcs = do
 -- Initialisation
-dflags - GHC.getSessionDynFlags
+dflags0 - GHC.getSessionDynFlags
+
+-- We kludge things a bit for dependency generation. Rather than
+-- generating dependencies for each way separately, we generate
+-- them once and then duplicate them for each way's osuf/hisuf.
+-- We therefore do the initial dependency generation with an empty
+-- way and .o/.hi extensions, regardless of any flags that might
+-- be specified.
+let dflags = dflags0 {
+ ways = [],
+ buildTag = mkBuildTag [],
+ hiSuf = hi,
+ objectSuf = o
+ }
+_ - GHC.setSessionDynFlags dflags
+
+when (null (depSuffixes dflags)) $
+ghcError (ProgramError You must specify at least one -dep-suffix)
+
 files - liftIO $ beginMkDependHS dflags
 
 -- Do the downsweep to find all the modules
@@ -263,24 +281,13 @@ writeDependency root hdl targets dep
 -
 insertSuffixes
 :: FilePath -- Original filename;   e.g. foo.o
-- [String] -- Extra suffices   e.g. [x,y]
-- [FilePath]   -- Zapped filenames e.g. [foo.o, foo.x_o, 
foo.y_o]
+- [String] -- Suffix prefixes  e.g. [x_, y_]
+- [FilePath]   -- Zapped filenames e.g. [foo.x_o, foo.y_o]
 -- Note that that the extra bit gets inserted *before* the old suffix
--- We assume the old suffix contains no dots, so we can strip it with 
removeSuffix
-
--- NOTE: we used to have this comment
--- In order to construct hi files with alternate suffixes, we
--- now have to find the basename of the hi file.  This is
--- difficult because we can't just split the hi filename
--- at the last dot - the hisuf might have dots in it.  So we
--- check whether the hi filename ends in hisuf, and if it does,
--- we strip off hisuf, otherwise we strip everything after the
--- last dot.
--- But I'm not sure we care about hisufs with dots in them.
--- Lots of other things will break first!
-
+-- We assume the old suffix contains no dots, so we know where to
+-- split it
 insertSuffixes file_name extras
-  = file_name : [ basename . (extra ++ _ ++ suffix) | extra - extras ]
+  = [ basename . (extra ++ suffix) | extra - extras ]
   where
 (basename, suffix) = case splitExtension file_name of
  -- Drop the . from the extension
diff --git a/ghc.mk b/ghc.mk
index c1544ad..6c0a29a 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -138,6 +138,11 @@ ifeq $(findstring v,$(GhcLibWays)) 
 $(error v is not in $$(GhcLibWays), and $$(DYNAMIC_BY_DEFAULT) is not YES)
 endif
 endif
+ifeq $(GhcProfiled) YES
+ifeq $(findstring p,$(GhcLibWays)) 
+$(error p is not in $$(GhcLibWays), and $$(GhcProfiled) is YES)
+endif
+endif
 endif
 
 ifeq $(phase) 
diff --git a/ghc/ghc.mk b/ghc/ghc.mk
index ac8ce66..809756e 100644
--- a/ghc/ghc.mk
+++ b/ghc/ghc.mk
@@ -64,7 +64,7 @@ ghc_stage3_MORE_HC_OPTS += -threaded
 endif
 
 ifeq $(GhcProfiled) YES
-ghc_stage2_MORE_HC_OPTS += -prof
+ghc_stage2_PROGRAM_WAY = p
 endif
 
 ghc_stage1_PROG = ghc-stage1$(exeext)
diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk
index 8442801..4a4f563 100644
--- a/rules/build-dependencies.mk
+++ b/rules/build-dependencies.mk
@@ -22,18 +22,8 @@ $1_$2_depfile_c_asm = $$($1_$2_depfile_base).c_asm
 
 $1_$2_C_FILES_DEPS = $$(filter-out $$($1_$2_C_FILES_NODEPS),$$($1_$2_C_FILES))
 
-$1_$2_MKDEPENDHS_FLAGS = -dep-makefile $$($1_$2_depfile_haskell).tmp 
$$(foreach way,$$(filter-out 

[commit: ghc] master: Remove an -fno-cse flag (f2b953f)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

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

---

commit f2b953f76d1a6f7832179e539c69e47f715daf81
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 22:15:58 2012 +

Remove an -fno-cse flag

There are no longer any GLOBAL_VARs in main/DriverMkDepend.hs.

---

 compiler/main/DriverMkDepend.hs |3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/compiler/main/DriverMkDepend.hs b/compiler/main/DriverMkDepend.hs
index 7355e31..a2413d5 100644
--- a/compiler/main/DriverMkDepend.hs
+++ b/compiler/main/DriverMkDepend.hs
@@ -1,6 +1,3 @@
-{-# OPTIONS -fno-cse #-}
--- -fno-cse is needed for GLOBAL_VAR's to behave properly
-
 -
 --
 -- Makefile Dependency Generation



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


[commit: ghc] master: Whitespace only in basicTypes/Id.lhs (ede3bd9)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

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

---

commit ede3bd92710492012eb823e027097a5078133f76
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 22:38:27 2012 +

Whitespace only in basicTypes/Id.lhs

 compiler/basicTypes/Id.lhs |  271 +--
 1 files changed, 132 insertions(+), 139 deletions(-)


Diff suppressed because of size. To see it, use:

git show ede3bd92710492012eb823e027097a5078133f76

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


[commit: ghc] master: Avoid putting uniqs in specconstr rules; part of #4012 (ba38f99)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

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

---

commit ba38f995d6312aa0cfe15873c8e5e9475e03f19c
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 22:54:12 2012 +

Avoid putting uniqs in specconstr rules; part of #4012

There's no need to have the uniq in the rule, but its presence can
cause spurious ABI changes.

---

 compiler/specialise/SpecConstr.lhs |   10 +++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/compiler/specialise/SpecConstr.lhs 
b/compiler/specialise/SpecConstr.lhs
index 60c40e8..7a01ee2 100644
--- a/compiler/specialise/SpecConstr.lhs
+++ b/compiler/specialise/SpecConstr.lhs
@@ -1378,9 +1378,13 @@ spec_one env fn arg_bndrs body (call_pat@(qvars, pats), 
rule_number)
(arg_bndrs `zip` pats)
   fn_name= idName fn
   fn_loc = nameSrcSpan fn_name
-  spec_occ   = mkSpecOcc (nameOccName fn_name)
-  dflags = sc_dflags env
-  rule_name  = mkFastString (SC: ++ showSDoc dflags (ppr fn  
int rule_number))
+  fn_occ = nameOccName fn_name
+  spec_occ   = mkSpecOcc fn_occ
+  -- We use fn_occ rather than fn in the rule_name string
+  -- as we don't want the uniq to end up in the rule, and
+  -- hence in the ABI, as that can cause spurious ABI
+  -- changes (#4012).
+  rule_name  = mkFastString (SC: ++ occNameString fn_occ ++ show 
rule_number)
   spec_name  = mkInternalName spec_uniq spec_occ fn_loc
 --  ; pprTrace {spec_one (ppr (sc_count env) + ppr fn + ppr pats + 
text -- + ppr spec_name) $
 --return ()



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


[commit: ghc] master: Whitespace only in specialise/SpecConstr.lhs (bc4580c)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

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

---

commit bc4580c309ce57b642faf9702f8a2891e7313bb9
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 22:29:50 2012 +

Whitespace only in specialise/SpecConstr.lhs

 compiler/specialise/SpecConstr.lhs | 1061 ++--
 1 files changed, 527 insertions(+), 534 deletions(-)


Diff suppressed because of size. To see it, use:

git show bc4580c309ce57b642faf9702f8a2891e7313bb9

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


[commit: testsuite] master: Follow changes in dependency generation (9a5acac)

2012-11-02 Thread Ian Lynagh
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

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

---

commit 9a5acacb5b799c356dd34060d1d510651a46e1bd
Author: Ian Lynagh i...@well-typed.com
Date:   Fri Nov 2 23:37:19 2012 +

Follow changes in dependency generation

---

 tests/driver/Makefile |6 +++---
 tests/driver/bug1677/Makefile |2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/driver/Makefile b/tests/driver/Makefile
index 60da032..0f50be5 100644
--- a/tests/driver/Makefile
+++ b/tests/driver/Makefile
@@ -402,11 +402,11 @@ DEPFILE200 = depend200
 # modify an existing dependency file.
 test200:
$(RM) $(DEPFILE200)
-   $(TEST_HC) $(TEST_HC_OPTS_NO_RECOMP) -M -dep-makefile $(DEPFILE200) 
D200
+   $(TEST_HC) $(TEST_HC_OPTS_NO_RECOMP) -M -dep-suffix  -dep-makefile 
$(DEPFILE200) D200
test -f $(DEPFILE200)
-   $(TEST_HC) $(TEST_HC_OPTS_NO_RECOMP) -M -dep-makefile $(DEPFILE200) 
D200 B200.C A200
+   $(TEST_HC) $(TEST_HC_OPTS_NO_RECOMP) -M -dep-suffix  -dep-makefile 
$(DEPFILE200) D200 B200.C A200
test -f $(DEPFILE200)
-   $(TEST_HC) $(TEST_HC_OPTS_NO_RECOMP) -M -dep-makefile $(DEPFILE200) 
D200.hs B200/C.hs A200.hs
+   $(TEST_HC) $(TEST_HC_OPTS_NO_RECOMP) -M -dep-suffix  -dep-makefile 
$(DEPFILE200) D200.hs B200/C.hs A200.hs
test -f $(DEPFILE200)
 
 # -
diff --git a/tests/driver/bug1677/Makefile b/tests/driver/bug1677/Makefile
index 3c6f0c8..f65dd1f 100644
--- a/tests/driver/bug1677/Makefile
+++ b/tests/driver/bug1677/Makefile
@@ -3,5 +3,5 @@ include $(TOP)/mk/boilerplate.mk
 include $(TOP)/mk/test.mk
 
 bug1677 :
-   '$(TEST_HC)' $(TEST_HC_OPTS) -M Foo.hs Bar.hs || true
+   '$(TEST_HC)' $(TEST_HC_OPTS) -M -dep-suffix  Foo.hs Bar.hs || true
 



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


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

2012-11-02 Thread Builder
am-deb7-64 (HEAD), build 230

Build succeeded
Details: http://darcs.haskell.org/ghcBuilder/builders/am-deb7-64/230.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/230.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 Fri Nov  2 09:55:06 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 not good enough] (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


RE: [commit: ghc] master: Don't put uniqs in ghc wrapper function names; part of #4012 (095b9bf)

2012-11-02 Thread Simon Peyton-Jones
Ian,

Thank for doing this.  But please (as always) could you add add Note 
[Generating fresh names for ccall wrapper], refer to it in the code, and write 
a comment that explains why we are going to this trouble. (Refer to the Trac 
ticket.)

I do this EVERY time I fix a bug.  It saves me lots of time later.  I commend 
it to you.

Simon

|  -Original Message-
|  From: cvs-ghc-boun...@haskell.org [mailto:cvs-ghc-boun...@haskell.org] On
|  Behalf Of Ian Lynagh
|  Sent: 02 November 2012 16:09
|  To: cvs-ghc@haskell.org
|  Subject: [commit: ghc] master: Don't put uniqs in ghc wrapper function names;
|  part of #4012 (095b9bf)
|  
|  Repository : ssh://darcs.haskell.org//srv/darcs/ghc
|  
|  On branch  : master
|  
|  http://hackage.haskell.org/trac/ghc/changeset/095b9bf4ed418c43216cfca2ae271
|  c143e555f1d
|  
|  ---
|  
|  commit 095b9bf4ed418c43216cfca2ae271c143e555f1d
|  Author: Ian Lynagh i...@well-typed.com
|  Date:   Fri Nov 2 03:45:15 2012 +
|  
|  Don't put uniqs in ghc wrapper function names; part of #4012
|  
|  The wrapper functions can end up in interface files, and thus are
|  part of the ABI hash. But uniqs easily change for no good reason
|  when recompiling, which can lead to an ABI hash needlessly changing.
|  
|  ---
|  
|   compiler/deSugar/DsForeign.lhs |   20 +++-
|   compiler/main/DynFlags.hs  |   11 ---
|   2 files changed, 23 insertions(+), 8 deletions(-)
|  
|  diff --git a/compiler/deSugar/DsForeign.lhs b/compiler/deSugar/DsForeign.lhs
|  index 0cf4b97..42aa740 100644
|  --- a/compiler/deSugar/DsForeign.lhs
|  +++ b/compiler/deSugar/DsForeign.lhs
|  @@ -44,10 +44,12 @@ import FastString
|   import DynFlags
|   import Platform
|   import Config
|  +import Encoding
|   import OrdList
|   import Pair
|   import Util
|  
|  +import Data.IORef
|   import Data.Maybe
|   import Data.List
|   \end{code}
|  @@ -211,11 +213,19 @@ dsFCall fn_id co fcall mDeclHeader = do
|   (fcall', cDoc) -
| case fcall of
| CCall (CCallSpec (StaticTarget cName mPackageId isFun) 
CApiConv
|  safety) -
|  -   do fcall_uniq - newUnique
|  -  let wrapperName = mkFastString ghc_wrapper_ `appendFS`
|  -mkFastString (showPpr dflags 
fcall_uniq) `appendFS`
|  -mkFastString _ `appendFS`
|  -cName
|  +   do let wrapperRef = nextWrapperNum dflags
|  +  wrapperNum - liftIO $ readIORef wrapperRef
|  +  liftIO $ writeIORef wrapperRef (wrapperNum + 1)
|  +  thisMod - getModuleDs
|  +  let pkg = packageIdString  (modulePackageId thisMod)
|  +  mod = moduleNameString (moduleName  thisMod)
|  +  wrapperNameComponents = [ghc_wrapper,
|  +   show wrapperNum,
|  +   pkg, mod,
|  +   unpackFS cName]
|  +  wrapperName = mkFastString
|  +  $ zEncodeString
|  +  $ intercalate : wrapperNameComponents
| fcall' = CCall (CCallSpec (StaticTarget wrapperName 
mPackageId
|  True) CApiConv safety)
| c = includes
|  $$ fun_proto + braces (cRet  semi)
|  diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
|  index 4810ce8..07ebd40 100644
|  --- a/compiler/main/DynFlags.hs
|  +++ b/compiler/main/DynFlags.hs
|  @@ -690,7 +690,9 @@ data DynFlags = DynFlags {
|  
| interactivePrint  :: Maybe String,
|  
|  -  llvmVersion   :: IORef (Int)
|  +  llvmVersion   :: IORef (Int),
|  +
|  +  nextWrapperNum:: IORef Int
|}
|  
|   class HasDynFlags m where
|  @@ -,12 +1113,14 @@ initDynFlags dflags = do
|refFilesToNotIntermediateClean - newIORef []
|refGeneratedDumps - newIORef Set.empty
|refLlvmVersion - newIORef 28
|  + wrapperNum - newIORef 0
|return dflags{
|   filesToClean   = refFilesToClean,
|   dirsToClean= refDirsToClean,
|   filesToNotIntermediateClean = refFilesToNotIntermediateClean,
|   generatedDumps = refGeneratedDumps,
|  -llvmVersion= refLlvmVersion
|  +llvmVersion= refLlvmVersion,
|  +nextWrapperNum = wrapperNum
|   }
|  
|   -- | The normal 'DynFlags'. Note that they is not suitable for use in this 
form
|  @@ -1239,7 +1243,8 @@ defaultDynFlags mySettings =
|   traceLevel = 1,
|   profAuto = NoProfAuto,
|   llvmVersion = panic defaultDynFlags: No llvmVersion,
|  -interactivePrint = Nothing
|  +interactivePrint = 

Re: build problems with BuildFlavour = prof

2012-11-02 Thread Ian Lynagh
On Thu, Nov 01, 2012 at 03:14:49PM +0100, Daniel Fischer wrote:
 
  2) Is there a bug in the build process for BuildFlavour =
  prof?
 
 Seems so, I get the same error.

I've fixed this.


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-02 Thread Ian Lynagh

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.

 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


tn23 (x86 OSX HEAD), build 744, Failure

2012-11-02 Thread Builder
tn23 (x86 OSX HEAD), build 744

Build failed
Details: http://darcs.haskell.org/ghcBuilder/builders/tn23/744.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/744.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.20121103.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.20121103 -package haskeline-0.7.0.3 -package 

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

2012-11-02 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 Fri Nov 2 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.20121027
 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:
.|fe7c8fcdbbdc203a5ff09a7ec1cd1e1a7e792da8
ghc-tarballs|18e0c37f8023abf469af991e2fc2d3b024319c27
libraries/Cabal|e7e7ce1029707a67d26e6dc29de11141734898e3
libraries/Win32|e13098aecd0489399435dbf8643e1db2272e1e02
libraries/array|8dcd15240a9c2ba142fcbd31f597b51cf2f560bf
libraries/base|875e6b73b1727c0190336d010cfd6e38d0c85af0
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|a9fd026bf8bab265edc29124e7f82a0e063582c5
utils/haddock|a20efa02eef21b70c2cc3183217b55ce470b2826
utils/hsc2hs|6054fab51f13d93ae4072d94d2a88b2faa4b9411
-
All done!
Nightly build finished successfully at Sat Nov 3 01:35:09 GMT 2012

- GHC Test summary -

OVERALL SUMMARY for test run started at Fri Nov  2 21:39:09 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 Sat Nov 3 01:35:09 GMT 2012

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


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

2012-11-02 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 Fri Nov 2 18:00:01 GMT 2012.
 checking out new source tree ... ok.
 Building stage 1 compiler... ok.
GHC Version 7.7.20121102
 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. (91 failures)
 running nofib (-rtsopts -O2 -prof -auto-all -fllvm)... ok. (91 failures)
 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:
.|d8684910b18203e0d15d3c77374382f5841e991d
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|4a118b7b8cfb35cdb1bcf85b45fe21fb7af7ad87
utils/haddock|1baca3e5fb206a60a326ca7b61419b91b4642d98
utils/hsc2hs|2f1d9d3009d6193cc664d85ec24de20ce0380db4
-
All done!
Nightly build finished successfully at Sat Nov 3 02:23:33 GMT 2012

- GHC Test summary -

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

   10766 expected passes
 135 had missing libraries
 115 expected failures
  34 unexpected passes
  52 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)
   

pgj (x86 FreeBSD HEAD), build 847, Success

2012-11-02 Thread Builder
pgj (x86 FreeBSD HEAD), build 847

Build succeeded
Details: http://darcs.haskell.org/ghcBuilder/builders/pgj/847.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/847.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 04:34:09 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