From ghcbuild at microsoft.com Mon Jan 1 00:34:01 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Mon Jan 1 00:34:02 2007 Subject: [nightly] 31-Dec-2006 build of HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Message-ID: <20070101053401.1C88C324019@www.haskell.org> Build description = HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Build location = /playpen/ghc/nightly/HEAD-cam-02-unx Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-02-unx Nightly build started on cam-02-unx at Sun Dec 31 19:30:00 GMT 2006. **** checking out new source tree ... ok. (GHC Version 6.7.20061231) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... ok. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. (8 failures) **** running nofib (-O -fasm) ... ok. (8 failures) **** running nofib (-O -prof -auto-all) ... ok. (10 failures) **** running nofib (-O -prof -auto-all -fasm) ... ok. (10 failures) **** running nofib (-fasm) ... ok. (8 failures) **** running nofib (-unreg) ... ok. (4 failures) **** publishing distfiles ... **** ghc-6.7.20061231-src.tar.bz2 (try 0) ... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20061231-src.tar.bz2 (try 1) ... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20061231-src.tar.bz2 (try 2) ... ok. **** ghc-6.7.20061231-src-extralibs.tar.bz2 (try 0)... ok. **** ghc-6.7.20061231-i386-unknown-linux.tar.bz2 (try 0)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20061231-i386-unknown-linux.tar.bz2 (try 1)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20061231-i386-unknown-linux.tar.bz2 (try 2)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20061231-i386-unknown-linux.tar.bz2 (try 3)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20061231-i386-unknown-linux.tar.bz2 (try 4)... Received disconnect from 128.36.229.215: 2: Bad packet length 1590429605. lost connection failed. **** ghc-6.7.20061231-i386-unknown-linux.tar.bz2 (try 5)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20061231-i386-unknown-linux.tar.bz2 (try 6)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20061231-i386-unknown-linux.tar.bz2 (try 7)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20061231-i386-unknown-linux.tar.bz2 (try 8)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20061231-i386-unknown-linux.tar.bz2 (try 9)... ok. **** publishing logs ... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** publishing docs ... 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 All done! Nightly build finished successfully at Mon Jan 1 05:37:26 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Sun Dec 31 23:45:10 GMT 2006 1588 total tests, which gave rise to 9538 test cases, of which 1 caused framework failures 1849 were skipped 7309 expected passes 96 expected failures 8 unexpected passes 266 unexpected failures Unexpected passes: Simple2(normal,prof,unreg) arith008(profasm) cholewo-eval(profasm) mod49(normal) read032(normal) tcfail077(normal) Unexpected failures: Deriving(normal,hpc,prof,profasm,unreg) GMapAssoc(hpc,prof,profasm) GMapTop(hpc,prof,profasm) Over(normal) Simple6(normal) Simple7(normal) Simple8(normal) TH_dataD1(normal) ThreadDelay001(ghci,threaded1,threaded2) arith005(opt,hpc,optasm,prof,profasm,threaded2) arith008(opt,hpc,threaded2) arith011(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) arith012(opt,hpc,threaded2) arrowrun004(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) barton-mangler-bug(opt,hpc,threaded2) base01(normal) break004(ghci) cabal02(normal) cholewo-eval(opt,hpc,threaded2) conc048(threaded2) conc059(threaded2) conc060(unreg) conc062(unreg) conc063(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) concprog002(threaded2) datatype(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) drv001(normal,opt,hpc,optasm,prof,profasm,unreg) drv002(normal,opt,hpc,optasm,prof,profasm,unreg) drv003(normal,opt,hpc,optasm,prof,profasm,unreg) drv004(normal,opt,hpc,optasm,prof,profasm,unreg) drv009(normal,opt,hpc,optasm,prof,profasm,unreg) drv012(normal,opt,hpc,optasm,prof,profasm,unreg) drv020(normal,opt,hpc,optasm,prof,profasm,unreg) drvfail001(normal) drvfail002(normal) drvfail003(normal) drvfail004(normal) drvfail005(normal) drvfail006(normal) drvfail007(normal) drvfail008(normal) drvfail009(normal) drvfail010(normal) dynbk001(ghci) dynbk008(ghci) ffi-deriv1(normal,opt,hpc,optasm,prof,profasm,unreg) ffi009(opt,prof,threaded2) foldTree(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) gadt13(normal) gadt7(normal) galois_raytrace(opt,hpc,prof,threaded2) getC(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) ghcpkg04(normal) ind1(hpc) ind2(hpc,prof,profasm) maessen_hashtab(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) mdofail004(normal) mod177(normal) mod53(normal) mod55(normal) mod56(normal) num012(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) print002(ghci) print003(ghci) print006(ghci) print007(ghci) print008(ghci) print010(ghci) print011(ghci) print012(ghci) print016(ghci) print017(ghci) prog003(ghci) read040(normal,opt,hpc,optasm,prof,profasm,unreg) rnfail020(normal) rnfail026(normal) rnfail028(normal) tc177(normal,opt,hpc,optasm,prof,profasm,unreg) tcfail046(normal) tcfail072(normal) tcfail086(normal) tcfail117(normal) tcfail118(normal) tcfail133(normal) tcfail140(normal) tcfail165(normal,opt,hpc,optasm,prof,profasm,unreg) tcfail169(normal) tcfail172(normal) tcrun032(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) ---------------------------------------------------- Nightly run ended at Mon Jan 1 05:37:26 GMT 2007 From sof at galois.com Mon Jan 1 04:30:02 2007 From: sof at galois.com (sof@galois.com) Date: Mon Jan 1 04:22:50 2007 Subject: [nightly] 31-Dec-2006 build of of HEAD on i386-unknown-mingw32 (bling) Message-ID: <01c72d87$Blat.v2.2.2$69e90624@localhost> From: GHC Build Reports To: cvs-ghc@haskell.org Subject: [nightly] 31-Dec-2006 build of of HEAD on i386-unknown-mingw32 (bling) Build description = of HEAD on i386-unknown-mingw32 (bling) Build location = /fptools/builds/HEAD Build config file = /fptools/builds/ghc-nightly/site/galois/conf-HEAD-bling Nightly build started on bling at Sun Dec 31 22:00:01 PST 2006. **** checking out new source tree ... Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. ok. (GHC Version 6.7.20061231) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** building compiler binary distribution ... ok. **** canonicalizing mingw binary distribution tree... ok **** generating binary distribution + manifest ... ok. **** building mingw .gz binary dist ... ok. **** publishing distfiles ... ok. **** 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 All done! Nightly build finished successfully at Mon Jan 1 01:30:02 PST 2007 Nightly run ended at Mon Jan 1 01:30:02 PST 2007 From sof at galois.com Mon Jan 1 08:23:47 2007 From: sof at galois.com (sof@galois.com) Date: Mon Jan 1 08:16:35 2007 Subject: [nightly] 01-Jan-2007 build of of 6.6 branch on i386-unknown-mingw32 (bling) Message-ID: <01c72da8$Blat.v2.2.2$118ba5ce@localhost> From: GHC Build Reports To: cvs-ghc@haskell.org Subject: [nightly] 01-Jan-2007 build of of 6.6 branch on i386-unknown-mingw32 (bling) Build description = of 6.6 branch on i386-unknown-mingw32 (bling) Build location = /fptools/builds/STABLE Build config file = /fptools/builds/ghc-nightly/site/galois/conf-STABLE-bling Nightly build started on bling at Mon Jan 1 02:00:01 PST 2007. **** checking out new source tree ... Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. ok. (GHC Version 6.6.20070101) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... failed; relevant barfage is below. **** building compiler binary distribution ... ok. **** canonicalizing mingw binary distribution tree... ok **** generating binary distribution + manifest ... ok. **** building mingw .gz binary dist ... ok. **** publishing distfiles ... 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 All done! Nightly build finished successfully at Mon Jan 1 05:23:47 PST 2007 ------------------------------------------------------------------------ ------------------------------------------------------------------------ The last 30 lines of /fptools/builds/STABLE/logs/i386-unknown-mingw32-stage2 are ------------------------------------------------------------------------ ------------------------------------------------------------------------ -DHADDOCK_IFACE='"c:/fptools/builds/STABLE/fptools/libraries/ghc/html/ghc.haddock"' \ -DFPTOOLS_TOP_ABS='"c:/fptools/builds/STABLE/fptools"' \ -x c -DPKG_DEPENDS='template-haskell Win32 Cabal regex-compat base haskell98' -DSTAGE='"2"' -I../includes -Iinclude -DPACKAGE=ghc -DVERSION=6.6.20070101 -DPKG_LIBDIR='"$topdir"' -DPKG_DATADIR='"$topdir"' package.conf.in | \ grep -v '^#pragma GCC' | \ sed -e 's/""//g' -e 's/:[ ]*,/: /g' >package.conf.inplace ../utils/ghc-pkg/ghc-pkg-inplace update - --force-files > ../compiler/stage1/ghc-inplace -o stage2/ghc -H16m -O -package ghc -Istage2 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -Rghc-timing -O -H32m -DGHCI -DBREAKPOINT -threaded stage2/main/Main.o c:\fptools\builds\STABLE\fptools\rts/libHSrts_thr.a(IOManager.thr_o):IOManager.c:(.text+0x24a): undefined reference to `rts_waitConsoleHandlerCompletion' collect2: ld returned 1 exit status <> make[1]: *** [stage2/ghc] Error 1 make[1]: Leaving directory `/fptools/builds/STABLE/fptools/compiler' make: *** [stage2/ghc] Error 2 real 15m16.471s user 0m48.066s sys 0m19.815s Nightly run ended at Mon Jan 1 05:23:47 PST 2007 From claus.reinke at talk21.com Mon Jan 1 12:54:52 2007 From: claus.reinke at talk21.com (Claus Reinke) Date: Mon Jan 1 12:51:30 2007 Subject: DeleteObject and HEAD on i386-unknown-mingw32(bling) References: <01c72d87$Blat.v2.2.2$69e90624@localhost> Message-ID: <010b01c72dcd$f1aa6490$8f8bb8d9@cr3lt> recently, when I try to build HEAD on mingw (using 6.4.1), I get ../compiler/stage1/ghc-inplace -o stage2/ghc -H32m -O -W -fno-warn-unused-matches -fwarn-unused-imports -package ghc -Istage2 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -Rghc-timing -DGHCI -DDEBUGGER -threaded stage2/main/Main.o c:\fptools\ghc\libraries\Win32/libHSWin32.a(Types.o):fake:(.text+0x9da): undefined reference to `DeleteObject' collect2: ld returned 1 exit status this problem was discussed here earlier as "Build failure on Windows" http://www.mail-archive.com/cvs-all@haskell.org/msg29182.html and I haven't seen a resolution. nevertheless, the nightly builds on this platform claim to succeed without problem.. could someone please enlighten me about what it is I seem to be missing? Happy New Year, Claus ----- Original Message ----- From: To: Sent: Monday, January 01, 2007 10:30 AM Subject: [nightly] 31-Dec-2006 build of of HEAD on i386-unknown-mingw32(bling) > From: GHC Build Reports > To: cvs-ghc@haskell.org > Subject: [nightly] 31-Dec-2006 build of of HEAD on i386-unknown-mingw32 (bling) > > Build description = of HEAD on i386-unknown-mingw32 (bling) > Build location = /fptools/builds/HEAD > Build config file = /fptools/builds/ghc-nightly/site/galois/conf-HEAD-bling > > Nightly build started on bling at Sun Dec 31 22:00:01 PST 2006. > **** checking out new source tree ... Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > Finished getting. > ok. (GHC Version 6.7.20061231) > **** Building stage 1 compiler ... ok. > **** Building stage 2 compiler ... ok. > **** building compiler binary distribution ... ok. > **** canonicalizing mingw binary distribution tree... ok > **** generating binary distribution + manifest ... ok. > **** building mingw .gz binary dist ... ok. > **** publishing distfiles ... ok. > **** 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 > All done! > Nightly build finished successfully at Mon Jan 1 01:30:02 PST 2007 > Nightly run ended at Mon Jan 1 01:30:02 PST 2007 > > _______________________________________________ > Cvs-ghc mailing list > Cvs-ghc@haskell.org > http://www.haskell.org/mailman/listinfo/cvs-ghc > From ghcbuild at microsoft.com Mon Jan 1 21:33:34 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Mon Jan 1 21:33:35 2007 Subject: [nightly] 01-Jan-2007 build of 6.6 branch on x86_64-unknown-linux (cam-03-unx.europe.corp.microsoft.com) Message-ID: <20070102023334.A2139324149@www.haskell.org> Build description = 6.6 branch on x86_64-unknown-linux (cam-03-unx.europe.corp.microsoft.com) Build location = /64playpen/simonmar/nightly/6.6-cam-03-unx Build config file = /home/simonmar/nightly/site/msrc/conf-6.6-cam-03-unx Nightly build started on cam-03-unx at Mon Jan 1 20:00:01 GMT 2007. **** checking out new source tree ... ok. (GHC Version 6.6.20070101) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... failed. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. **** running nofib (-O -fasm) ... ok. **** running nofib (-O -prof -auto-all) ... ok. **** running nofib (-O -prof -auto-all -fasm) ... ok. **** running nofib (-fasm) ... ok. **** running nofib (-unreg) ... ok. (91 failures) **** publishing distfiles ... **** ghc-6.6.20070101-x86_64-unknown-linux.tar.bz2 (try 0)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (24 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(434) failed. **** ghc-6.6.20070101-x86_64-unknown-linux.tar.bz2 (try 1)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (24 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(434) failed. **** ghc-6.6.20070101-x86_64-unknown-linux.tar.bz2 (try 2)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (24 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(434) failed. **** ghc-6.6.20070101-x86_64-unknown-linux.tar.bz2 (try 3)... 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 All done! Nightly build finished successfully at Tue Jan 2 02:37:02 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Mon Jan 1 22:55:52 GMT 2007 1458 total tests, which gave rise to 6942 test cases, of which 0 caused framework failures 1190 were skipped 5674 expected passes 56 expected failures 5 unexpected passes 17 unexpected failures Unexpected passes: tc175(normal,opt,optasm,prof,profasm) Unexpected failures: ThreadDelay001(ghci,threaded1,threaded2) conc018(ghci) conc059(threaded1,threaded2) drvfail002(normal) drvfail003(normal) tcfail071(normal) tcrun032(normal,opt,optasm,prof,profasm,ghci,threaded1,threaded2) ---------------------------------------------------- Nightly run ended at Tue Jan 2 02:37:02 GMT 2007 From ghcbuild at microsoft.com Mon Jan 1 22:11:05 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Mon Jan 1 22:11:07 2007 Subject: [nightly] 01-Jan-2007 build of 6.6 branch on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Message-ID: <20070102031105.500083241D6@www.haskell.org> Build description = 6.6 branch on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Build location = /playpen/ghc/nightly/STABLE-cam-02-unx Build config file = /home/simonmar/nightly/site/msrc/conf-6.6-cam-02-unx Nightly build started on cam-02-unx at Mon Jan 1 19:00:00 GMT 2007. **** checking out new source tree ... ok. (GHC Version 6.6.20070101) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... failed. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. **** running nofib (-O -fasm) ... ok. (4 failures) **** running nofib (-O -prof -auto-all) ... ok. **** running nofib (-O -prof -auto-all -fasm) ... ok. (5 failures) **** running nofib (-fasm) ... ok. (4 failures) **** running nofib (-unreg) ... ok. (91 failures) **** publishing distfiles ... **** ghc-6.6.20070101-i386-unknown-linux.tar.bz2 (try 0)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.6.20070101-i386-unknown-linux.tar.bz2 (try 1)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.6.20070101-i386-unknown-linux.tar.bz2 (try 2)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.6.20070101-i386-unknown-linux.tar.bz2 (try 3)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.6.20070101-i386-unknown-linux.tar.bz2 (try 4)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.6.20070101-i386-unknown-linux.tar.bz2 (try 5)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.6.20070101-i386-unknown-linux.tar.bz2 (try 6)... ok. **** publishing logs ... ok. **** publishing docs ... 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 All done! Nightly build finished successfully at Tue Jan 2 03:14:33 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Mon Jan 1 22:23:06 GMT 2007 1457 total tests, which gave rise to 6934 test cases, of which 1 caused framework failures 1191 were skipped 5662 expected passes 50 expected failures 5 unexpected passes 18 unexpected failures Unexpected passes: tc175(normal,opt,optasm,prof,profasm) Unexpected failures: ThreadDelay001(ghci,threaded1,threaded2) cg058(ghci) conc048(threaded2) conc059(threaded2) concprog002(threaded2) drvfail002(normal) drvfail003(normal) tcfail071(normal) tcrun032(normal,opt,optasm,prof,profasm,ghci,threaded1,threaded2) ---------------------------------------------------- Nightly run ended at Tue Jan 2 03:14:33 GMT 2007 From ghcbuild at microsoft.com Tue Jan 2 00:45:19 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Tue Jan 2 00:45:20 2007 Subject: [nightly] 01-Jan-2007 build of HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Message-ID: <20070102054519.4BB403242E0@www.haskell.org> Build description = HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Build location = /playpen/ghc/nightly/HEAD-cam-02-unx Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-02-unx Nightly build started on cam-02-unx at Mon Jan 1 19:30:00 GMT 2007. **** checking out new source tree ... ok. (GHC Version 6.7.20070101) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... ok. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. (8 failures) **** running nofib (-O -fasm) ... ok. (8 failures) **** running nofib (-O -prof -auto-all) ... ok. (10 failures) **** running nofib (-O -prof -auto-all -fasm) ... ok. (10 failures) **** running nofib (-fasm) ... ok. (8 failures) **** running nofib (-unreg) ... ok. (4 failures) **** publishing distfiles ... **** ghc-6.7.20070101-src.tar.bz2 (try 0) ... ok. **** ghc-6.7.20070101-src-extralibs.tar.bz2 (try 0)... ok. **** ghc-6.7.20070101-i386-unknown-linux.tar.bz2 (try 0)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070101-i386-unknown-linux.tar.bz2 (try 1)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070101-i386-unknown-linux.tar.bz2 (try 2)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070101-i386-unknown-linux.tar.bz2 (try 3)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070101-i386-unknown-linux.tar.bz2 (try 4)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070101-i386-unknown-linux.tar.bz2 (try 5)... Read from remote host haskell.org: Connection reset by peer lost connection failed. **** ghc-6.7.20070101-i386-unknown-linux.tar.bz2 (try 6)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070101-i386-unknown-linux.tar.bz2 (try 7)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070101-i386-unknown-linux.tar.bz2 (try 8)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070101-i386-unknown-linux.tar.bz2 (try 9)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** publishing logs ... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** publishing docs ... Read from remote host haskell.org: Connection reset by peer 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 All done! Nightly build finished successfully at Tue Jan 2 05:48:47 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Mon Jan 1 23:44:14 GMT 2007 1588 total tests, which gave rise to 9538 test cases, of which 1 caused framework failures 1849 were skipped 7306 expected passes 96 expected failures 8 unexpected passes 269 unexpected failures Unexpected passes: Simple2(normal,prof,unreg) arith008(profasm) cholewo-eval(profasm) mod49(normal) read032(normal) tcfail077(normal) Unexpected failures: Deriving(normal,hpc,prof,profasm,unreg) GMapAssoc(hpc,prof,profasm) GMapTop(hpc,prof,profasm) Over(normal) Simple6(normal) Simple7(normal) Simple8(normal) TH_dataD1(normal) ThreadDelay001(ghci,threaded1,threaded2) arith005(opt,hpc,optasm,prof,profasm,threaded2) arith008(opt,hpc,threaded2) arith011(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) arith012(opt,hpc,threaded2) arrowrun004(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) barton-mangler-bug(opt,hpc,threaded2) base01(normal) break004(ghci) cabal02(normal) cholewo-eval(opt,hpc,threaded2) conc048(threaded2) conc049(opt,optasm) conc059(threaded2) conc060(unreg) conc062(unreg) conc063(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) concprog001(ghci) concprog002(threaded2) datatype(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) drv001(normal,opt,hpc,optasm,prof,profasm,unreg) drv002(normal,opt,hpc,optasm,prof,profasm,unreg) drv003(normal,opt,hpc,optasm,prof,profasm,unreg) drv004(normal,opt,hpc,optasm,prof,profasm,unreg) drv009(normal,opt,hpc,optasm,prof,profasm,unreg) drv012(normal,opt,hpc,optasm,prof,profasm,unreg) drv020(normal,opt,hpc,optasm,prof,profasm,unreg) drvfail001(normal) drvfail002(normal) drvfail003(normal) drvfail004(normal) drvfail005(normal) drvfail006(normal) drvfail007(normal) drvfail008(normal) drvfail009(normal) drvfail010(normal) dynbk001(ghci) dynbk008(ghci) ffi-deriv1(normal,opt,hpc,optasm,prof,profasm,unreg) ffi009(opt,prof,threaded2) foldTree(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) gadt13(normal) gadt7(normal) galois_raytrace(opt,hpc,prof,threaded2) getC(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) ghcpkg04(normal) ind1(hpc) ind2(hpc,prof,profasm) maessen_hashtab(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) mdofail004(normal) mod177(normal) mod53(normal) mod55(normal) mod56(normal) num012(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) print002(ghci) print003(ghci) print006(ghci) print007(ghci) print008(ghci) print010(ghci) print011(ghci) print012(ghci) print016(ghci) print017(ghci) prog003(ghci) read040(normal,opt,hpc,optasm,prof,profasm,unreg) rnfail020(normal) rnfail026(normal) rnfail028(normal) tc177(normal,opt,hpc,optasm,prof,profasm,unreg) tcfail046(normal) tcfail072(normal) tcfail086(normal) tcfail117(normal) tcfail118(normal) tcfail133(normal) tcfail140(normal) tcfail165(normal,opt,hpc,optasm,prof,profasm,unreg) tcfail169(normal) tcfail172(normal) tcrun032(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) ---------------------------------------------------- Nightly run ended at Tue Jan 2 05:48:47 GMT 2007 From simonpj at microsoft.com Tue Jan 2 03:59:43 2007 From: simonpj at microsoft.com (Simon Peyton-Jones) Date: Tue Jan 2 03:56:15 2007 Subject: patch applied (ghc): Adding a GENERATED pragma In-Reply-To: <2AE65A29-2BD1-4588-96E0-DE83EB7BBC07@galois.com> References: <20061229073552.GA19801@cvs.haskell.org> <46C9642A-93B4-4612-AB2A-57094B964702@galois.com> <1167433231.27410.195.camel@localhost> <2AE65A29-2BD1-4588-96E0-DE83EB7BBC07@galois.com> Message-ID: Andy: if GENERATED stays, can you document it in the user manual please? LINE is documented at 7.10.5 | -----Original Message----- | From: Andy Gill [mailto:andy@galois.com] | Sent: 29 December 2006 23:18 | To: Duncan Coutts | Cc: Simon Peyton-Jones; cvs-ghc@haskell.org | Subject: Re: patch applied (ghc): Adding a GENERATED pragma | | > | > LINE can already refer to an external non-.hs file. This is exactly | > how | > things works now with all manner of pre-processors, alex, happy, | > cpphs, | > c2hs, hsc2hs, etc. | > | > I don't quite have an intuition for this yet, can you give an | > example of | > how this more fine grained pragma works and some use-case not | > currently | > covered by LINE? | > | | Ahhh. LINE does? Oh. | | - GENERATED works on an expression based level, and can specify | specific spans. | (20:4 - 21:8, for example). | - GENERATED is a true pragma; it hints where things come from, but | does not change | the error message. I want the Haskell source spans to remain | unchanges. | | But perhaps a variant of LINE would be a better name. | | Andy From sof at galois.com Tue Jan 2 04:28:03 2007 From: sof at galois.com (sof@galois.com) Date: Tue Jan 2 04:20:49 2007 Subject: [nightly] 01-Jan-2007 build of of HEAD on i386-unknown-mingw32 (bling) Message-ID: <01c72e50$Blat.v2.2.2$4d6e5a0c@localhost> From: GHC Build Reports To: cvs-ghc@haskell.org Subject: [nightly] 01-Jan-2007 build of of HEAD on i386-unknown-mingw32 (bling) Build description = of HEAD on i386-unknown-mingw32 (bling) Build location = /fptools/builds/HEAD Build config file = /fptools/builds/ghc-nightly/site/galois/conf-HEAD-bling Nightly build started on bling at Mon Jan 1 22:00:01 PST 2007. **** checking out new source tree ... Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. ok. (GHC Version 6.7.20070101) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** building compiler binary distribution ... ok. **** canonicalizing mingw binary distribution tree... ok **** generating binary distribution + manifest ... ok. **** building mingw .gz binary dist ... ok. **** publishing distfiles ... ok. **** 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 All done! Nightly build finished successfully at Tue Jan 2 01:28:03 PST 2007 Nightly run ended at Tue Jan 2 01:28:03 PST 2007 From sof at galois.com Tue Jan 2 08:20:06 2007 From: sof at galois.com (sof@galois.com) Date: Tue Jan 2 08:12:48 2007 Subject: [nightly] 02-Jan-2007 build of of 6.6 branch on i386-unknown-mingw32 (bling) Message-ID: <01c72e70$Blat.v2.2.2$b83ddba8@localhost> From: GHC Build Reports To: cvs-ghc@haskell.org Subject: [nightly] 02-Jan-2007 build of of 6.6 branch on i386-unknown-mingw32 (bling) Build description = of 6.6 branch on i386-unknown-mingw32 (bling) Build location = /fptools/builds/STABLE Build config file = /fptools/builds/ghc-nightly/site/galois/conf-STABLE-bling Nightly build started on bling at Tue Jan 2 02:00:01 PST 2007. **** checking out new source tree ... Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. ok. (GHC Version 6.6.20070102) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... failed; relevant barfage is below. **** building compiler binary distribution ... ok. **** canonicalizing mingw binary distribution tree... ok **** generating binary distribution + manifest ... ok. **** building mingw .gz binary dist ... ok. **** publishing distfiles ... 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 All done! Nightly build finished successfully at Tue Jan 2 05:20:06 PST 2007 ------------------------------------------------------------------------ ------------------------------------------------------------------------ The last 30 lines of /fptools/builds/STABLE/logs/i386-unknown-mingw32-stage2 are ------------------------------------------------------------------------ ------------------------------------------------------------------------ -DHADDOCK_IFACE='"c:/fptools/builds/STABLE/fptools/libraries/ghc/html/ghc.haddock"' \ -DFPTOOLS_TOP_ABS='"c:/fptools/builds/STABLE/fptools"' \ -x c -DPKG_DEPENDS='template-haskell Win32 Cabal regex-compat base haskell98' -DSTAGE='"2"' -I../includes -Iinclude -DPACKAGE=ghc -DVERSION=6.6.20070102 -DPKG_LIBDIR='"$topdir"' -DPKG_DATADIR='"$topdir"' package.conf.in | \ grep -v '^#pragma GCC' | \ sed -e 's/""//g' -e 's/:[ ]*,/: /g' >package.conf.inplace ../utils/ghc-pkg/ghc-pkg-inplace update - --force-files > ../compiler/stage1/ghc-inplace -o stage2/ghc -H16m -O -package ghc -Istage2 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -Rghc-timing -O -H32m -DGHCI -DBREAKPOINT -threaded stage2/main/Main.o c:\fptools\builds\STABLE\fptools\rts/libHSrts_thr.a(IOManager.thr_o):IOManager.c:(.text+0x24a): undefined reference to `rts_waitConsoleHandlerCompletion' collect2: ld returned 1 exit status <> make[1]: *** [stage2/ghc] Error 1 make[1]: Leaving directory `/fptools/builds/STABLE/fptools/compiler' make: *** [stage2/ghc] Error 2 real 15m3.188s user 0m47.314s sys 0m19.618s Nightly run ended at Tue Jan 2 05:20:06 PST 2007 From Sven.Panne at aedion.de Tue Jan 2 08:48:57 2007 From: Sven.Panne at aedion.de (Sven Panne) Date: Tue Jan 2 08:45:27 2007 Subject: patch applied (ghc): Removed some trailing spaces Message-ID: <20070102134857.GA14572@cvs.haskell.org> Tue Jan 2 05:38:09 PST 2007 sven.panne@aedion.de * Removed some trailing spaces M ./ghc.spec.in -3 +3 From Sven.Panne at aedion.de Tue Jan 2 08:49:01 2007 From: Sven.Panne at aedion.de (Sven Panne) Date: Tue Jan 2 08:45:31 2007 Subject: patch applied (ghc): The ghc package is not relocatable (yet), so don' t claim that this is the case Message-ID: <20070102134901.GA14595@cvs.haskell.org> Tue Jan 2 05:39:23 PST 2007 sven.panne@aedion.de * The ghc package is not relocatable (yet), so don't claim that this is the case M ./ghc.spec.in -1 From Sven.Panne at aedion.de Tue Jan 2 08:49:06 2007 From: Sven.Panne at aedion.de (Sven Panne) Date: Tue Jan 2 08:45:36 2007 Subject: patch applied (ghc): Stylistic change: Use %{_prefix} instead of %{prefix} Message-ID: <20070102134906.GA14614@cvs.haskell.org> Tue Jan 2 05:40:33 PST 2007 sven.panne@aedion.de * Stylistic change: Use %{_prefix} instead of %{prefix} M ./ghc.spec.in -16 +16 From Sven.Panne at aedion.de Tue Jan 2 08:49:09 2007 From: Sven.Panne at aedion.de (Sven Panne) Date: Tue Jan 2 08:45:40 2007 Subject: patch applied (ghc): Added the GHC commentary to the RPM Message-ID: <20070102134909.GA14633@cvs.haskell.org> Tue Jan 2 05:42:38 PST 2007 sven.panne@aedion.de * Added the GHC commentary to the RPM M ./ghc.spec.in +1 From Sven.Panne at aedion.de Tue Jan 2 08:49:14 2007 From: Sven.Panne at aedion.de (Sven Panne) Date: Tue Jan 2 08:45:43 2007 Subject: patch applied (ghc): Added ghc man page to RPM Message-ID: <20070102134914.GA14648@cvs.haskell.org> Tue Jan 2 05:45:46 PST 2007 sven.panne@aedion.de * Added ghc man page to RPM M ./ghc.spec.in -2 +3 From Sven.Panne at aedion.de Tue Jan 2 08:49:18 2007 From: Sven.Panne at aedion.de (Sven Panne) Date: Tue Jan 2 08:45:47 2007 Subject: patch applied (ghc): Fixed bug #744 (ghc-pkg lies about location of haddock-interfaces and haddock-html) Message-ID: <20070102134918.GA14663@cvs.haskell.org> Tue Jan 2 05:46:22 PST 2007 sven.panne@aedion.de * Fixed bug #744 (ghc-pkg lies about location of haddock-interfaces and haddock-html) M ./ghc.spec.in -1 +1 From sven.panne at aedion.de Tue Jan 2 09:22:29 2007 From: sven.panne at aedion.de (Sven Panne) Date: Tue Jan 2 09:19:00 2007 Subject: Redundancy in the build system for packages Message-ID: <200701021522.29954.sven.panne@aedion.de> Looking at our current technology for building packages below ghc/libraries, I think that for each package there are 2 redundant files: package.conf.in and prologue.txt. If I see things correctly, almost all information is already in the foo.cabal files, so the question is: What are the plans for removing this redundancy? I think this has been discussed before, but I can't remember the outcome. The background behind this: When adding or removing Cabal packages via RPM, one has to regenerate the Haddock "Contents" page and the "Index" pages to match the set of currently installed Cabal packages. This is similar to what has to be done for info pages via install-info. To do this, one needs the package descriptions, which should be taken from the "description" fields of the installed Cabal packages (note that these should contain Haddock markup then). But currently foo.cabal and package.conf.in are very out-of-sync for most packages (empty/different descriptions, even differing package versions (fgl!), bug reports due to inconsistent list of modules, etc.). Cheers, S. From simonpj at microsoft.com Tue Jan 2 11:21:04 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Tue Jan 2 11:17:35 2007 Subject: patch applied (testsuite): Add test for deriving Typeable Message-ID: <20070102162104.GA17691@cvs.haskell.org> Tue Jan 2 07:16:07 PST 2007 simonpj@microsoft.com * Add test for deriving Typeable M ./tests/ghc-regress/deriving/should_compile/all.T +1 A ./tests/ghc-regress/deriving/should_compile/drv013.hs From simonpj at microsoft.com Tue Jan 2 11:21:06 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Tue Jan 2 11:17:35 2007 Subject: patch applied (testsuite): Add stand-alone deriving test Message-ID: <20070102162106.GA17711@cvs.haskell.org> Tue Jan 2 08:19:44 PST 2007 simonpj@microsoft.com * Add stand-alone deriving test M ./tests/ghc-regress/deriving/should_compile/all.T +1 A ./tests/ghc-regress/deriving/should_compile/drv014.hs M ./tests/ghc-regress/deriving/should_fail/all.T +1 From simonpj at microsoft.com Tue Jan 2 11:21:07 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Tue Jan 2 11:17:39 2007 Subject: patch applied (testsuite): Update expected output Message-ID: <20070102162107.GA17725@cvs.haskell.org> Tue Jan 2 08:20:11 PST 2007 simonpj@microsoft.com * Update expected output M ./tests/ghc-regress/deriving/should_fail/drvfail001.stderr -11 +6 M ./tests/ghc-regress/deriving/should_fail/drvfail002.stderr -2 +2 M ./tests/ghc-regress/deriving/should_fail/drvfail003.stderr -3 +2 M ./tests/ghc-regress/deriving/should_fail/drvfail005.stderr -2 +2 M ./tests/ghc-regress/deriving/should_fail/drvfail006.stderr -4 +4 M ./tests/ghc-regress/deriving/should_fail/drvfail007.stderr -5 +6 M ./tests/ghc-regress/deriving/should_fail/drvfail008.stderr -4 +4 M ./tests/ghc-regress/deriving/should_fail/drvfail009.stderr -16 +16 M ./tests/ghc-regress/deriving/should_fail/drvfail010.stderr -6 +6 From simonpj at microsoft.com Tue Jan 2 11:22:52 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Tue Jan 2 11:19:20 2007 Subject: patch applied (ghc): Big tidy-up of deriving code Message-ID: <20070102162252.GA17801@cvs.haskell.org> Tue Jan 2 07:46:10 PST 2007 simonpj@microsoft.com * Big tidy-up of deriving code This tidy-up, triggered by Trac #1068, re-factors the way that 'deriving' happens. It took me way longer than I had intended. The main changes, by far are to TcDeriv; everyting else is a minor consequence. While I was at it, I changed the syntax for standalone deriving, so that it goes derive instance Show (T a) (instead of "derive Show for T"). However, there's still an implicit context, generated by the deriving code, and I wonder if it shouldn't really be derive instance (..) => Show (T a) but I have left it simple for now. I also added a function Type.substTyVars, and used it here and there, which led to some one-line changes otherwise unrelated (sorry). Loose ends: * 'deriving Typeable' for indexed data types is still not right * standalone deriving should be documented M ./compiler/basicTypes/DataCon.lhs -1 +1 M ./compiler/basicTypes/MkId.lhs -1 +1 M ./compiler/hsSyn/HsDecls.lhs -10 +21 M ./compiler/hsSyn/HsTypes.lhs -2 +1 M ./compiler/hsSyn/HsUtils.lhs +2 M ./compiler/parser/Lexer.x -3 +3 M ./compiler/parser/Parser.y.pp -6 +3 M ./compiler/rename/RnSource.lhs -4 +3 M ./compiler/typecheck/Inst.lhs -1 +1 M ./compiler/typecheck/TcDeriv.lhs -335 +342 M ./compiler/typecheck/TcEnv.lhs -8 +17 M ./compiler/typecheck/TcExpr.lhs -1 +1 M ./compiler/typecheck/TcGenDeriv.lhs -2 +1 M ./compiler/typecheck/TcHsType.lhs -10 +23 M ./compiler/typecheck/TcInstDcls.lhs -5 +1 M ./compiler/typecheck/TcMType.lhs -1 +1 M ./compiler/typecheck/TcSimplify.lhs -46 +15 M ./compiler/typecheck/TcType.lhs -1 +1 M ./compiler/types/FamInstEnv.lhs -3 +7 M ./compiler/types/TyCon.lhs -3 +3 M ./compiler/types/Type.lhs -2 +4 M ./compiler/utils/Util.lhs -1 +8 From simonpj at microsoft.com Tue Jan 2 11:22:56 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Tue Jan 2 11:19:24 2007 Subject: patch applied (ghc): Docmunent stand-alone deriving Message-ID: <20070102162256.GA17817@cvs.haskell.org> Tue Jan 2 08:12:18 PST 2007 simonpj@microsoft.com * Docmunent stand-alone deriving I also re-organised the type-system extension section, which has grown rather big. M ./docs/users_guide/glasgow_exts.xml -332 +278 From simonpj at microsoft.com Tue Jan 2 11:22:59 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Tue Jan 2 11:19:28 2007 Subject: patch applied (ghc): Standalone deriving wibbles: keyword is ' derive' not ' derived' ; and add flag documentation Message-ID: <20070102162259.GA17831@cvs.haskell.org> Tue Jan 2 08:17:52 PST 2007 simonpj@microsoft.com * Standalone deriving wibbles: keyword is 'derive' not 'derived'; and add flag documentation M ./compiler/parser/Lexer.x -3 +3 M ./compiler/parser/Parser.y.pp -3 +3 M ./docs/users_guide/glasgow_exts.xml -1 +1 From ghcbuild at microsoft.com Tue Jan 2 21:38:41 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Tue Jan 2 21:38:42 2007 Subject: [nightly] 02-Jan-2007 build of 6.6 branch on x86_64-unknown-linux (cam-03-unx.europe.corp.microsoft.com) Message-ID: <20070103023841.6FB6D324190@www.haskell.org> Build description = 6.6 branch on x86_64-unknown-linux (cam-03-unx.europe.corp.microsoft.com) Build location = /64playpen/simonmar/nightly/6.6-cam-03-unx Build config file = /home/simonmar/nightly/site/msrc/conf-6.6-cam-03-unx Nightly build started on cam-03-unx at Tue Jan 2 20:00:01 GMT 2007. **** checking out new source tree ... ok. (GHC Version 6.6.20070102) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... failed. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. **** running nofib (-O -fasm) ... ok. **** running nofib (-O -prof -auto-all) ... ok. **** running nofib (-O -prof -auto-all -fasm) ... ok. **** running nofib (-fasm) ... ok. **** running nofib (-unreg) ... ok. (91 failures) **** publishing distfiles ... **** ghc-6.6.20070102-x86_64-unknown-linux.tar.bz2 (try 0)... ok. **** publishing logs ... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (4500 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(434) 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 All done! Nightly build finished successfully at Wed Jan 3 02:42:12 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Tue Jan 2 22:56:53 GMT 2007 1458 total tests, which gave rise to 6942 test cases, of which 0 caused framework failures 1190 were skipped 5674 expected passes 56 expected failures 5 unexpected passes 17 unexpected failures Unexpected passes: tc175(normal,opt,optasm,prof,profasm) Unexpected failures: ThreadDelay001(ghci,threaded1,threaded2) conc018(ghci) conc059(threaded1,threaded2) drvfail002(normal) drvfail003(normal) tcfail071(normal) tcrun032(normal,opt,optasm,prof,profasm,ghci,threaded1,threaded2) ---------------------------------------------------- Nightly run ended at Wed Jan 3 02:42:12 GMT 2007 From ghcbuild at microsoft.com Tue Jan 2 22:02:13 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Tue Jan 2 22:02:15 2007 Subject: [nightly] 02-Jan-2007 build of 6.6 branch on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Message-ID: <20070103030213.CF1C6324191@www.haskell.org> Build description = 6.6 branch on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Build location = /playpen/ghc/nightly/STABLE-cam-02-unx Build config file = /home/simonmar/nightly/site/msrc/conf-6.6-cam-02-unx Nightly build started on cam-02-unx at Tue Jan 2 19:00:01 GMT 2007. **** checking out new source tree ... ok. (GHC Version 6.6.20070102) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... failed. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. **** running nofib (-O -fasm) ... ok. (4 failures) **** running nofib (-O -prof -auto-all) ... ok. **** running nofib (-O -prof -auto-all -fasm) ... ok. (5 failures) **** running nofib (-fasm) ... ok. (4 failures) **** running nofib (-unreg) ... ok. (91 failures) **** publishing distfiles ... **** ghc-6.6.20070102-i386-unknown-linux.tar.bz2 (try 0)... ok. **** publishing logs ... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** publishing docs ... 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 All done! Nightly build finished successfully at Wed Jan 3 03:05:45 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Tue Jan 2 22:23:19 GMT 2007 1457 total tests, which gave rise to 6934 test cases, of which 1 caused framework failures 1191 were skipped 5662 expected passes 50 expected failures 5 unexpected passes 18 unexpected failures Unexpected passes: tc175(normal,opt,optasm,prof,profasm) Unexpected failures: ThreadDelay001(ghci,threaded1,threaded2) cg058(ghci) conc048(threaded2) conc059(threaded2) concprog002(threaded2) drvfail002(normal) drvfail003(normal) tcfail071(normal) tcrun032(normal,opt,optasm,prof,profasm,ghci,threaded1,threaded2) ---------------------------------------------------- Nightly run ended at Wed Jan 3 03:05:45 GMT 2007 From ghcbuild at microsoft.com Tue Jan 2 23:01:08 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Tue Jan 2 23:01:09 2007 Subject: [nightly] 02-Jan-2007 build of HEAD on x86_64-unknown-linux (cam-03-unx.europe.corp.microsoft.com) Message-ID: <20070103040108.F1E21324122@www.haskell.org> Build description = HEAD on x86_64-unknown-linux (cam-03-unx.europe.corp.microsoft.com) Build location = /64playpen/simonmar/nightly/HEAD-cam-03-unx Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-03-unx Nightly build started on cam-03-unx at Tue Jan 2 20:00:01 GMT 2007. **** checking out new source tree ... tar: Cowardly refusing to create an empty archive Try `tar --help' or `tar --usage' for more information. ok. (GHC Version 6.7.20070102) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... ok. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. **** running nofib (-O -fasm) ... ok. **** running nofib (-O -prof -auto-all) ... ok. **** running nofib (-O -prof -auto-all -fasm) ... ok. **** running nofib (-fasm) ... ok. (1 failures) **** running nofib (-unreg) ... ok. **** publishing distfiles ... **** ghc-6.7.20070102-src.tar.bz2 (try 0) ... ok. **** ghc-6.7.20070102-src-extralibs.tar.bz2 (try 0)... ok. **** ghc-6.7.20070102-x86_64-unknown-linux.tar.bz2 (try 0)... ok. **** 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 All done! Nightly build finished successfully at Wed Jan 3 04:04:40 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Tue Jan 2 23:38:31 GMT 2007 1593 total tests, which gave rise to 9573 test cases, of which 0 caused framework failures 1848 were skipped 7477 expected passes 109 expected failures 15 unexpected passes 124 unexpected failures Unexpected passes: Simple2(normal,prof,unreg) arith011(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) mod49(normal) tcfail077(normal) Unexpected failures: Deriving(normal,hpc,prof,profasm,unreg) GMapAssoc(hpc,prof,profasm) GMapTop(hpc,prof,profasm) Over(normal) Simple6(normal) Simple7(normal) Simple8(normal) TH_dataD1(normal) ThreadDelay001(ghci,threaded1,threaded2) arrowrun004(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) base01(normal) break004(ghci) cabal02(normal) conc019(threaded2) conc059(threaded1,threaded2) conc060(unreg) conc062(unreg) conc063(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) concprog001(ghci) drv014(normal,opt,hpc,optasm,prof,profasm,unreg) drvfail011(normal) dynbk008(ghci) ffi-deriv1(normal,opt,hpc,optasm,prof,profasm,unreg) gadt13(normal) gadt7(normal) getC(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) getEnvironment01(ghci) ghcpkg04(normal) ind1(hpc) ind2(hpc,prof,profasm) maessen_hashtab(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) mod177(normal) mod53(normal) mod55(normal) mod56(normal) print007(ghci) print012(ghci) print016(ghci) read040(normal,opt,hpc,optasm,prof,profasm,unreg) rnfail020(normal) rnfail028(normal) tcfail046(normal) tcfail072(normal) tcfail086(normal) tcfail117(normal) tcfail118(normal) tcfail140(normal) tcfail157(normal) tcfail165(normal,opt,hpc,optasm,prof,profasm,unreg) tcfail169(normal) tcfail172(normal) ---------------------------------------------------- Nightly run ended at Wed Jan 3 04:04:40 GMT 2007 From ghcbuild at microsoft.com Wed Jan 3 00:24:06 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Wed Jan 3 00:24:08 2007 Subject: [nightly] 02-Jan-2007 build of HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Message-ID: <20070103052406.6E32A3240C3@www.haskell.org> Build description = HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Build location = /playpen/ghc/nightly/HEAD-cam-02-unx Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-02-unx Nightly build started on cam-02-unx at Tue Jan 2 19:30:00 GMT 2007. **** checking out new source tree ... ok. (GHC Version 6.7.20070102) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... ok. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. (8 failures) **** running nofib (-O -fasm) ... ok. (8 failures) **** running nofib (-O -prof -auto-all) ... ok. (10 failures) **** running nofib (-O -prof -auto-all -fasm) ... ok. (10 failures) **** running nofib (-fasm) ... ok. (8 failures) **** running nofib (-unreg) ... ok. (4 failures) **** publishing distfiles ... **** ghc-6.7.20070102-src.tar.bz2 (try 0) ... ok. **** ghc-6.7.20070102-src-extralibs.tar.bz2 (try 0)... ok. **** ghc-6.7.20070102-i386-unknown-linux.tar.bz2 (try 0)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070102-i386-unknown-linux.tar.bz2 (try 1)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070102-i386-unknown-linux.tar.bz2 (try 2)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070102-i386-unknown-linux.tar.bz2 (try 3)... ok. **** publishing logs ... ok. **** publishing docs ... 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 All done! Nightly build finished successfully at Wed Jan 3 05:27:37 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Tue Jan 2 23:45:17 GMT 2007 1591 total tests, which gave rise to 9553 test cases, of which 1 caused framework failures 1849 were skipped 7424 expected passes 96 expected failures 8 unexpected passes 166 unexpected failures Unexpected passes: Simple2(normal,prof,unreg) arith008(profasm) cholewo-eval(profasm) mod49(normal) read032(normal) tcfail077(normal) Unexpected failures: Deriving(normal,hpc,prof,profasm,unreg) GMapAssoc(hpc,prof,profasm) GMapTop(hpc,prof,profasm) Over(normal) Simple6(normal) Simple7(normal) Simple8(normal) TH_dataD1(normal) ThreadDelay001(ghci,threaded1,threaded2) arith005(opt,hpc,optasm,prof,profasm,threaded2) arith008(opt,hpc,threaded2) arith011(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) arith012(opt,hpc,threaded2) arrowrun004(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) barton-mangler-bug(opt,hpc,threaded2) base01(normal) break004(ghci) cabal02(normal) cholewo-eval(opt,hpc,threaded2) conc048(threaded2) conc049(threaded1) conc059(threaded2) conc060(unreg) conc062(unreg) conc063(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) drv014(normal,opt,hpc,optasm,prof,profasm,unreg) drvfail011(normal) dynbk008(ghci) ffi-deriv1(normal,opt,hpc,optasm,prof,profasm,unreg) ffi009(opt,prof,threaded2) gadt13(normal) gadt7(normal) galois_raytrace(opt,hpc,prof,threaded2) getC(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) ghcpkg04(normal) ind1(hpc) ind2(hpc,prof,profasm) maessen_hashtab(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) mod177(normal) mod53(normal) mod55(normal) mod56(normal) num012(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) print012(ghci) print016(ghci) read040(normal,opt,hpc,optasm,prof,profasm,unreg) rnfail020(normal) rnfail028(normal) tcfail046(normal) tcfail072(normal) tcfail086(normal) tcfail117(normal) tcfail118(normal) tcfail140(normal) tcfail157(normal) tcfail165(normal,opt,hpc,optasm,prof,profasm,unreg) tcfail169(normal) tcfail172(normal) ---------------------------------------------------- Nightly run ended at Wed Jan 3 05:27:38 GMT 2007 From sof at galois.com Wed Jan 3 04:29:12 2007 From: sof at galois.com (sof@galois.com) Date: Wed Jan 3 04:21:51 2007 Subject: [nightly] 02-Jan-2007 build of of HEAD on i386-unknown-mingw32 (bling) Message-ID: <01c72f19$Blat.v2.2.2$a1095b02@localhost> From: GHC Build Reports To: cvs-ghc@haskell.org Subject: [nightly] 02-Jan-2007 build of of HEAD on i386-unknown-mingw32 (bling) Build description = of HEAD on i386-unknown-mingw32 (bling) Build location = /fptools/builds/HEAD Build config file = /fptools/builds/ghc-nightly/site/galois/conf-HEAD-bling Nightly build started on bling at Tue Jan 2 22:00:01 PST 2007. **** checking out new source tree ... Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. ok. (GHC Version 6.7.20070102) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** building compiler binary distribution ... ok. **** canonicalizing mingw binary distribution tree... ok **** generating binary distribution + manifest ... ok. **** building mingw .gz binary dist ... ok. **** publishing distfiles ... ok. **** 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 All done! Nightly build finished successfully at Wed Jan 3 01:29:12 PST 2007 Nightly run ended at Wed Jan 3 01:29:12 PST 2007 From simonpj at microsoft.com Wed Jan 3 04:43:49 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 04:40:16 2007 Subject: patch applied (testsuite): Fix sundry test failures (some of Trac #1054) Message-ID: <20070103094349.GA3394@cvs.haskell.org> Wed Jan 3 01:42:07 PST 2007 simonpj@microsoft.com * Fix sundry test failures (some of Trac #1054) M ./tests/ghc-regress/ccall/should_compile/all.T -1 +1 M ./tests/ghc-regress/deriving/should_compile/drv014.hs +2 M ./tests/ghc-regress/module/all.T -1 +1 M ./tests/ghc-regress/module/mod177.stderr -4 M ./tests/ghc-regress/module/mod49.hs +1 M ./tests/ghc-regress/module/mod53.stderr -2 +2 M ./tests/ghc-regress/module/mod55.stderr -2 +2 M ./tests/ghc-regress/module/mod56.stderr -5 +5 M ./tests/ghc-regress/rename/should_fail/all.T -1 +1 M ./tests/ghc-regress/rename/should_fail/rnfail020.stderr -12 M ./tests/ghc-regress/typecheck/should_fail/all.T -2 +2 M ./tests/ghc-regress/typecheck/should_fail/tcfail086.stderr -2 +2 M ./tests/ghc-regress/typecheck/should_fail/tcfail105.hs +4 M ./tests/ghc-regress/typecheck/should_fail/tcfail117.stderr -4 +4 M ./tests/ghc-regress/typecheck/should_fail/tcfail157.stderr +6 M ./tests/ghc-regress/typecheck/should_fail/tcfail165.stderr -12 From simonpj at microsoft.com Wed Jan 3 04:44:59 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 04:41:25 2007 Subject: patch applied (ghc): Comments only Message-ID: <20070103094459.GA3471@cvs.haskell.org> Wed Jan 3 00:25:17 PST 2007 simonpj@microsoft.com * Comments only M ./compiler/hsSyn/HsDecls.lhs -5 +9 From simonpj at microsoft.com Wed Jan 3 04:45:04 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 04:41:30 2007 Subject: patch applied (ghc): Fix another buglet in HsDoc stuff Message-ID: <20070103094504.GA3486@cvs.haskell.org> Wed Jan 3 01:40:58 PST 2007 simonpj@microsoft.com * Fix another buglet in HsDoc stuff A 'foreign export' represents an *occurrence* of a Haskell name, not a *binding* site for the Haskell name. (This was making cc012 fail; Trac #1054. M ./compiler/hsSyn/HsUtils.lhs -2 +1 From simonpj at microsoft.com Wed Jan 3 04:55:05 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 04:51:32 2007 Subject: patch applied (ghc): Better error messages for deriving Message-ID: <20070103095505.GA3642@cvs.haskell.org> Wed Jan 3 01:54:12 PST 2007 simonpj@microsoft.com * Better error messages for deriving M ./compiler/typecheck/TcSimplify.lhs -6 +10 From simonpj at microsoft.com Wed Jan 3 04:56:48 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 04:53:15 2007 Subject: patch applied (testsuite): More test-suite updates Message-ID: <20070103095648.GA3697@cvs.haskell.org> Wed Jan 3 01:55:06 PST 2007 simonpj@microsoft.com * More test-suite updates M ./tests/ghc-regress/deriving/should_fail/drvfail001.stderr -5 +10 M ./tests/ghc-regress/deriving/should_fail/drvfail002.stderr -4 +4 M ./tests/ghc-regress/deriving/should_fail/drvfail003.stderr -4 +4 M ./tests/ghc-regress/deriving/should_fail/drvfail007.stderr -5 +4 M ./tests/ghc-regress/typecheck/should_fail/tcfail046.stderr -6 +4 M ./tests/ghc-regress/typecheck/should_fail/tcfail118.stderr -3 +2 From simonpj at microsoft.com Wed Jan 3 05:19:18 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 05:15:46 2007 Subject: patch applied (testsuite): No pattern matching on GADTs except if type is rigid Message-ID: <20070103101918.GA4014@cvs.haskell.org> Wed Jan 3 02:17:15 PST 2007 simonpj@microsoft.com * No pattern matching on GADTs except if type is rigid GHC currnently will only pattern-match on a GADT if the scrutinee type is rigid. It's kind-of possible to mactch a wobbly scrutinee if all the case alternatives can be made compatible, but that seems a rare case. So for now, I'm just making it illegal. M ./tests/ghc-regress/gadt/gadt13.stderr -4 +5 M ./tests/ghc-regress/gadt/gadt7.stderr -9 +13 From simonpj at microsoft.com Wed Jan 3 05:25:58 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 05:22:25 2007 Subject: patch applied (ghc): Add newline at end Message-ID: <20070103102558.GA4168@cvs.haskell.org> Wed Jan 3 02:24:08 PST 2007 simonpj@microsoft.com * Add newline at end M ./compiler/ghci/Debugger.hs +1 From simonpj at microsoft.com Wed Jan 3 05:26:02 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 05:22:30 2007 Subject: patch applied (ghc): Change to Unix line-line-endings Message-ID: <20070103102602.GA4182@cvs.haskell.org> Wed Jan 3 02:24:19 PST 2007 simonpj@microsoft.com * Change to Unix line-line-endings M ./compiler/ghci/RtClosureInspect.hs -623 +624 From simonpj at microsoft.com Wed Jan 3 05:26:06 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 05:22:33 2007 Subject: patch applied (ghc): Make warnings come out in deterministic order Message-ID: <20070103102606.GA4196@cvs.haskell.org> Wed Jan 3 02:24:38 PST 2007 simonpj@microsoft.com * Make warnings come out in deterministic order Fixes Trac #1053 M ./compiler/typecheck/TcInstDcls.lhs -4 +4 From simonpj at microsoft.com Wed Jan 3 05:43:56 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 05:40:23 2007 Subject: patch applied (ghc): Comments only Message-ID: <20070103104356.GA4581@cvs.haskell.org> Wed Jan 3 02:35:24 PST 2007 simonpj@microsoft.com * Comments only M ./compiler/typecheck/TcSplice.lhs +12 From simonpj at microsoft.com Wed Jan 3 06:38:21 2007 From: simonpj at microsoft.com (Simon Peyton-Jones) Date: Wed Jan 3 06:34:49 2007 Subject: Major type-class overhaul In-Reply-To: <20061114073044.GB6890@lambda> References: <20061113124357.GA8749@lambda> <20061113132834.GC8749@lambda> <20061114073044.GB6890@lambda> Message-ID: Tomasz I'm happy to say that this is fixed. Try the HEAD. I've immortalised your example as tests gadt21 and gadt22 Simon | -----Original Message----- | From: Tomasz Zielonka [mailto:tomasz.zielonka@gmail.com] | Sent: 14 November 2006 07:31 | To: Simon Peyton-Jones | Subject: Re: Major type-class overhaul | | On Mon, Nov 13, 2006 at 03:33:25PM +0000, Simon Peyton-Jones wrote: | > | If you want, I can create a small example. | > | > yes please. I can't help at all without ! | | It seems that it was my error, at least to some degree. Example | code giving this strange error: | | {-# OPTIONS -fglasgow-exts -Wall #-} | | module Expr where | | import Data.Set (Set) | | data Type a where | TypeInt :: Type Int | TypeSet :: {- Ord a => -} Type a -> Type (Set a) | TypeFun :: Type a -> Type b -> Type (a -> b) | | data Expr :: * -> * where | Const :: Type a -> a -> Expr a | | data DynExpr = forall a. DynExpr (Expr a) | | withOrdDynExpr :: DynExpr -> (forall a. Ord a => Expr a -> b) -> | Maybe b | withOrdDynExpr (DynExpr e@(Const (TypeSet _) _)) f = Just (f e) | withOrdDynExpr (DynExpr e@(Const TypeInt _)) f = Just (f e) | withOrdDynExpr _ _ = Nothing | | It compiles when you uncomment the (Ord a) context. | When there is no context, I get the "Overlapping instances" | error. | | Best regards | Tomasz From simonpj at microsoft.com Wed Jan 3 07:10:09 2007 From: simonpj at microsoft.com (Simon Peyton-Jones) Date: Wed Jan 3 07:06:37 2007 Subject: Arrowcase1 Message-ID: Ross The test arrows/should_compile/arrowcase1 is failing Lint. The bug is in the desugarer. Here's a smaller test case: h :: ArrowChoice a => Int -> a (Int,Int) Int h x = proc (y,z) -> case compare x y of GT -> returnA -< z+x The type checker turns the case into case compare x y of GT { p77 = plusInt } -> returnA -< p77 z x Here p77 is a local binding for the (+) operation. In general, patterns can contain bindings (used to discharge constraints that are bound by the pattern). In this case the binding isn't strictly necessary, but in general it is - consider existentials. It's equivalent to adding a 'let' around the RHS, but since the patters are perhaps nested, and one pattern might use a constraint that is bound by another, the pattern is the right place to attach the binding. This has come up because GHC is binding things a little earlier than before, but an existential would have exposed it before. The trouble is that the suspicious-looking replaceLeaves code in DsArrows (line 528 or so) doesn't know about these bindings. I don't understand DsArrows at all. Indeed the whole Arrows code feels smelly to me. Maybe we tried to share too much code? Anyway, could you look at it? Thanks. It's Trac #1080 Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.haskell.org/pipermail/cvs-ghc/attachments/20070103/0eca5366/attachment.htm From simonpj at microsoft.com Wed Jan 3 07:14:53 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 07:11:19 2007 Subject: patch applied (testsuite): Add more GADT tests, this time concerning contexts in data constructors Message-ID: <20070103121453.GA5879@cvs.haskell.org> Wed Jan 3 03:36:57 PST 2007 simonpj@microsoft.com * Add more GADT tests, this time concerning contexts in data constructors M ./tests/ghc-regress/gadt/all.T +2 A ./tests/ghc-regress/gadt/gadt21.hs A ./tests/ghc-regress/gadt/gadt21.stderr A ./tests/ghc-regress/gadt/gadt22.hs From simonpj at microsoft.com Wed Jan 3 07:14:55 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 07:11:23 2007 Subject: patch applied (testsuite): Fixed TH problem Message-ID: <20070103121455.GA5899@cvs.haskell.org> Wed Jan 3 04:13:41 PST 2007 simonpj@microsoft.com * Fixed TH problem M ./tests/ghc-regress/th/all.T -4 +4 From simonpj at microsoft.com Wed Jan 3 07:16:34 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 07:12:59 2007 Subject: patch applied (ghc): Fix several bugs related to finding free variables Message-ID: <20070103121634.GA5970@cvs.haskell.org> Wed Jan 3 03:50:09 PST 2007 simonpj@microsoft.com * Fix several bugs related to finding free variables Now that coercion variables mention types, a type-lambda binder can have free variables. This patch adjusts the free-variable finder to take account of this, by treating Ids and TyVars more uniformly. In addition, I fixed a bug in the specialiser that was missing a free type variable in a binder. And a bug in tyVarsOfInst that was missing the type variables in the kinds of the quantified tyvars. M ./compiler/basicTypes/Var.lhs -14 +16 M ./compiler/coreSyn/CoreFVs.lhs -22 +22 M ./compiler/simplCore/SetLevels.lhs -2 +1 M ./compiler/specialise/Specialise.lhs -3 +5 M ./compiler/typecheck/Inst.lhs -3 +5 M ./compiler/typecheck/TcPat.lhs -1 +1 From simonpj at microsoft.com Wed Jan 3 07:16:39 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 07:13:05 2007 Subject: patch applied (ghc): Fix stupid error in rehashing TcRnDriver (fixes TH test errors) Message-ID: <20070103121639.GA5993@cvs.haskell.org> Wed Jan 3 04:15:40 PST 2007 simonpj@microsoft.com * Fix stupid error in rehashing TcRnDriver (fixes TH test errors) M ./compiler/typecheck/TcRnDriver.lhs -5 +6 From sof at galois.com Wed Jan 3 08:22:56 2007 From: sof at galois.com (sof@galois.com) Date: Wed Jan 3 08:15:34 2007 Subject: [nightly] 03-Jan-2007 build of of 6.6 branch on i386-unknown-mingw32 (bling) Message-ID: <01c72f3a$Blat.v2.2.2$47acdf0e@localhost> From: GHC Build Reports To: cvs-ghc@haskell.org Subject: [nightly] 03-Jan-2007 build of of 6.6 branch on i386-unknown-mingw32 (bling) Build description = of 6.6 branch on i386-unknown-mingw32 (bling) Build location = /fptools/builds/STABLE Build config file = /fptools/builds/ghc-nightly/site/galois/conf-STABLE-bling Nightly build started on bling at Wed Jan 3 02:00:01 PST 2007. **** checking out new source tree ... Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. ok. (GHC Version 6.6.20070103) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... failed; relevant barfage is below. **** building compiler binary distribution ... ok. **** canonicalizing mingw binary distribution tree... ok **** generating binary distribution + manifest ... ok. **** building mingw .gz binary dist ... ok. **** publishing distfiles ... 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 All done! Nightly build finished successfully at Wed Jan 3 05:22:55 PST 2007 ------------------------------------------------------------------------ ------------------------------------------------------------------------ The last 30 lines of /fptools/builds/STABLE/logs/i386-unknown-mingw32-stage2 are ------------------------------------------------------------------------ ------------------------------------------------------------------------ -DHADDOCK_IFACE='"c:/fptools/builds/STABLE/fptools/libraries/ghc/html/ghc.haddock"' \ -DFPTOOLS_TOP_ABS='"c:/fptools/builds/STABLE/fptools"' \ -x c -DPKG_DEPENDS='template-haskell Win32 Cabal regex-compat base haskell98' -DSTAGE='"2"' -I../includes -Iinclude -DPACKAGE=ghc -DVERSION=6.6.20070103 -DPKG_LIBDIR='"$topdir"' -DPKG_DATADIR='"$topdir"' package.conf.in | \ grep -v '^#pragma GCC' | \ sed -e 's/""//g' -e 's/:[ ]*,/: /g' >package.conf.inplace ../utils/ghc-pkg/ghc-pkg-inplace update - --force-files > ../compiler/stage1/ghc-inplace -o stage2/ghc -H16m -O -package ghc -Istage2 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -Rghc-timing -O -H32m -DGHCI -DBREAKPOINT -threaded stage2/main/Main.o c:\fptools\builds\STABLE\fptools\rts/libHSrts_thr.a(IOManager.thr_o):IOManager.c:(.text+0x24a): undefined reference to `rts_waitConsoleHandlerCompletion' collect2: ld returned 1 exit status <> make[1]: *** [stage2/ghc] Error 1 make[1]: Leaving directory `/fptools/builds/STABLE/fptools/compiler' make: *** [stage2/ghc] Error 2 real 15m1.832s user 0m47.453s sys 0m20.101s Nightly run ended at Wed Jan 3 05:22:55 PST 2007 From simonpj at microsoft.com Wed Jan 3 09:56:33 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 09:53:00 2007 Subject: patch applied (ghc-6.6/ghc): Fix free-variable bug in specialiser (already done separately in HEAD) Message-ID: <20070103145633.GA9021@cvs.haskell.org> Wed Jan 3 06:53:52 PST 2007 simonpj@microsoft.com * Fix free-variable bug in specialiser (already done separately in HEAD) M ./compiler/specialise/Specialise.lhs -2 +2 From simonpj at microsoft.com Wed Jan 3 09:56:37 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 09:53:02 2007 Subject: patch applied (ghc-6.6/ghc): Hack to ameliorate Trac #1072 Message-ID: <20070103145637.GA9046@cvs.haskell.org> Wed Jan 3 06:55:25 PST 2007 simonpj@microsoft.com * Hack to ameliorate Trac #1072 See the coments in Trac #1072. This patch doesn't cure the problem, but it makes it much less pressing, I think. M ./compiler/types/Type.lhs +9 From simonpj at microsoft.com Wed Jan 3 10:37:23 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 10:33:49 2007 Subject: patch applied (ghc): Fix bug in cast optimisation; fixes Trac #995 Message-ID: <20070103153723.GA9601@cvs.haskell.org> Wed Jan 3 07:35:30 PST 2007 simonpj@microsoft.com * Fix bug in cast optimisation; fixes Trac #995 There was a plain bug in the cast-optimiation code -- a call to splitCoercionKind_maybe instead of coercionKind! Result was that we missed useful opportunities to move casts around. Trac #995 is an example, but I bet there are more. M ./compiler/simplCore/Simplify.lhs -13 +14 From simonpj at microsoft.com Wed Jan 3 11:04:15 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 11:00:40 2007 Subject: patch applied (testsuite): Add test for floating strict bindings Message-ID: <20070103160415.GA10189@cvs.haskell.org> Wed Jan 3 07:08:33 PST 2007 simonpj@microsoft.com * Add test for floating strict bindings M ./tests/ghc-regress/simplCore/should_compile/all.T +2 A ./tests/ghc-regress/simplCore/should_compile/strict-float.hs From simonpj at microsoft.com Wed Jan 3 11:04:16 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 11:00:43 2007 Subject: patch applied (testsuite): Add a fundep test, due to Yitzchak Gale Message-ID: <20070103160416.GA10211@cvs.haskell.org> Wed Jan 3 08:03:36 PST 2007 simonpj@microsoft.com * Add a fundep test, due to Yitzchak Gale M ./tests/ghc-regress/typecheck/should_compile/all.T +1 A ./tests/ghc-regress/typecheck/should_compile/tc223.hs From simonpj at microsoft.com Wed Jan 3 11:09:28 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 11:05:56 2007 Subject: patch applied (ghc): Be more relaxed about reporting ambiguous class methods Message-ID: <20070103160928.GA10598@cvs.haskell.org> Wed Jan 3 08:07:03 PST 2007 simonpj@microsoft.com * Be more relaxed about reporting ambiguous class methods (MERGE to STABLE branch, pls) This patch makes us a bit more relaxed about ambiguous class method types. See tc223 for an example. Reported by Yitzchak Gale M ./compiler/typecheck/TcTyClsDecls.lhs -2 +8 From ross at soi.city.ac.uk Wed Jan 3 12:28:26 2007 From: ross at soi.city.ac.uk (Ross Paterson) Date: Wed Jan 3 12:24:54 2007 Subject: Arrowcase1 In-Reply-To: References: Message-ID: <20070103172826.GB7085@soi.city.ac.uk> On Wed, Jan 03, 2007 at 12:10:09PM +0000, Simon Peyton-Jones wrote: > Here's a smaller test case: > > h :: ArrowChoice a => Int -> a (Int,Int) Int > h x = proc (y,z) -> case compare x y of > GT -> returnA -< z+x > > The type checker turns the case into > > case compare x y of > GT { p77 = plusInt } -> returnA -< p77 z x > > Here p77 is a local binding for the (+) operation. In general, patterns > can contain bindings (used to discharge constraints that are bound by > the pattern). In this case the binding isn't strictly necessary, but > in general it is - consider existentials. It's equivalent to adding > a 'let' around the RHS, but since the patterns are perhaps nested, > and one pattern might use a constraint that is bound by another, > the pattern is the right place to attach the binding. OK, so I'll need to put p77 in the pipe along with x and z. I think my problem is I'm using collectPatsBinders to get the vars bound by a pattern, but it deliberately doesn't include dictionary binders from ConPatOut. Am I going to get the same issue everywhere there are patterns? > I don't understand DsArrows at all. Indeed the whole Arrows code > feels smelly to me. It is a house of horrors, I'll admit, but it does a horrible job. > Maybe we tried to share too much code? Contrariwise, I think that using the same structures for commands that correspond to expressions was the right thing to do. The complications arise because the DsArrows stuff does its own computations of what's in scope (so it knows exactly what to put in the pipe), doubtless duplicating what's done elsewhere. From catamorphism at gmail.com Wed Jan 3 12:36:51 2007 From: catamorphism at gmail.com (Kirsten Chevalier) Date: Wed Jan 3 12:33:16 2007 Subject: Laptop recommendations for GHC hacking? Message-ID: <4683d9370701030936l766a6fbo8ad677220d7db97f@mail.gmail.com> Hello all, I'm in the market for a new laptop, and since I'll mainly be using it to hack on GHC and other Haskell projects, I thought I would ask what other people are using. One shouldn't really need a specialized machine for this, but since my ancient PowerBook G4 (where "ancient" is defined as "four years old") running Mac OS 10.2.1 has so far cost me several days of work trying to build the HEAD on it, I figured that it was both time to get something newer and a good time to figure out which OS/machine combination would save me that amount of work in the future. I'm trying to spend under $600, get as much RAM as possible, and not use a proprietary OS (this leaves me with */Linux or *BSD as the best options, but I have no idea which flavor will save me the most time spent configuring and reinstalling things -- that's my priority, as I've wasted enough of my life on that sort of activity already). Hope this isn't too off-topic. Please reply to me rather than the list, though I can summarize if people are interested. Thanks, Kirsten -- Kirsten Chevalier* chevalier@alum.wellesley.edu *Often in error, never in doubt "...real programmers often wear climbing boots to work in case a mountain should suddenly spring up in the middle of the machine room." -- anon. From simonpj at microsoft.com Wed Jan 3 13:00:51 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 12:57:18 2007 Subject: patch applied (ghc): Comments only Message-ID: <20070103180051.GA13921@cvs.haskell.org> Wed Jan 3 09:55:58 PST 2007 simonpj@microsoft.com * Comments only M ./compiler/hsSyn/HsExpr.lhs -23 +22 From simonpj at microsoft.com Wed Jan 3 13:00:56 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 12:57:22 2007 Subject: patch applied (ghc): Comments only Message-ID: <20070103180056.GA13941@cvs.haskell.org> Wed Jan 3 09:56:38 PST 2007 simonpj@microsoft.com * Comments only M ./compiler/types/TyCon.lhs -12 +16 From simonpj at microsoft.com Wed Jan 3 13:01:00 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 12:57:26 2007 Subject: patch applied (ghc): Add a type synonym for FamInstEnvs Message-ID: <20070103180100.GA13956@cvs.haskell.org> Wed Jan 3 09:59:13 PST 2007 simonpj@microsoft.com * Add a type synonym for FamInstEnvs M ./compiler/types/FamInstEnv.lhs -3 +6 From simonpj at microsoft.com Wed Jan 3 13:01:05 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Wed Jan 3 12:57:30 2007 Subject: patch applied (ghc): Record-ise the liberate-case envt, in preparation for new stuff Message-ID: <20070103180105.GA13970@cvs.haskell.org> Wed Jan 3 09:59:32 PST 2007 simonpj@microsoft.com * Record-ise the liberate-case envt, in preparation for new stuff M ./compiler/simplCore/LiberateCase.lhs -32 +42 From chak at cse.unsw.edu.au Wed Jan 3 20:31:32 2007 From: chak at cse.unsw.edu.au (chak@cse.unsw.edu.au) Date: Wed Jan 3 20:27:56 2007 Subject: patch applied (testsuite): indexed types: extend Deriving to cover standalone derive Message-ID: <20070104013132.GA21312@cvs.haskell.org> Wed Jan 3 17:30:49 PST 2007 Manuel M T Chakravarty * indexed types: extend Deriving to cover standalone derive M ./tests/ghc-regress/indexed-types/should_compile/Deriving.hs -2 +7 From dons at cse.unsw.edu.au Wed Jan 3 20:48:11 2007 From: dons at cse.unsw.edu.au (Donald Bruce Stewart) Date: Wed Jan 3 20:44:39 2007 Subject: Laptop recommendations for GHC hacking? In-Reply-To: <4683d9370701030936l766a6fbo8ad677220d7db97f@mail.gmail.com> References: <4683d9370701030936l766a6fbo8ad677220d7db97f@mail.gmail.com> Message-ID: <20070104014811.GB12938@cse.unsw.EDU.AU> catamorphism: > Hello all, > I'm in the market for a new laptop, and since I'll mainly be using it > to hack on GHC and other Haskell projects, I thought I would ask what > other people are using. One shouldn't really need a specialized > machine for this, but since my ancient PowerBook G4 (where "ancient" > is defined as "four years old") running Mac OS 10.2.1 has so far cost > me several days of work trying to build the HEAD on it, I figured that > it was both time to get something newer and a good time to figure out > which OS/machine combination would save me that amount of work in the > future. I'm trying to spend under $600, get as much RAM as possible, > and not use a proprietary OS (this leaves me with */Linux or *BSD as > the best options, but I have no idea which flavor will save me the > most time spent configuring and reinstalling things -- that's my > priority, as I've wasted enough of my life on that sort of activity > already). FWIW, I use an x86 Thinkpad X31. I quite like the thinkpad X series, and would buy another. In regards not having to fuss about ports, an x86 running linux (debian) is probably the easiest set up. Keeping an eye out for a dual core machine might be a good idea too, in this age of concurrency. -- Don From ghcbuild at microsoft.com Wed Jan 3 21:56:35 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Wed Jan 3 21:56:36 2007 Subject: [nightly] 03-Jan-2007 build of 6.6 branch on x86_64-unknown-linux (cam-03-unx.europe.corp.microsoft.com) Message-ID: <20070104025635.7436D324138@www.haskell.org> Build description = 6.6 branch on x86_64-unknown-linux (cam-03-unx.europe.corp.microsoft.com) Build location = /64playpen/simonmar/nightly/6.6-cam-03-unx Build config file = /home/simonmar/nightly/site/msrc/conf-6.6-cam-03-unx Nightly build started on cam-03-unx at Wed Jan 3 20:00:02 GMT 2007. **** checking out new source tree ... ok. (GHC Version 6.6.20070103) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... failed. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. **** running nofib (-O -fasm) ... ok. **** running nofib (-O -prof -auto-all) ... ok. **** running nofib (-O -prof -auto-all -fasm) ... ok. **** running nofib (-fasm) ... ok. **** running nofib (-unreg) ... ok. (91 failures) **** publishing distfiles ... **** ghc-6.6.20070103-x86_64-unknown-linux.tar.bz2 (try 0)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (24 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(434) failed. **** ghc-6.6.20070103-x86_64-unknown-linux.tar.bz2 (try 1)... 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 All done! Nightly build finished successfully at Thu Jan 4 03:00:09 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Wed Jan 3 22:56:53 GMT 2007 1458 total tests, which gave rise to 6942 test cases, of which 0 caused framework failures 1190 were skipped 5675 expected passes 56 expected failures 5 unexpected passes 16 unexpected failures Unexpected passes: tc175(normal,opt,optasm,prof,profasm) Unexpected failures: ThreadDelay001(ghci,threaded1,threaded2) conc059(threaded1,threaded2) drvfail002(normal) drvfail003(normal) tcfail071(normal) tcrun032(normal,opt,optasm,prof,profasm,ghci,threaded1,threaded2) ---------------------------------------------------- Nightly run ended at Thu Jan 4 03:00:09 GMT 2007 From ghcbuild at microsoft.com Wed Jan 3 22:25:01 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Wed Jan 3 22:25:03 2007 Subject: [nightly] 03-Jan-2007 build of 6.6 branch on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Message-ID: <20070104032501.C11A232426D@www.haskell.org> Build description = 6.6 branch on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Build location = /playpen/ghc/nightly/STABLE-cam-02-unx Build config file = /home/simonmar/nightly/site/msrc/conf-6.6-cam-02-unx Nightly build started on cam-02-unx at Wed Jan 3 19:00:00 GMT 2007. **** checking out new source tree ... ok. (GHC Version 6.6.20070103) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... failed. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. **** running nofib (-O -fasm) ... ok. (4 failures) **** running nofib (-O -prof -auto-all) ... ok. **** running nofib (-O -prof -auto-all -fasm) ... ok. (5 failures) **** running nofib (-fasm) ... ok. (4 failures) **** running nofib (-unreg) ... ok. (91 failures) **** publishing distfiles ... **** ghc-6.6.20070103-i386-unknown-linux.tar.bz2 (try 0)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.6.20070103-i386-unknown-linux.tar.bz2 (try 1)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.6.20070103-i386-unknown-linux.tar.bz2 (try 2)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.6.20070103-i386-unknown-linux.tar.bz2 (try 3)... ok. **** publishing logs ... ok. **** publishing docs ... 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 All done! Nightly build finished successfully at Thu Jan 4 03:28:36 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Wed Jan 3 22:24:48 GMT 2007 1457 total tests, which gave rise to 6934 test cases, of which 1 caused framework failures 1191 were skipped 5663 expected passes 50 expected failures 5 unexpected passes 17 unexpected failures Unexpected passes: tc175(normal,opt,optasm,prof,profasm) Unexpected failures: ThreadDelay001(ghci,threaded1,threaded2) cg058(ghci) conc048(threaded2) conc059(threaded2) drvfail002(normal) drvfail003(normal) tcfail071(normal) tcrun032(normal,opt,optasm,prof,profasm,ghci,threaded1,threaded2) ---------------------------------------------------- Nightly run ended at Thu Jan 4 03:28:36 GMT 2007 From ghcbuild at microsoft.com Wed Jan 3 22:56:24 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Wed Jan 3 22:56:24 2007 Subject: [nightly] 03-Jan-2007 build of HEAD on x86_64-unknown-linux (cam-03-unx.europe.corp.microsoft.com) Message-ID: <20070104035624.10A983242B3@www.haskell.org> Build description = HEAD on x86_64-unknown-linux (cam-03-unx.europe.corp.microsoft.com) Build location = /64playpen/simonmar/nightly/HEAD-cam-03-unx Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-03-unx Nightly build started on cam-03-unx at Wed Jan 3 20:00:02 GMT 2007. **** checking out new source tree ... ok. (GHC Version 6.7.20070103) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... ok. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. **** running nofib (-O -fasm) ... ok. **** running nofib (-O -prof -auto-all) ... ok. **** running nofib (-O -prof -auto-all -fasm) ... ok. (1 failures) **** running nofib (-fasm) ... ok. (1 failures) **** running nofib (-unreg) ... ok. **** publishing distfiles ... **** ghc-6.7.20070103-src.tar.bz2 (try 0) ... ok. **** ghc-6.7.20070103-src-extralibs.tar.bz2 (try 0)... ok. **** ghc-6.7.20070103-x86_64-unknown-linux.tar.bz2 (try 0)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (24 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(434) failed. **** ghc-6.7.20070103-x86_64-unknown-linux.tar.bz2 (try 1)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (24 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(434) failed. **** ghc-6.7.20070103-x86_64-unknown-linux.tar.bz2 (try 2)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (24 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(434) failed. **** ghc-6.7.20070103-x86_64-unknown-linux.tar.bz2 (try 3)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (24 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(434) failed. **** ghc-6.7.20070103-x86_64-unknown-linux.tar.bz2 (try 4)... ok. **** 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 All done! Nightly build finished successfully at Thu Jan 4 03:59:59 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Wed Jan 3 23:35:19 GMT 2007 1597 total tests, which gave rise to 9607 test cases, of which 0 caused framework failures 1854 were skipped 7529 expected passes 95 expected failures 15 unexpected passes 114 unexpected failures Unexpected passes: Simple2(normal,hpc,prof,profasm,unreg) arith011(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) Unexpected failures: Deriving(normal,hpc,prof,profasm,unreg) GMapAssoc(hpc,prof,profasm) GMapTop(hpc,prof,profasm) Over(normal) Simple6(normal) Simple7(normal) Simple8(normal) TH_dataD1(normal) ThreadDelay001(ghci,threaded1,threaded2) arrowrun004(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) base01(normal) break004(ghci) cabal02(normal) conc059(threaded1,threaded2) conc060(unreg) conc062(unreg) conc063(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) concprog001(ghci) drvfail011(normal) dynbk008(ghci) ffi-deriv1(normal,opt,hpc,optasm,prof,profasm,unreg) getC(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) getEnvironment01(ghci) ghcpkg04(normal) ind1(hpc) ind2(hpc,prof,profasm) maessen_hashtab(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) print007(ghci) print012(ghci) print016(ghci) read040(normal,opt,hpc,optasm,prof,profasm,unreg) rnfail028(normal) tcfail072(normal) tcfail105(normal,opt,hpc,optasm,prof,profasm,unreg) tcfail140(normal) tcfail169(normal) tcfail172(normal) tcrun032(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) ---------------------------------------------------- Nightly run ended at Thu Jan 4 03:59:59 GMT 2007 From ghcbuild at microsoft.com Thu Jan 4 00:01:56 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Thu Jan 4 00:01:58 2007 Subject: [nightly] 03-Jan-2007 build of HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Message-ID: <20070104050156.D0139324371@www.haskell.org> Build description = HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Build location = /playpen/ghc/nightly/HEAD-cam-02-unx Build config file = /home/simonmar/nightly/site/msrc/conf-HEAD-cam-02-unx Nightly build started on cam-02-unx at Wed Jan 3 19:30:00 GMT 2007. **** checking out new source tree ... ok. (GHC Version 6.7.20070103) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** Building stage 3 compiler ... ok. **** building source distribution ... ok. **** building testsuite tools ... ok. **** running tests ... ok (summary below). **** building compiler binary distribution ... ok. **** running nofib (-O) ... ok. (8 failures) **** running nofib (-O -fasm) ... ok. (8 failures) **** running nofib (-O -prof -auto-all) ... ok. (10 failures) **** running nofib (-O -prof -auto-all -fasm) ... ok. (10 failures) **** running nofib (-fasm) ... ok. (8 failures) **** running nofib (-unreg) ... ok. (4 failures) **** publishing distfiles ... **** ghc-6.7.20070103-src.tar.bz2 (try 0) ... ok. **** ghc-6.7.20070103-src-extralibs.tar.bz2 (try 0)... ok. **** ghc-6.7.20070103-i386-unknown-linux.tar.bz2 (try 0)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070103-i386-unknown-linux.tar.bz2 (try 1)... Received disconnect from 128.36.229.215: 2: Corrupted MAC on input. lost connection failed. **** ghc-6.7.20070103-i386-unknown-linux.tar.bz2 (try 2)... ok. **** publishing logs ... ok. **** publishing docs ... 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 All done! Nightly build finished successfully at Thu Jan 4 05:05:31 GMT 2007 ------------- GHC Test summary --------------------- OVERALL SUMMARY for test run started at Wed Jan 3 23:43:21 GMT 2007 1595 total tests, which gave rise to 9587 test cases, of which 1 caused framework failures 1855 were skipped 7474 expected passes 82 expected failures 8 unexpected passes 158 unexpected failures Unexpected passes: Simple2(normal,hpc,prof,profasm,unreg) arith008(profasm) cholewo-eval(profasm) read032(normal) Unexpected failures: Deriving(normal,hpc,prof,profasm,unreg) GMapAssoc(hpc,prof,profasm) GMapTop(hpc,prof,profasm) Over(normal) Simple6(normal) Simple7(normal) Simple8(normal) TH_dataD1(normal) ThreadDelay001(ghci,threaded1,threaded2) arith005(opt,hpc,optasm,prof,profasm,threaded2) arith008(opt,hpc,threaded2) arith011(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) arith012(opt,hpc,threaded2) arrowrun004(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) barton-mangler-bug(opt,hpc,threaded2) base01(normal) break004(ghci) cabal02(normal) cholewo-eval(opt,hpc,threaded2) conc048(threaded2) conc059(threaded2) conc060(unreg) conc062(unreg) conc063(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) concprog001(ghci) drvfail011(normal) dynbk008(ghci) ffi-deriv1(normal,opt,hpc,optasm,prof,profasm,unreg) ffi009(opt,prof,threaded2) galois_raytrace(opt,hpc,prof,threaded2) getC(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) ghcpkg04(normal) ind1(hpc) ind2(hpc,prof,profasm) maessen_hashtab(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) num012(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) print011(ghci) print012(ghci) print016(ghci) read040(normal,opt,hpc,optasm,prof,profasm,unreg) rnfail028(normal) tcfail072(normal) tcfail105(normal,opt,hpc,optasm,prof,profasm,unreg) tcfail140(normal) tcfail169(normal) tcfail172(normal) tcrun032(normal,opt,hpc,optasm,prof,profasm,unreg,ghci,threaded1,threaded2) ---------------------------------------------------- Nightly run ended at Thu Jan 4 05:05:31 GMT 2007 From sjanssen at cse.unl.edu Thu Jan 4 02:53:33 2007 From: sjanssen at cse.unl.edu (Spencer Janssen) Date: Thu Jan 4 02:50:30 2007 Subject: darcs patch: User's guide: length is not a good consumer anymore. Message-ID: <20070104075333.A395975F2BA@spencer-janssens-computer.local> Thu Jan 4 01:52:43 CST 2007 Spencer Janssen * User's guide: length is not a good consumer anymore. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 283044 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/cvs-ghc/attachments/20070104/dd3a6a9c/attachment-0001.bin From simonmarhaskell at gmail.com Thu Jan 4 04:26:18 2007 From: simonmarhaskell at gmail.com (Simon Marlow) Date: Thu Jan 4 04:22:50 2007 Subject: Breakpoints In-Reply-To: <94884F01-2EE5-49E9-8ED9-A3E3F5FD8067__22836.2299073071$1166608845$gmane$org@gmail.com> References: <4589073D.1070108@microsoft.com> <94884F01-2EE5-49E9-8ED9-A3E3F5FD8067__22836.2299073071$1166608845$gmane$org@gmail.com> Message-ID: <459CC83A.5090804@microsoft.com> Pepe Iborra wrote: > Thanks Simon, I will be looking into these asap. I'm taking a plane > back home tomorrow morning after some weeks abroad, so it might take me > a few days to catch up. > > See some more comments inlined below > > On 20/12/2006, at 10:49, Simon Marlow wrote: > >> Hi Pepe, >> >> I played around with breakpoints a little today, they seem to work >> pretty well - nice going! I discovered a few minor issues that you >> might be able to clear up: >> >> - I can't seem to set a breakpoint on 'main'. In fact, in a file that >> contains only 'main', I get: >> *Main> :break add Main 1 >> *** Exception: Module main:Main was not loaded under debugging mode. >> Enable debugging mode and reload it >> >> even though I have -fdebugging turned on. >> > > This might be due to breakpoint coalescing. If there are no local > bindings at a site, the breakpoint is not inserted at instrumentation > time. > And there is a possible explanation for the error message. It might be > that in a file with no breakpoints at all, ghci erroneously reports > that the file was not loaded under debugging mode, when in fact it was. > Should we disable this form of coalescing to minimize end user > confusion, or include a bold disclaimer in the manual and/or the error > message? I don't have a preference for how to do it, but I definitely think the error message shouldn't lie about whether the file was loaded with -fdebugging, and it should definitely be possible to set a breakpoint on Main.main. If you don't have time to do this right now, could you file a ticket and milestone it for 6.8? Cheers, Simon From sof at galois.com Thu Jan 4 04:31:11 2007 From: sof at galois.com (sof@galois.com) Date: Thu Jan 4 04:23:45 2007 Subject: [nightly] 03-Jan-2007 build of of HEAD on i386-unknown-mingw32 (bling) Message-ID: <01c72fe3$Blat.v2.2.2$129f0da6@localhost> From: GHC Build Reports To: cvs-ghc@haskell.org Subject: [nightly] 03-Jan-2007 build of of HEAD on i386-unknown-mingw32 (bling) Build description = of HEAD on i386-unknown-mingw32 (bling) Build location = /fptools/builds/HEAD Build config file = /fptools/builds/ghc-nightly/site/galois/conf-HEAD-bling Nightly build started on bling at Wed Jan 3 22:00:01 PST 2007. **** checking out new source tree ... Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. ok. (GHC Version 6.7.20070103) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... ok. **** building compiler binary distribution ... ok. **** canonicalizing mingw binary distribution tree... ok **** generating binary distribution + manifest ... ok. **** building mingw .gz binary dist ... ok. **** publishing distfiles ... ok. **** 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 All done! Nightly build finished successfully at Thu Jan 4 01:31:11 PST 2007 Nightly run ended at Thu Jan 4 01:31:11 PST 2007 From simonmarhaskell at gmail.com Thu Jan 4 04:53:48 2007 From: simonmarhaskell at gmail.com (Simon Marlow) Date: Thu Jan 4 04:50:15 2007 Subject: -pgmc/a/l default options, other ideas In-Reply-To: <7577EFE7-7C07-4302-AF81-8D76E68A095D__23471.6598679826$1166835900$gmane$org@gmail.com> References: <7577EFE7-7C07-4302-AF81-8D76E68A095D__23471.6598679826$1166835900$gmane$org@gmail.com> Message-ID: <459CCEAC.8020609@microsoft.com> Peter Tanski wrote: > In compiler/main/DriverPipeline.hs, runPhase sets default options *even > if the user has specified a different program with the -pgm option. > The example I ran into before was: > > ghc -pgma yasm -opta "-ax86" -opta "-pgas" -opta "-fwin32" test.asm > > In ghc, these options are stored together under 'dflags": > > runPhase As stop dflags _basename _suff input_fn get_output_fn maybe_loc > = do let as_opts = getOpts dflags opt_a > > runPhase continues to add particular wired-in options as if the only > program used is the default. For example: > SysTools.runAs dflags > ((map SysTools.Option as_opts) > ++ [ SysTools.Option "-c", ... ]) > > This design seems to work as far as people use GHC--I am probably the > only complainer. I understand the purpose of -pgm options is largely > to use a non-standard *location* for a default program. An alternative > design, as if any alternative program might be used, might make users > responsible for adding *all* necessary options for a user-defined -pgm > . For GHC-default includes and link-libraries, GHC might map the > include-opt or link-opt for the -pgm over them with additional options, > such as mapping str1 or str2 from -opt_dlink str1 and -opt_dincl str2 > over the defaults. The order of the options might be preserved by > maintaining the order of the options used in the command line. I don't really mind whether we allow a replacement for the string "-I" to be specified by an option such as -opt-dinc, or whether we simply build into GHC multiple "flavours" of the tools and have an option to select which one is being used. For example, we might have -ccflavour gcc -ccflavour cl to select a different command-line syntax when GHC invokes the C compiler. If the syntaxes are very different, eg. requiring different ordering of options, then this method is to be preferred. On the other hand, if the differences are minor (just renaming options) then the first method might be better. > Ghc may test for a simple equivalence to the default pgm program in > runPhase (before passing it to SysTools.runAs or such). If you wanted > to test for a nonstandard program, as opposed to a nonstandard location > for a default program ("/usr/local/bin/gcc" instead of default > "/usr/bin/gcc"), the test would use a regex and only test the > equivalence of the program name ("gcc"). If the test fails, the > program isn't considered the default and the remaining default options > will not be added in runPhase. > > > In order to gain more flexibility in choosing the default programs and > default options, particularly Microsoft CL and Yasm, I am generating > those programs and options into compiler/main/Config.hs. (As you know, > Config.hs is generated by compiler/Makefile.) By the way, I am adding > a simple comment in Config.hs to alert users to the source of this > generated file: > > -- This file is generated by compiler/Makefile -- > > It might be possible, even preferable, to keep the program names and > default options from Config.hs by storing them in a configuration file > as "Simon" suggested storing them in package.conf in a comment- note in > SysTools.hs. For Win-GHC (as I am calling Windows-native GHC), it > would probably be more "standard" to store them in the Registry; for > other systems they might be stored in package.conf or a specialised > initialisation file. The registry is a really bad place to keep configuration information - it runs into trouble when you want to have multiple installations. A configuration file in a known place relative to the binary is much better, which is what the package.conf file is. Cheers, Simon From simonmarhaskell at gmail.com Thu Jan 4 05:03:35 2007 From: simonmarhaskell at gmail.com (Simon Marlow) Date: Thu Jan 4 05:00:00 2007 Subject: patch applied (ghc): Adding a GENERATED pragma In-Reply-To: <2AE65A29-2BD1-4588-96E0-DE83EB7BBC07__23901.5533858494$1167434292$gmane$org@galois.com> References: <20061229073552.GA19801@cvs.haskell.org> <46C9642A-93B4-4612-AB2A-57094B964702@galois.com> <1167433231.27410.195.camel@localhost> <2AE65A29-2BD1-4588-96E0-DE83EB7BBC07__23901.5533858494$1167434292$gmane$org@galois.com> Message-ID: <459CD0F7.7010805@microsoft.com> Andy Gill wrote: >> >> LINE can already refer to an external non-.hs file. This is exactly how >> things works now with all manner of pre-processors, alex, happy, cpphs, >> c2hs, hsc2hs, etc. >> >> I don't quite have an intuition for this yet, can you give an example of >> how this more fine grained pragma works and some use-case not currently >> covered by LINE? >> > > Ahhh. LINE does? Oh. > > - GENERATED works on an expression based level, and can specify > specific spans. > (20:4 - 21:8, for example). often LINE can be used to do this - you just have to put the expression on a line by itself. GENERATED would seem to be useful if the preprocessor modifies the column numbers, not just the line numbers, of Haskell code in the original source text. Happy is careful not to do this: we retain the indentation of the code inside { .. }, if I recall correctly (or if not, we should :-). > - GENERATED is a true pragma; it hints where things come from, but > does not change > the error message. I want the Haskell source spans to remain unchanges. I don't get this - could you elaborate? Andy - can you give us an idea of your use case for GENERATED? If we do need this, then I suggest either {-# COL #-} for specifying the source column number and/or {-# SPAN #-} for specifying a span (which presumably specifies the span of the following syntactic entity, which we'd have to define precisely). Cheers, Simon From simonmarhaskell at gmail.com Thu Jan 4 05:11:51 2007 From: simonmarhaskell at gmail.com (Simon Marlow) Date: Thu Jan 4 05:08:16 2007 Subject: Redundancy in the build system for packages In-Reply-To: <200701021522.29954.sven.panne__2720.29646807841$1167747760$gmane$org@aedion.de> References: <200701021522.29954.sven.panne__2720.29646807841$1167747760$gmane$org@aedion.de> Message-ID: <459CD2E7.6060701@microsoft.com> Sven Panne wrote: > Looking at our current technology for building packages below ghc/libraries, I > think that for each package there are 2 redundant files: package.conf.in and > prologue.txt. If I see things correctly, almost all information is already in > the foo.cabal files, so the question is: What are the plans for removing this > redundancy? I think this has been discussed before, but I can't remember the > outcome. > > The background behind this: When adding or removing Cabal packages via RPM, > one has to regenerate the Haddock "Contents" page and the "Index" pages to > match the set of currently installed Cabal packages. This is similar to what > has to be done for info pages via install-info. To do this, one needs the > package descriptions, which should be taken from the "description" fields of > the installed Cabal packages (note that these should contain Haddock markup > then). But currently foo.cabal and package.conf.in are very out-of-sync for > most packages (empty/different descriptions, even differing package versions > (fgl!), bug reports due to inconsistent list of modules, etc.). Ian is working on using Cabal to build the packages. This is definitely the direction we want to go. There are some problems, though. These are the ones that spring to mind, I'm sure there are others: - bootstrapping from HC files. Cabal doesn't know how to do this, and the fact that Cabal is a Haskell library itself presents some bootstrapping "issues" :-) - parallel make: currently we can take advantage of 'make -j' when building libraries, Cabal can't do this (yet). - The GHC package: due to a long-standing hard-to-fix bug in GHC, it can't build itself with optimisation and --make, which means that Cabal can't be used to build the GHC package, so we'd need to retain the old build system infrastructure in order to build the GHC package, for now anyway. - we need some extensions to Cabal in order to support conditionals in the .cabal file. I think this is the most urgent sticking point, in fact. The design is more or less complete (see recent discussion on cabal-devel@haskell.org) but no implementation as yet. Cheers, Simon From bulat.ziganshin at gmail.com Thu Jan 4 05:43:35 2007 From: bulat.ziganshin at gmail.com (Bulat Ziganshin) Date: Thu Jan 4 05:40:22 2007 Subject: patch applied (ghc): Adding a GENERATED pragma In-Reply-To: <459CD0F7.7010805@microsoft.com> References: <20061229073552.GA19801@cvs.haskell.org> <46C9642A-93B4-4612-AB2A-57094B964702@galois.com> <1167433231.27410.195.camel@localhost> <2AE65A29-2BD1-4588-96E0-DE83EB7BBC07__23901.5533858494$1167434292$gmane$org@galois.com> <459CD0F7.7010805@microsoft.com> Message-ID: <1125658712.20070104134335@gmail.com> Hello Simon, Thursday, January 4, 2007, 1:03:35 PM, you wrote: >> - GENERATED works on an expression based level, and can specify >> specific spans. >> (20:4 - 21:8, for example). > If we do need this, then I suggest either {-# COL #-} for specifying the source > column number and/or {-# SPAN #-} for specifying a span (which presumably > specifies the span of the following syntactic entity, which we'd have to define > precisely). i think it is better to expand LINE syntax rather that inflate number of small directives -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com From sof at galois.com Thu Jan 4 08:26:39 2007 From: sof at galois.com (sof@galois.com) Date: Thu Jan 4 08:19:11 2007 Subject: [nightly] 04-Jan-2007 build of of 6.6 branch on i386-unknown-mingw32 (bling) Message-ID: <01c73003$Blat.v2.2.2$f76f64ba@localhost> From: GHC Build Reports To: cvs-ghc@haskell.org Subject: [nightly] 04-Jan-2007 build of of 6.6 branch on i386-unknown-mingw32 (bling) Build description = of 6.6 branch on i386-unknown-mingw32 (bling) Build location = /fptools/builds/STABLE Build config file = /fptools/builds/ghc-nightly/site/galois/conf-STABLE-bling Nightly build started on bling at Thu Jan 4 02:00:01 PST 2007. **** checking out new source tree ... Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. Finished getting. ok. (GHC Version 6.6.20070104) **** Building stage 1 compiler ... ok. **** Building stage 2 compiler ... failed; relevant barfage is below. **** building compiler binary distribution ... ok. **** canonicalizing mingw binary distribution tree... ok **** generating binary distribution + manifest ... ok. **** building mingw .gz binary dist ... ok. **** publishing distfiles ... 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 All done! Nightly build finished successfully at Thu Jan 4 05:26:39 PST 2007 ------------------------------------------------------------------------ ------------------------------------------------------------------------ The last 30 lines of /fptools/builds/STABLE/logs/i386-unknown-mingw32-stage2 are ------------------------------------------------------------------------ ------------------------------------------------------------------------ -DHADDOCK_IFACE='"c:/fptools/builds/STABLE/fptools/libraries/ghc/html/ghc.haddock"' \ -DFPTOOLS_TOP_ABS='"c:/fptools/builds/STABLE/fptools"' \ -x c -DPKG_DEPENDS='template-haskell Win32 Cabal regex-compat base haskell98' -DSTAGE='"2"' -I../includes -Iinclude -DPACKAGE=ghc -DVERSION=6.6.20070104 -DPKG_LIBDIR='"$topdir"' -DPKG_DATADIR='"$topdir"' package.conf.in | \ grep -v '^#pragma GCC' | \ sed -e 's/""//g' -e 's/:[ ]*,/: /g' >package.conf.inplace ../utils/ghc-pkg/ghc-pkg-inplace update - --force-files > ../compiler/stage1/ghc-inplace -o stage2/ghc -H16m -O -package ghc -Istage2 -cpp -fglasgow-exts -fno-generics -Rgh