From cvs-ghc at haskell.org Sun Jul 1 03:30:01 2007 From: cvs-ghc at haskell.org (BuildBot Collator) Date: Sun Jul 1 03:24:04 2007 Subject: Daily report for head Message-ID: <200707010730.l617U1MK029720@monk.galois.com> Build results: x86-64 Linux head: fail (failed stage1) x86 Windows head: fail (failed pushchanges failed slave lost) fail (failed darcs) x86 Windows head fast: fail (failed stage2) fail (failed stage1) fail (failed stage2) fail (failed stage2) fail (failed stage2) mnemosyne x86-64 Gentoo head: fail (failed stage1) phil P4 SuSE Linux head: fail (exception darcs) tnaur x86 Linux head: fail (failed stage2) Dropping unexpected test passes reports from builders not seen in 7 days: x86-64 Linux head x86-64 Linux head unreg Fixed unexpected test passes: getC Old unexpected test passes: print022 2 x86 Windows head fast Dropping unexpected test failures reports from builders not seen in 7 days: x86-64 Linux head x86-64 Linux head unreg Fixed unexpected test failures: barton-mangler-bug break001 break005 break006 break010 break011 break012 break013 break014 break015 break016 break018 cg015 cg035 conc022 conc046 conc049 conc052 conc060 conc061 conc062 conc063 concio001.thr driver017 driver035 dynbrk005 dynbrk007 dynbrk008 dynbrk009 fed001 ffi003 ffi004 ffi006 ffi009 ffi010 ffi011 ffi013 ffi018 hist001 ind2 ioref001 maessen_hashtab mod49 net001 print001 print002 print003 print004 print005 print006 print007 print008 print010 print011 print012 print013 print014 print015 print016 print018 print019 print020 print021 print022 print023 read008 result001 rnfail008 tcfail051 tcfail056 tcfail077 Old unexpected test failures: GMapAssoc 1 tnaur x86 Linux head GMapTop 1 tnaur x86 Linux head Simple12 1 x86 Windows head fast Simple5a 1 x86 Windows head fast arith005 1 tnaur x86 Linux head break017 2 x86 Windows head fast conc057 1 tnaur x86 Linux head conc068 1 tnaur x86 Linux head concprog001 1 tnaur x86 Linux head drv015 2 x86 Windows head fast ffi-deriv1 2 x86 Windows head fast gadt23 1 tnaur x86 Linux head galois_raytrace 1 tnaur x86 Linux head ghc-e001 1 x86 Windows head fast ghciprog004 1 x86 Windows head fast haddock.Test 1 tnaur x86 Linux head lazypat 1 x86 Windows head fast list001 1 x86 Windows head fast mod110 1 x86 Windows head fast mod142 1 x86 Windows head fast mod143 1 x86 Windows head fast mod144 1 x86 Windows head fast mod145 1 x86 Windows head fast mod146 1 x86 Windows head fast mod150 1 x86 Windows head fast mod151 1 x86 Windows head fast mod152 1 x86 Windows head fast mod153 1 x86 Windows head fast mod155 1 x86 Windows head fast mod164 1 x86 Windows head fast mod165 1 x86 Windows head fast print017 2 x86 Windows head fast print024 2 x86 Windows head fast readwrite002 1 x86 Windows head fast rnfail029 1 x86 Windows head fast rnfail040 1 x86 Windows head fast rnfail044 1 x86 Windows head fast rw 1 x86 Windows head fast seward-space-leak 1 tnaur x86 Linux head tcfail037 1 x86 Windows head fast tcfail065 1 x86 Windows head fast tcfail068 1 x86 Windows head fast tcfail071 1 x86 Windows head fast tcfail076 1 x86 Windows head fast tcfail103 1 x86 Windows head fast tcfail133 2 x86 Windows head fast tcfail140 2 x86 Windows head fast tcfail145 1 x86 Windows head fast tcfail153 1 x86 Windows head fast tcfail174 1 x86 Windows head fast tcfail179 1 x86 Windows head fast tcrun022 1 tnaur x86 Linux head user001 1 tnaur x86 Linux head utf8_002 1 tnaur x86 Linux head utf8_003 1 tnaur x86 Linux head utf8_004 1 tnaur x86 Linux head utf8_005 1 tnaur x86 Linux head -------------- next part -------------- Last 30 lines: ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c System/Posix/Internals.hs -o dist/build/System/Posix/Internals.o -ohi dist/build/System/Posix/Internals.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c GHC/Conc.lhs -o dist/build/GHC/Conc.o -ohi dist/build/GHC/Conc.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c System/IO/Error.hs -o dist/build/System/IO/Error.o -ohi dist/build/System/IO/Error.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c GHC/Handle.hs -o dist/build/GHC/Handle.o -ohi dist/build/GHC/Handle.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c GHC/IO.hs -o dist/build/GHC/IO.o -ohi dist/build/GHC/IO.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c System/IO.hs -o dist/build/System/IO.o -ohi dist/build/System/IO.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Prelude.hs -o dist/build/Prelude.o -ohi dist/build/Prelude.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Data/Monoid.hs -o dist/build/Data/Monoid.o -ohi dist/build/Data/Monoid.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Monad/Instances.hs -o dist/build/Control/Monad/Instances.o -ohi dist/build/Control/Monad/Instances.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Data/Function.hs -o dist/build/Data/Function.o -ohi dist/build/Data/Function.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Monad/Fix.hs -o dist/build/Control/Monad/Fix.o -ohi dist/build/Control/Monad/Fix.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Arrow.hs -o dist/build/Control/Arrow.o -ohi dist/build/Control/Arrow.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Applicative.hs -o dist/build/Control/Applicative.o -ohi dist/build/Control/Applicative.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Data/Dynamic.hs -o dist/build/Data/Dynamic.o -ohi dist/build/Data/Dynamic.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c GHC/Weak.lhs -o dist/build/GHC/Weak.o -ohi dist/build/GHC/Weak.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Data/IORef.hs -o dist/build/Data/IORef.o -ohi dist/build/Data/IORef.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Exception.hs -o dist/build/Control/Exception.o -ohi dist/build/Control/Exception.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Concurrent/MVar.hs -o dist/build/Control/Concurrent/MVar.o -ohi dist/build/Control/Concurrent/MVar.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Concurrent/SampleVar.hs -o dist/build/Control/Concurrent/SampleVar.o -ohi dist/build/Control/Concurrent/SampleVar.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Concurrent/QSemN.hs -o dist/build/Control/Concurrent/QSemN.o -ohi dist/build/Control/Concurrent/QSemN.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Concurrent/QSem.hs -o dist/build/Control/Concurrent/QSem.o -ohi dist/build/Control/Concurrent/QSem.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Concurrent/Chan.hs -o dist/build/Control/Concurrent/Chan.o -ohi dist/build/Control/Concurrent/Chan.hi stack overflow: use +RTS -K to increase it make[3]: *** [dist/build/Control/Concurrent/Chan.o] Error 1 make[3]: Leaving directory `/64playpen/buildbot/x86_64-linux-head/build/libraries/base' make[2]: *** [make.library.base] Error 2 make[2]: Leaving directory `/64playpen/buildbot/x86_64-linux-head/build/libraries' make[1]: *** [stage1] Error 2 make[1]: Leaving directory `/64playpen/buildbot/x86_64-linux-head/build' -------------- next part -------------- Last 30 lines: rm: cannot remove `C:\\builds\\slave/x86-win-head/build/compiler/stage3/ghc-inplace.exe': Permission denied rm: cannot remove `C:\\builds\\slave/x86-win-head/build/compiler/stage3/ghc.exe': Permission denied rm: cannot remove directory `C:\\builds\\slave/x86-win-head/build/libraries': Directory not empty -------------- next part -------------- Last 30 lines: ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c codeGen/CgStackery.lhs -o stage2/codeGen/CgStackery.o -ohi stage2/codeGen/CgStackery.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c codeGen/CgCallConv.hs -o stage2/codeGen/CgCallConv.o -ohi stage2/codeGen/CgCallConv.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c codeGen/CgParallel.hs -o stage2/codeGen/CgParallel.o -ohi stage2/codeGen/CgParallel.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c codeGen/CgTicky.hs -o stage2/codeGen/CgTicky.o -ohi stage2/codeGen/CgTicky.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c codeGen/CgHeapery.lhs -o stage2/codeGen/CgHeapery.o -ohi stage2/codeGen/CgHeapery.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c codeGen/CgBindery.lhs -o stage2/codeGen/CgBindery.o -ohi stage2/codeGen/CgBindery.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c codeGen/CgInfoTbls.hs -o stage2/codeGen/CgInfoTbls.o -ohi stage2/codeGen/CgInfoTbls.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c codeGen/CgClosure.lhs -o stage2/codeGen/CgClosure.o -ohi stage2/codeGen/CgClosure.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c codeGen/CgTailCall.lhs -o stage2/codeGen/CgTailCall.o -ohi stage2/codeGen/CgTailCall.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c codeGen/CgForeignCall.hs -o stage2/codeGen/CgForeignCall.o -ohi stage2/codeGen/CgForeignCall.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c cmm/CmmParse.hs -o stage2/cmm/CmmParse.o -ohi stage2/cmm/CmmParse.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package Win32 -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070701 -fgenerics -c cmm/PprC.hs -o stage2/cmm/PprC.o -ohi stage2/cmm/PprC.hi stack overflow: use +RTS -K to increase it <> make[2]: *** [stage2/cmm/PprC.o] Error 1 make[2]: Leaving directory `/buildbot/x86-win-fast-head/build/compiler' make[1]: *** [stage2] Error 2 make[1]: Leaving directory `/buildbot/x86-win-fast-head/build' -------------- next part -------------- Last 30 lines: ifBuildable/ifBuildable hpc make make[2]: Entering directory `/var/lib/buildslave/ghc/mnemosyne-amd64-gentoo-head/build/libraries/hpc' GNUmakefile:61: .depend: No such file or directory ../../compiler/stage1/ghc-inplace -M -optdep-f -optdep.depend -package-name hpc-0.5 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -package base-2.1 -package directory-1.0 -package old-time-1.0 -O -Wall -cpp -idist/build -H16m -O -O -fasm -fgenerics Trace.Hpc.Util Trace.Hpc.Mix Trace.Hpc.Tix Trace.Hpc.Reflect for dir in dist/build/Trace/Hpc/; do \ if test ! -d $dir; then mkdir -p $dir; fi \ done make[2]: Leaving directory `/var/lib/buildslave/ghc/mnemosyne-amd64-gentoo-head/build/libraries/hpc' make[2]: Entering directory `/var/lib/buildslave/ghc/mnemosyne-amd64-gentoo-head/build/libraries/hpc' ../../compiler/stage1/ghc-inplace -package-name hpc-0.5 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -package base-2.1 -package directory-1.0 -package old-time-1.0 -O -Wall -cpp -idist/build -H16m -O -O -fasm -fgenerics -c Trace/Hpc/Util.hs -o dist/build/Trace/Hpc/Util.o -ohi dist/build/Trace/Hpc/Util.hi ../../compiler/stage1/ghc-inplace -package-name hpc-0.5 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -package base-2.1 -package directory-1.0 -package old-time-1.0 -O -Wall -cpp -idist/build -H16m -O -O -fasm -fgenerics -c Trace/Hpc/Mix.hs -o dist/build/Trace/Hpc/Mix.o -ohi dist/build/Trace/Hpc/Mix.hi ../../compiler/stage1/ghc-inplace -package-name hpc-0.5 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -package base-2.1 -package directory-1.0 -package old-time-1.0 -O -Wall -cpp -idist/build -H16m -O -O -fasm -fgenerics -c Trace/Hpc/Tix.hs -o dist/build/Trace/Hpc/Tix.o -ohi dist/build/Trace/Hpc/Tix.hi ../../compiler/stage1/ghc-inplace -package-name hpc-0.5 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -package base-2.1 -package directory-1.0 -package old-time-1.0 -O -Wall -cpp -idist/build -H16m -O -O -fasm -fgenerics -c dist/build/Trace/Hpc/Reflect.hs -o dist/build/Trace/Hpc/Reflect.o -ohi dist/build/Trace/Hpc/Reflect.hi echo dist/build/Trace/Hpc/Util.o dist/build/Trace/Hpc/Mix.o dist/build/Trace/Hpc/Tix.o dist/build/Trace/Hpc/Reflect.o `find dist/build -name "*_stub.o" -print` | xargs -s 30000 /usr/bin/ar q dist/build/libHShpc-0.5.a /usr/bin/ar: creating dist/build/libHShpc-0.5.a ld -r -x -o dist/build/HShpc-0.5.o dist/build/Trace/Hpc/Util.o dist/build/Trace/Hpc/Mix.o dist/build/Trace/Hpc/Tix.o dist/build/Trace/Hpc/Reflect.o `find dist/build -name "*_stub.o" -print` make[2]: Leaving directory `/var/lib/buildslave/ghc/mnemosyne-amd64-gentoo-head/build/libraries/hpc' ifBuildable/ifBuildable hpc setup/Setup register --inplace Registering hpc-0.5... Reading package info from "dist/inplace-pkg-config" ... done. Saving old package config file... done. Writing new package config file... done. ifBuildable/ifBuildable base setup/Setup haddock Setup: Warning: Unknown field 'nhc98-options' Preprocessing library base-2.1... Running Haddock for base-2.1... haddock: modules are recursive: GHC.Storable GHC.Stable GHC.IOBase Foreign.C.Types Foreign.Storable Data.Typeable Data.HashTable GHC.ForeignPtr GHC.Exceptionmake[1]: *** [doc.library.base] Error 1 make[1]: Leaving directory `/var/lib/buildslave/ghc/mnemosyne-amd64-gentoo-head/build/libraries' make: *** [stage1] Error 2 -------------- next part -------------- Last 30 lines: -------------- next part -------------- Last 30 lines: <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c codeGen/CgStackery.lhs -o stage2/codeGen/CgStackery.o -ohi stage2/codeGen/CgStackery.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c codeGen/CgCallConv.hs -o stage2/codeGen/CgCallConv.o -ohi stage2/codeGen/CgCallConv.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c codeGen/CgParallel.hs -o stage2/codeGen/CgParallel.o -ohi stage2/codeGen/CgParallel.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c codeGen/CgTicky.hs -o stage2/codeGen/CgTicky.o -ohi stage2/codeGen/CgTicky.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c codeGen/CgHeapery.lhs -o stage2/codeGen/CgHeapery.o -ohi stage2/codeGen/CgHeapery.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c codeGen/CgBindery.lhs -o stage2/codeGen/CgBindery.o -ohi stage2/codeGen/CgBindery.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c codeGen/CgInfoTbls.hs -o stage2/codeGen/CgInfoTbls.o -ohi stage2/codeGen/CgInfoTbls.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c codeGen/CgClosure.lhs -o stage2/codeGen/CgClosure.o -ohi stage2/codeGen/CgClosure.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c codeGen/CgTailCall.lhs -o stage2/codeGen/CgTailCall.o -ohi stage2/codeGen/CgTailCall.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c codeGen/CgForeignCall.hs -o stage2/codeGen/CgForeignCall.o -ohi stage2/codeGen/CgForeignCall.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c cmm/CmmParse.hs -o stage2/cmm/CmmParse.o -ohi stage2/cmm/CmmParse.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070630 -fgenerics -c cmm/PprC.hs -o stage2/cmm/PprC.o -ohi stage2/cmm/PprC.hi stack overflow: use +RTS -K to increase it <> make[1]: *** [stage2/cmm/PprC.o] Error 1 make[1]: Leaving directory `/home/tn/tn/buildbot/ghc/tnaur-x86-linux/tnaur-x86-linux-head/build/compiler' make: *** [stage2] Error 2 From ndmitchell at gmail.com Sun Jul 1 08:37:11 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Sun Jul 1 08:31:12 2007 Subject: GHC Core questions Message-ID: <404396ef0707010537vf7d6101m98c6e23155fefc0f@mail.gmail.com> Hi, Thanks to all the help I've now managed to get GHC Core converted to Yhc Core (the source is at the end of this mail, if anyone wants a look). I have three remaining issues: 1) Data types (i.e. data/newtype) are not represented in [CoreBind] at all, as far as I can tell. Is Core meant to keep a list of the data types? If not, could they be added? 2) Dictionaries sometimes seem to generate names with different Var's, but when show'ing those Vars, they result in the same string. Is show of a Var meant to be sufficient to get uniqueness back? Unfortunately I don't have a complete example of this, as currently the machine on which I did the conversion cannot connect to the internet - I will provide one in a few days. 3) Is it possible to get the Core out of a file without having the source present? I suspect the answer is no. If so, is there any way to get the Core from the Prelude/base libraries without building GHC from source, since the Windows binary does not ship with Prelude.hs etc. Thanks Neil --- GHC -> Yhc convertor --- -- note: uses the old interface to generate Core, since that matches the snapshot on -- the machine I developed it -- -- some functions are branches are incomplete, purely because I have not -- encountered them yet import GHC import Outputable import CoreSyn hiding (CoreExpr) import Var import Literal import Yhc.Core import Data.List ghcBaseDir = "D:/ghc/ghc-6.7.20070626" main = do core <- loadCoreFile "D:/ghc/Main.hs" "Main" case core of Just c -> showQuick c -- print $ transBinds c _ -> putStrLn "error compiling to Core" loadCoreFile :: FilePath -> String -> IO (Maybe [CoreBind]) loadCoreFile file modname = do s <- newSession (Just ghcBaseDir) -- turn on CPP flags <- getSessionDynFlags s (flags, _) <- parseDynamicFlags flags ["-cpp"] setSessionDynFlags s flags -- find the target target <- guessTarget file Nothing addTarget s target sc <- load s LoadAllTargets -- set the context let mkModname = mkModuleName modname mod <- findModule s (mkModuleName modname) Nothing setContext s [] [mod] -- compile to Core compileToCore s mkModname file transBinds :: [CoreBind] -> Core transBinds xs = Core "Main" [] [] [CoreFunc a [] b | (a,b) <- concatMap transBind xs] transBind :: CoreBind -> [(CoreVarName,CoreExpr)] transBind (NonRec b x) = [transFunc b x] transBind (Rec xs) = map (uncurry transFunc) xs transFunc :: Var -> Expr Var -> (CoreVarName,CoreExpr) transFunc var expr = (show var, transExpr expr) transExpr :: Expr Var -> CoreExpr transExpr (Note _ x) = transExpr x transExpr (Var x) = CoreVar (show x) transExpr (App a Type{}) = transExpr a transExpr (App a b) = CoreApp (transExpr a) [transExpr b] transExpr (Lam a b) = CoreLam [show a] (transExpr b) transExpr (Lit x) = transLiteral x transExpr (Let x y) = coreLet (transBind x) (transExpr y) transExpr (Case on x _ alts) = CoreLet [(show x, transExpr on)] $ CoreCase (CoreVar (show x)) (transAlts alts) transExpr (Cast{}) = error "transExpr: Cast" transAlts alts = map transAlt (other ++ def) where (def,other) = partition (\(a,b,c) -> a == DEFAULT) alts transAlt :: Alt Var -> (CoreExpr,CoreExpr) transAlt (alt,args,x) = case alt of DataAlt c -> (CoreApp (CoreCon $ show c) (map (CoreVar . show) args), transExpr x) LitAlt c -> (transLiteral c, transExpr x) DEFAULT -> (CoreVar "_", transExpr x) transLiteral :: Literal -> CoreExpr transLiteral (MachStr x) = CoreStr (read $ show x) transLiteral (MachChar x) = CoreChr x transLiteral x = error $ "transLiteral: " ++ show x showQuick x = pprTrace "Core binds: " (ppr x) (error "done") From isaacdupree at charter.net Sun Jul 1 12:17:35 2007 From: isaacdupree at charter.net (Isaac Dupree) Date: Sun Jul 1 12:09:52 2007 Subject: GHC Core questions In-Reply-To: <404396ef0707010537vf7d6101m98c6e23155fefc0f@mail.gmail.com> References: <404396ef0707010537vf7d6101m98c6e23155fefc0f@mail.gmail.com> Message-ID: <4687D39F.90504@charter.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Neil Mitchell wrote: > --- GHC -> Yhc convertor --- > -- note: uses the old interface to generate Core, since that matches > the snapshot on > -- the machine I developed it > -- > -- some functions are branches are incomplete, purely because I have not > -- encountered them yet > > import GHC > import Outputable > import CoreSyn hiding (CoreExpr) > import Var > import Literal > > import Yhc.Core ... > transExpr :: Expr Var -> CoreExpr > transExpr (Note _ x) = transExpr x > transExpr (Var x) = CoreVar (show x) > transExpr (App a Type{}) = transExpr a > transExpr (App a b) = CoreApp (transExpr a) [transExpr b] Ugh. qualifying with Ghc versus Yhc for the different Cores would make that much nicer. sorry, it bothered me too much Isaac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGh9OeHgcxvIWYTTURArzjAJ4n5s29SecV71zti6FxIA2muUy5MACgh1+2 ybj9ehsQhgjSUu6DmOZNsCA= =HTQL -----END PGP SIGNATURE----- From atomb at soe.ucsc.edu Sun Jul 1 12:34:03 2007 From: atomb at soe.ucsc.edu (Aaron Tomb) Date: Sun Jul 1 12:28:06 2007 Subject: GHC Core questions In-Reply-To: <404396ef0707010537vf7d6101m98c6e23155fefc0f@mail.gmail.com> References: <404396ef0707010537vf7d6101m98c6e23155fefc0f@mail.gmail.com> Message-ID: On Jul 1, 2007, at 5:37 AM, Neil Mitchell wrote: > Hi, > > Thanks to all the help I've now managed to get GHC Core converted to > Yhc Core (the source is at the end of this mail, if anyone wants a > look). I have three remaining issues: > > 1) Data types (i.e. data/newtype) are not represented in [CoreBind] at > all, as far as I can tell. Is Core meant to keep a list of the data > types? If not, could they be added? The entire contents of a module is contained in either a ModGuts or a CgGuts structure (depending on where in the processing pipeline you want it). The External Core emitter takes in a CgGuts structur, which also contains a [TyCon]. Both structures are defined in main/ HscTypes.lhs. > 2) Dictionaries sometimes seem to generate names with different Var's, > but when show'ing those Vars, they result in the same string. Is show > of a Var meant to be sufficient to get uniqueness back? Unfortunately > I don't have a complete example of this, as currently the machine on > which I did the conversion cannot connect to the internet - I will > provide one in a few days. Show instances in GHC are mostly meant for debugging, and thus change with different debugging flags turned on. Normally, all Names (and Vars have Names inside) are printed out as only their textual representation, without the unique number that differentiates them from each other. If you turn on various debugging flags, show will give you their uniques, too. > 3) Is it possible to get the Core out of a file without having the > source present? I suspect the answer is no. If so, is there any way to > get the Core from the Prelude/base libraries without building GHC from > source, since the Windows binary does not ship with Prelude.hs etc. Not entirely. Interface files (.hi) sometimes contain some of the function bodies, in order to inline them, but it would be unusual for all of them to be present. Aaron From ghcbuild at microsoft.com Sun Jul 1 14:38:41 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Sun Jul 1 14:38:43 2007 Subject: [nightly] 01-Jul-2007 build of HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Message-ID: <20070701183841.B640332427C@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 Jul 1 19:30:00 BST 2007. **** checking out new source tree ... ok. (GHC Version 6.7.20070701) **** Building stage 1 compiler ... failed; relevant barfage is below. No successfully built compilers to test; aborting. ------------------------------------------------------------------------ ------------------------------------------------------------------------ The last 30 lines of /playpen/ghc/nightly/HEAD-cam-02-unx/logs/i386-unknown-linux-stage1 are ------------------------------------------------------------------------ ------------------------------------------------------------------------ echo '$BUILDPLATFORM = "i386-unknown-linux";' >> mkdependC cat mkdependC.prl >> mkdependC chmod +x mkdependC gmake[1]: Leaving directory `/playpen/ghc/nightly/HEAD-cam-02-unx/i386-unknown-linux/utils/mkdependC' ------------------------------------------------------------------------ == gmake boot -r; in /playpen/ghc/nightly/HEAD-cam-02-unx/i386-unknown-linux/includes ------------------------------------------------------------------------ cp ../rts/gmp/gmp.h gmp.h Creating ghcautoconf.h... Done. Creating ghcplatform.h... Done. ../utils/mkdependC/mkdependC -f .depend -- -O -DTABLES_NEXT_TO_CODE -I. -I../rts -- mkDerivedConstants.c gcc -O -DTABLES_NEXT_TO_CODE -I. -I../rts -c mkDerivedConstants.c -o mkDerivedConstants.o gcc -o mkDerivedConstantsHdr -O -DTABLES_NEXT_TO_CODE -I. -I../rts mkDerivedConstants.o ./mkDerivedConstantsHdr >DerivedConstants.h gcc -o mkGHCConstants.o -O -DTABLES_NEXT_TO_CODE -I. -I../rts -c mkDerivedConstants.c -DGEN_HASKELL gcc -o mkGHCConstants -O -DTABLES_NEXT_TO_CODE -I. -I../rts mkGHCConstants.o ./mkGHCConstants >GHCConstants.h ------------------------------------------------------------------------ == gmake boot -r; in /playpen/ghc/nightly/HEAD-cam-02-unx/i386-unknown-linux/compat ------------------------------------------------------------------------ ../utils/mkdependC/mkdependC -f .depend -I. -Iinclude -I../includes -- -O -I. -Iinclude -D__GHC_PATCHLEVEL__=2 -I../libraries/base/cbits -I../libraries/base/include -- cbits/directory.c cbits/rawSystem.c cbits/unicode.c ghc-6.2.2 -M -optdep-f -optdep.depend -osuf o -H16m -O -I. -Iinclude -Rghc-timing -H32m -O -I../libraries -fglasgow-exts -no-recomp Compat/Directory.hs Compat/RawSystem.hs Compat/Unicode.hs Distribution/Compat/ReadP.hs Distribution/Compiler.hs Distribution/GetOpt.hs Distribution/InstalledPackageInfo.hs Distribution/License.hs Distribution/Package.hs Distribution/ParseUtils.hs Distribution/Version.hs Language/Haskell/Extension.hs System/Directory/Internals.hs System/FilePath.hs System/FilePath/Posix.hs System/FilePath/Windows.hs Trace/Hpc/Mix.hs Trace/Hpc/Tix.hs Trace/Hpc/Util.hs System/Directory/Internals.hs:3: directory/System/Directory/Internals.hs: No such file or directory <> gmake[1]: *** [depend] Error 1 gmake: *** [stage1] Error 1 Nightly run ended at Sun Jul 1 19:44:39 BST 2007 From catamorphism at gmail.com Sun Jul 1 14:55:29 2007 From: catamorphism at gmail.com (Tim Chevalier) Date: Sun Jul 1 14:49:30 2007 Subject: GHC Core questions In-Reply-To: <404396ef0707010537vf7d6101m98c6e23155fefc0f@mail.gmail.com> References: <404396ef0707010537vf7d6101m98c6e23155fefc0f@mail.gmail.com> Message-ID: <4683d9370707011155h6c2db40x430f94459346ca14@mail.gmail.com> On 7/1/07, Neil Mitchell wrote: > Hi, > > Thanks to all the help I've now managed to get GHC Core converted to > Yhc Core (the source is at the end of this mail, if anyone wants a > look). I have three remaining issues: > > 1) Data types (i.e. data/newtype) are not represented in [CoreBind] at > all, as far as I can tell. Is Core meant to keep a list of the data > types? If not, could they be added? > As Aaron said, the ModGuts data structure represents everything that's in a Core module; right now the compileToCore function that I wrote just selects out the field containing the [CoreBind] and returns it. I could change it to return the entire ModGuts and then the user would be responsible for selecting out the bindings, type environment, etc. Or I could change it to return a pair of the bindings and the type environment (containing the bindings for user-defined data constructors). I guess in principle, users might want to inspect the other fields in ModGuts, so maybe that's the best way to go. Does anyone else have thoughts? > 2) Dictionaries sometimes seem to generate names with different Var's, > but when show'ing those Vars, they result in the same string. Is show > of a Var meant to be sufficient to get uniqueness back? Unfortunately > I don't have a complete example of this, as currently the machine on > which I did the conversion cannot connect to the internet - I will > provide one in a few days. > If you add "-dppr-debug" to the flags for the GHC session, and then show things using "ppr" rather than "show", it should show the uniques. > 3) Is it possible to get the Core out of a file without having the > source present? I suspect the answer is no. If so, is there any way to > get the Core from the Prelude/base libraries without building GHC from > source, since the Windows binary does not ship with Prelude.hs etc. > As Aaron said, no, but I remember Aaron did suggest in the past that an option could be added to generate a "complete" .hi file, containing unfoldings (i.e., Core code) for all exported functions, not just those that GHC thinks should be inlined. So that's something we could discuss if you think it would be useful to you. Cheers, Tim -- Tim Chevalier* catamorphism.org *Often in error, never in doubt "In a land of quince jelly, apple butter, apricot jam, blueberry preserves, pear conserves, and lemon marmalade, you always get grape jelly." --William Least Heat-Moon From cvs-ghc at haskell.org Mon Jul 2 03:30:02 2007 From: cvs-ghc at haskell.org (BuildBot Collator) Date: Mon Jul 2 03:24:04 2007 Subject: Daily report for head Message-ID: <200707020730.l627U2Eb029925@monk.galois.com> Build results: x86-64 Linux head: fail (failed stage1) x86 Windows head: fail (failed stage1) x86 Windows head fast: fail (failed stage2) fail (failed stage2) fail (failed stage1) fail (failed stage1) fail (failed stage1) fail (failed stage1) mnemosyne x86-64 Gentoo head: fail (failed stage2) tnaur x86 Linux head: fail (failed stage1) x86-64 Linux head unreg: fail (failed stage1) Old unexpected test passes: print022 2 x86 Windows head fast Old unexpected test failures: GMapAssoc 1 tnaur x86 Linux head GMapTop 1 tnaur x86 Linux head Simple12 1 x86 Windows head fast Simple5a 1 x86 Windows head fast arith005 1 tnaur x86 Linux head break017 2 x86 Windows head fast conc057 1 tnaur x86 Linux head conc068 1 tnaur x86 Linux head concprog001 1 tnaur x86 Linux head drv015 2 x86 Windows head fast ffi-deriv1 2 x86 Windows head fast gadt23 1 tnaur x86 Linux head galois_raytrace 1 tnaur x86 Linux head ghc-e001 1 x86 Windows head fast ghciprog004 1 x86 Windows head fast haddock.Test 1 tnaur x86 Linux head lazypat 1 x86 Windows head fast list001 1 x86 Windows head fast mod110 1 x86 Windows head fast mod142 1 x86 Windows head fast mod143 1 x86 Windows head fast mod144 1 x86 Windows head fast mod145 1 x86 Windows head fast mod146 1 x86 Windows head fast mod150 1 x86 Windows head fast mod151 1 x86 Windows head fast mod152 1 x86 Windows head fast mod153 1 x86 Windows head fast mod155 1 x86 Windows head fast mod164 1 x86 Windows head fast mod165 1 x86 Windows head fast print017 2 x86 Windows head fast print024 2 x86 Windows head fast readwrite002 1 x86 Windows head fast rnfail029 1 x86 Windows head fast rnfail040 1 x86 Windows head fast rnfail044 1 x86 Windows head fast rw 1 x86 Windows head fast seward-space-leak 1 tnaur x86 Linux head tcfail037 1 x86 Windows head fast tcfail065 1 x86 Windows head fast tcfail068 1 x86 Windows head fast tcfail071 1 x86 Windows head fast tcfail076 1 x86 Windows head fast tcfail103 1 x86 Windows head fast tcfail133 2 x86 Windows head fast tcfail140 2 x86 Windows head fast tcfail145 1 x86 Windows head fast tcfail153 1 x86 Windows head fast tcfail174 1 x86 Windows head fast tcfail179 1 x86 Windows head fast tcrun022 1 tnaur x86 Linux head user001 1 tnaur x86 Linux head utf8_002 1 tnaur x86 Linux head utf8_003 1 tnaur x86 Linux head utf8_004 1 tnaur x86 Linux head utf8_005 1 tnaur x86 Linux head -------------- next part -------------- Last 30 lines: ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c System/Posix/Internals.hs -o dist/build/System/Posix/Internals.o -ohi dist/build/System/Posix/Internals.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c GHC/Conc.lhs -o dist/build/GHC/Conc.o -ohi dist/build/GHC/Conc.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c System/IO/Error.hs -o dist/build/System/IO/Error.o -ohi dist/build/System/IO/Error.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c GHC/Handle.hs -o dist/build/GHC/Handle.o -ohi dist/build/GHC/Handle.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c GHC/IO.hs -o dist/build/GHC/IO.o -ohi dist/build/GHC/IO.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c System/IO.hs -o dist/build/System/IO.o -ohi dist/build/System/IO.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Prelude.hs -o dist/build/Prelude.o -ohi dist/build/Prelude.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Data/Monoid.hs -o dist/build/Data/Monoid.o -ohi dist/build/Data/Monoid.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Monad/Instances.hs -o dist/build/Control/Monad/Instances.o -ohi dist/build/Control/Monad/Instances.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Data/Function.hs -o dist/build/Data/Function.o -ohi dist/build/Data/Function.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Monad/Fix.hs -o dist/build/Control/Monad/Fix.o -ohi dist/build/Control/Monad/Fix.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Arrow.hs -o dist/build/Control/Arrow.o -ohi dist/build/Control/Arrow.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Applicative.hs -o dist/build/Control/Applicative.o -ohi dist/build/Control/Applicative.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Data/Dynamic.hs -o dist/build/Data/Dynamic.o -ohi dist/build/Data/Dynamic.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c GHC/Weak.lhs -o dist/build/GHC/Weak.o -ohi dist/build/GHC/Weak.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Data/IORef.hs -o dist/build/Data/IORef.o -ohi dist/build/Data/IORef.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Exception.hs -o dist/build/Control/Exception.o -ohi dist/build/Control/Exception.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Concurrent/MVar.hs -o dist/build/Control/Concurrent/MVar.o -ohi dist/build/Control/Concurrent/MVar.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Concurrent/SampleVar.hs -o dist/build/Control/Concurrent/SampleVar.o -ohi dist/build/Control/Concurrent/SampleVar.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Concurrent/QSemN.hs -o dist/build/Control/Concurrent/QSemN.o -ohi dist/build/Control/Concurrent/QSemN.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Concurrent/QSem.hs -o dist/build/Control/Concurrent/QSem.o -ohi dist/build/Control/Concurrent/QSem.hi ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O2 -fasm -dcore-lint -fgenerics -c Control/Concurrent/Chan.hs -o dist/build/Control/Concurrent/Chan.o -ohi dist/build/Control/Concurrent/Chan.hi stack overflow: use +RTS -K to increase it make[3]: *** [dist/build/Control/Concurrent/Chan.o] Error 1 make[3]: Leaving directory `/64playpen/buildbot/x86_64-linux-head/build/libraries/base' make[2]: *** [make.library.base] Error 2 make[2]: Leaving directory `/64playpen/buildbot/x86_64-linux-head/build/libraries' make[1]: *** [stage1] Error 2 make[1]: Leaving directory `/64playpen/buildbot/x86_64-linux-head/build' -------------- next part -------------- Last 30 lines: configure: Using hsc2hs: ..\..\utils\hsc2hs\hsc2hs-inplace configure: No c2hs found configure: No cpphs found configure: No greencard found rm -f directory/GNUmakefile cp Makefile.local directory ifBuildable/ifBuildable directory setup/Setup makefile -f GNUmakefile Preprocessing library directory-1.0... Generating Makefile directory-1.0... ifBuildable/ifBuildable directory make make[3]: Entering directory `/buildbot/x86-win-head/build/libraries/directory' GNUmakefile:61: .depend: No such file or directory c:/builds/slave/x86-win-head/build/compiler/stage1/ghc-inplace.exe -M -optdep-f -optdep.depend -optdep-s -optdepp -package-name directory-1.0 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -#include "HsDirectory.h" -odir dist/build -hidir dist/build -package base-2.1 -package old-time-1.0 -package filepath-1.0 -O -cpp -fffi -idist/build -H16m -O -O -Rghc-timing -fgenerics System.Directory <> for dir in dist/build/System/ dist/build/cbits/; do \ if test ! -d $dir; then mkdir -p $dir; fi \ done make[3]: Leaving directory `/buildbot/x86-win-head/build/libraries/directory' make[3]: Entering directory `/buildbot/x86-win-head/build/libraries/directory' c:/builds/slave/x86-win-head/build/compiler/stage1/ghc-inplace.exe -package-name directory-1.0 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -#include "HsDirectory.h" -odir dist/build -hidir dist/build -package base-2.1 -package old-time-1.0 -package filepath-1.0 -O -cpp -fffi -idist/build -H16m -O -O -Rghc-timing -fgenerics -c System/Directory.hs -o dist/build/System/Directory.o -ohi dist/build/System/Directory.hi System/Directory.hs:278:53: Not in scope: `dropDrive' <> make[3]: *** [dist/build/System/Directory.o] Error 1 make[3]: Leaving directory `/buildbot/x86-win-head/build/libraries/directory' make[2]: *** [make.library.directory] Error 2 make[2]: Leaving directory `/buildbot/x86-win-head/build/libraries' make[1]: *** [stage1] Error 2 make[1]: Leaving directory `/buildbot/x86-win-head/build' -------------- next part -------------- Last 30 lines: configure: Using ranlib found on system at: C:\cygwin\bin\ranlib.exe configure: Using runghc found on system at: c:\ghc\ghc-6.6\bin\runghc.exe configure: No runhugs found configure: Using tar found on system at: C:\cygwin\bin\tar.exe configure: Using happy: c:\tools\happy.exe configure: Using alex: c:\tools\alex.exe configure: Using hsc2hs: ..\..\utils\hsc2hs\hsc2hs-inplace configure: No c2hs found configure: No cpphs found configure: No greencard found rm -f process/GNUmakefile cp Makefile.local process ifBuildable/ifBuildable process setup/Setup makefile -f GNUmakefile Preprocessing library process-1.0... Generating Makefile process-1.0... ifBuildable/ifBuildable process make make[3]: Entering directory `/buildbot/x86-win-fast-head/build/libraries/process' GNUmakefile:61: .depend: No such file or directory c:/builds/slave/x86-win-fast-head/build/compiler/stage1/ghc-inplace.exe -M -optdep-f -optdep.depend -package-name process-1.0 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -#include "execvpe.h" -#include "runProcess.h" -odir dist/build -hidir dist/build -package base-2.1 -package directory-1.0 -O -cpp -idist/build -H16m -O -O -fasm -fgenerics System.Cmd System.Process System.Process.Internals System/Process/Internals.hs:71:7: Could not find module `System.Directory.Internals': Use -v to see a list of the files searched for. make[3]: *** [.depend] Error 1 make[3]: Leaving directory `/buildbot/x86-win-fast-head/build/libraries/process' make[2]: *** [make.library.process] Error 2 make[2]: Leaving directory `/buildbot/x86-win-fast-head/build/libraries' make[1]: *** [stage1] Error 2 make[1]: Leaving directory `/buildbot/x86-win-fast-head/build' -------------- next part -------------- Last 30 lines: <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c codeGen/CgStackery.lhs -o stage2/codeGen/CgStackery.o -ohi stage2/codeGen/CgStackery.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c codeGen/CgCallConv.hs -o stage2/codeGen/CgCallConv.o -ohi stage2/codeGen/CgCallConv.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c codeGen/CgParallel.hs -o stage2/codeGen/CgParallel.o -ohi stage2/codeGen/CgParallel.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c codeGen/CgTicky.hs -o stage2/codeGen/CgTicky.o -ohi stage2/codeGen/CgTicky.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c codeGen/CgHeapery.lhs -o stage2/codeGen/CgHeapery.o -ohi stage2/codeGen/CgHeapery.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c codeGen/CgBindery.lhs -o stage2/codeGen/CgBindery.o -ohi stage2/codeGen/CgBindery.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c codeGen/CgInfoTbls.hs -o stage2/codeGen/CgInfoTbls.o -ohi stage2/codeGen/CgInfoTbls.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c codeGen/CgClosure.lhs -o stage2/codeGen/CgClosure.o -ohi stage2/codeGen/CgClosure.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c codeGen/CgTailCall.lhs -o stage2/codeGen/CgTailCall.o -ohi stage2/codeGen/CgTailCall.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c codeGen/CgForeignCall.hs -o stage2/codeGen/CgForeignCall.o -ohi stage2/codeGen/CgForeignCall.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c cmm/CmmParse.hs -o stage2/cmm/CmmParse.o -ohi stage2/cmm/CmmParse.hi <> ../compiler/stage1/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes -istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename -istage2/typecheck -istage2/deSugar -istage2/coreSyn -istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn -istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling -istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface -istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI -package template-haskell -package hpc -DGHCI_TABLES_NEXT_TO_CODE -threaded -package readline -DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -package Cabal -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -package-name ghc-6.7.20070702 -fgenerics -c cmm/PprC.hs -o stage2/cmm/PprC.o -ohi stage2/cmm/PprC.hi stack overflow: use +RTS -K to increase it <> make[1]: *** [stage2/cmm/PprC.o] Error 1 make[1]: Leaving directory `/var/lib/buildslave/ghc/mnemosyne-amd64-gentoo-head/build/compiler' make: *** [stage2] Error 2 -------------- next part -------------- Last 30 lines: cat mkdependC.prl >> mkdependC chmod +x mkdependC make[1]: Leaving directory `/home/tn/tn/buildbot/ghc/tnaur-x86-linux/tnaur-x86-linux-head/build/utils/mkdependC' ------------------------------------------------------------------------ == make boot -r; in /home/tn/tn/buildbot/ghc/tnaur-x86-linux/tnaur-x86-linux-head/build/includes ------------------------------------------------------------------------ cp ../rts/gmp/gmp.h gmp.h Creating ghcautoconf.h... Done. Creating ghcplatform.h... Done. ../utils/mkdependC/mkdependC -f .depend -- -O -DTABLES_NEXT_TO_CODE -I. -I../rts -- mkDerivedConstants.c gcc -O -DTABLES_NEXT_TO_CODE -I. -I../rts -c mkDerivedConstants.c -o mkDerivedConstants.o gcc -o mkDerivedConstantsHdr -O -DTABLES_NEXT_TO_CODE -I. -I../rts mkDerivedConstants.o ./mkDerivedConstantsHdr >DerivedConstants.h gcc -o mkGHCConstants.o -O -DTABLES_NEXT_TO_CODE -I. -I../rts -c mkDerivedConstants.c -DGEN_HASKELL gcc -o mkGHCConstants -O -DTABLES_NEXT_TO_CODE -I. -I../rts mkGHCConstants.o ./mkGHCConstants >GHCConstants.h ------------------------------------------------------------------------ == make boot -r; in /home/tn/tn/buildbot/ghc/tnaur-x86-linux/tnaur-x86-linux-head/build/compat ------------------------------------------------------------------------ ../utils/mkdependC/mkdependC -f .depend -I. -Iinclude -I../includes -- -O -I. -Iinclude -D__GHC_PATCHLEVEL__=0 -I../libraries/base/cbits -I../libraries/base/include -- cbits/directory.c cbits/rawSystem.c cbits/unicode.c /usr/bin/ghc -M -optdep-f -optdep.depend -osuf o -H16m -O -I. -Iinclude -Rghc-timing -O -fasm -I../libraries -fglasgow-exts -no-recomp Compat/Directory.hs Compat/RawSystem.hs Compat/Unicode.hs Distribution/Compat/ReadP.hs Distribution/Compiler.hs Distribution/GetOpt.hs Distribution/InstalledPackageInfo.hs Distribution/License.hs Distribution/Package.hs Distribution/ParseUtils.hs Distribution/Version.hs Language/Haskell/Extension.hs System/Directory/Internals.hs System/FilePath.hs System/FilePath/Posix.hs System/FilePath/Windows.hs Trace/Hpc/Mix.hs Trace/Hpc/Tix.hs Trace/Hpc/Util.hs System/Directory/Internals.hs:3: error: directory/System/Directory/Internals.hs: No such file or directory <> make[1]: *** [depend] Error 1 make: *** [stage1] Error 1 -------------- next part -------------- Last 30 lines: checking for unistd.h... (cached) yes checking for sys/stat.h... (cached) yes configure: creating ./config.status config.status: creating include/HsDirectoryConfig.h rm -f directory/GNUmakefile cp Makefile.local directory ifBuildable/ifBuildable directory setup/Setup makefile -f GNUmakefile Preprocessing library directory-1.0... Generating Makefile directory-1.0... ifBuildable/ifBuildable directory make make[3]: Entering directory `/64playpen/buildbot/x86_64-linux-head-unreg/build/libraries/directory' GNUmakefile:61: .depend: No such file or directory ../../compiler/stage1/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp -package-name directory-1.0 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -#include "HsDirectory.h" -odir dist/build -hidir dist/build -package base-2.1 -package old-time-1.0 -package filepath-1.0 -O -cpp -fffi -idist/build -H16m -O -O -Rghc-timing -fgenerics System.Directory <> for dir in dist/build/System/ dist/build/cbits/; do \ if test ! -d $dir; then mkdir -p $dir; fi \ done make[3]: Leaving directory `/64playpen/buildbot/x86_64-linux-head-unreg/build/libraries/directory' make[3]: Entering directory `/64playpen/buildbot/x86_64-linux-head-unreg/build/libraries/directory' ../../compiler/stage1/ghc-inplace -package-name directory-1.0 -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -#include "HsDirectory.h" -odir dist/build -hidir dist/build -package base-2.1 -package old-time-1.0 -package filepath-1.0 -O -cpp -fffi -idist/build -H16m -O -O -Rghc-timing -fgenerics -c System/Directory.hs -o dist/build/System/Directory.o -ohi dist/build/System/Directory.hi System/Directory.hs:278:53: Not in scope: `dropDrive' <> make[3]: *** [dist/build/System/Directory.o] Error 1 make[3]: Leaving directory `/64playpen/buildbot/x86_64-linux-head-unreg/build/libraries/directory' make[2]: *** [make.library.directory] Error 2 make[2]: Leaving directory `/64playpen/buildbot/x86_64-linux-head-unreg/build/libraries' make[1]: *** [stage1] Error 2 make[1]: Leaving directory `/64playpen/buildbot/x86_64-linux-head-unreg/build' From simonmar at microsoft.com Mon Jul 2 05:27:12 2007 From: simonmar at microsoft.com (Simon Marlow) Date: Mon Jul 2 05:21:10 2007 Subject: patch applied (ghc): FIX #1471: print strings using Haskell quoting syntax Message-ID: <20070702092712.GA32477@cvs.haskell.org> Mon Jul 2 02:22:57 PDT 2007 Simon Marlow * FIX #1471: print strings using Haskell quoting syntax M ./compiler/cmm/PprCmm.hs -3 +1 From simonpj at microsoft.com Mon Jul 2 05:28:24 2007 From: simonpj at microsoft.com (Simon Peyton-Jones) Date: Mon Jul 2 05:22:25 2007 Subject: More External Core questions In-Reply-To: References: Message-ID: | 1) What's the right way to encode the coercion manipulation functions | such as left, right, and sym as IfaceTypes? They are just Types, so they'll convert straightforwardly to IfaceTypes. That must be happening *already* because coercions appear in interface files. | 2) I have the following source file: | | %module main:GADTTest | %data main:GADTTest.Term x = | {K :: %forall x a (cozuwild::(x:=:a -> a)) . | main:GADTTest.Term x}; | | which is translated into (roughly): | IfaceData { | ifName = main:GADTTest.Term; | ifTyVars = [x, a]; | ifCtxt = []; | ifCons = IfDataTyCon [IfCon { | ifConOcc = K; | ifConUnivTvs = [x, a]; | ifConExTvs = [cozuwild::(x:=:a -> a)]; | ifConEqSpec = []; | ifConCtxt = []; | ifConArgTys = []; | ... | }]; That doesn't look right. The UnivTvs of the data type are just 'x' in this case, not 'x' and 'a'. Your goal is to make sure that printing an IfaceConDecl and then reading it in again is the identity function. Presumably that's not happening here. You should just use "Show" and then "Read", more or less. But perhaps you are trying to make a more user-friendly concrete syntax? Is that what you are trying to do? At the moment, all the equality-coercion info is indeed held in the EqSpec. If you don't obey that invariant, then indeed odd things may happen. Simon From simonmar at microsoft.com Mon Jul 2 06:17:21 2007 From: simonmar at microsoft.com (Simon Marlow) Date: Mon Jul 2 06:11:20 2007 Subject: patch applied (ghc): clean installPackage too Message-ID: <20070702101721.GA1670@cvs.haskell.org> Thu Jun 21 04:30:23 PDT 2007 Simon Marlow * clean installPackage too M ./libraries/Makefile +1 From igloo at earth.li Mon Jul 2 06:31:57 2007 From: igloo at earth.li (Ian Lynagh) Date: Mon Jul 2 06:25:56 2007 Subject: patch applied (ghc): -fasm doesn't really take an argument Message-ID: <20070702103157.GA2064@cvs.haskell.org> Mon Jul 2 03:26:29 PDT 2007 Ian Lynagh * -fasm doesn't really take an argument M ./compiler/main/DynFlags.hs -1 +1 From igloo at earth.li Mon Jul 2 06:32:00 2007 From: igloo at earth.li (Ian Lynagh) Date: Mon Jul 2 06:25:58 2007 Subject: patch applied (ghc): Print the right usage message Message-ID: <20070702103200.GA2085@cvs.haskell.org> Mon Jul 2 03:26:51 PDT 2007 Ian Lynagh * Print the right usage message The logic for printing the ghc and ghci usage messages was inverted. However, the ghci case will never actually happen with the current code, as we print a usage message when cli_mode == ShowUsage and choose the ghci usage message if cli_mode == DoInteractive. This should be fixed as part of a larger options handling overhaul. M ./compiler/main/Main.hs -2 +2 From igloo at earth.li Mon Jul 2 07:24:30 2007 From: igloo at earth.li (Ian Lynagh) Date: Mon Jul 2 07:18:29 2007 Subject: patch applied (ghc): Remove the large ghci banner, and the flags to choose which banner to show Message-ID: <20070702112430.GA3201@cvs.haskell.org> Mon Jul 2 04:01:55 PDT 2007 Ian Lynagh * Remove the large ghci banner, and the flags to choose which banner to show Fans of the banner can add putStrLn " ___ ___ _" putStrLn " / _ \\ /\\ /\\/ __(_)" putStrLn " / /_\\// /_/ / / | | GHC Interactive, for Haskell 98." putStrLn "/ /_\\\\/ __ / /___| | http://www.haskell.org/ghc/" putStrLn "\\____/\\/ /_/\\____/|_| Type :? for help." putStrLn "" to their ~/.ghci M ./compiler/ghci/InteractiveUI.hs -16 +4 M ./compiler/main/DynFlags.hs -3 M ./compiler/main/Main.hs -1 +6 M ./docs/users_guide/flags.xml -12 From simonpj at microsoft.com Mon Jul 2 09:27:21 2007 From: simonpj at microsoft.com (Simon Peyton Jones) Date: Mon Jul 2 09:21:22 2007 Subject: patch applied (ghc): Try harder to avoid making a variable with RULES into a loop-breaker Message-ID: <20070702132721.GA6754@cvs.haskell.org> Mon Jul 2 06:24:31 PDT 2007 simonpj@microsoft.com * Try harder to avoid making a variable with RULES into a loop-breaker See Note [Recursive rules] in OccurAnal M ./compiler/simplCore/OccurAnal.lhs -6 +27 M ./compiler/simplCore/Simplify.lhs +2 From igloo at earth.li Mon Jul 2 09:29:35 2007 From: igloo at earth.li (Ian Lynagh) Date: Mon Jul 2 09:29:37 2007 Subject: patch applied (/haskell/ghc): Bug reporting page is now on the wiki Message-ID: <20070702132935.GA22052@haskell.cs.yale.edu> Mon Jul 2 09:35:13 EDT 2007 Ian Lynagh * Bug reporting page is now on the wiki M ./ghc-std.html -1 +1 From igloo at earth.li Mon Jul 2 10:11:29 2007 From: igloo at earth.li (Ian Lynagh) Date: Mon Jul 2 10:05:29 2007 Subject: patch applied (ghc): Have the users guide just refer to the wiki page on how to report a bug Message-ID: <20070702141129.GA8391@cvs.haskell.org> Mon Jul 2 07:09:36 PDT 2007 Ian Lynagh * Have the users guide just refer to the wiki page on how to report a bug M ./docs/users_guide/intro.xml -89 +6 From atomb at soe.ucsc.edu Mon Jul 2 13:07:26 2007 From: atomb at soe.ucsc.edu (Aaron Tomb) Date: Mon Jul 2 13:01:23 2007 Subject: More External Core questions In-Reply-To: References: Message-ID: On Jul 2, 2007, at 2:28 AM, Simon Peyton-Jones wrote: > =| 2) I have the following source file: > | > | %module main:GADTTest > | %data main:GADTTest.Term x = > | {K :: %forall x a (cozuwild::(x:=:a -> a)) . > | main:GADTTest.Term x}; > | > | which is translated into (roughly): > | IfaceData { > | ifName = main:GADTTest.Term; > | ifTyVars = [x, a]; > | ifCtxt = []; > | ifCons = IfDataTyCon [IfCon { > | ifConOcc = K; > | ifConUnivTvs = [x, a]; > | ifConExTvs = [cozuwild::(x:=:a -> a)]; > | ifConEqSpec = []; > | ifConCtxt = []; > | ifConArgTys = []; > | ... > | }]; > > That doesn't look right. The UnivTvs of the data type are just 'x' > in this case, not 'x' and 'a'. You're right, and actually the code does get this bit correct. I wrote the above translation by hand, so it was my mistake. > Your goal is to make sure that printing an IfaceConDecl and then > reading it in again is the identity function. Presumably that's > not happening here. You should just use "Show" and then "Read", > more or less. But perhaps you are trying to make a more user- > friendly concrete syntax? Is that what you are trying to do? The people who originally implemented External Core defined a concrete syntax which is pretty close to Read/Show, but not entirely so. I'm basically just adding to that syntax when necessary, and trying not to change it too much. The old syntax doesn't include all of the information present in the internal Iface data constructors. Things would actually be significantly easier if I dropped backward compatibility and essentially just did a Read/Show approach. Since very few people seem to have used the old format, compatibility probably isn't a big issue. The main reason I'd been avoiding the Read/Show approach is that it would make the External Core format change whenever the .hi format changes, which seems to happen fairly often. I'm not sure that it's really feasible to have a format that doesn't have that problem to at least some extent, though. What do you think? Is a somewhat volatile format ok? If it is, things might go much more quickly. > At the moment, all the equality-coercion info is indeed held in the > EqSpec. If you don't obey that invariant, then indeed odd things > may happen. Ok, that's good to know. I should be straightforward to make that happen. Thanks, Aaron From ndmitchell at gmail.com Mon Jul 2 14:38:03 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Mon Jul 2 14:32:05 2007 Subject: More External Core questions In-Reply-To: References: Message-ID: <404396ef0707021138r7e7d5558ofa487ba2a1cca5d7@mail.gmail.com> Hi >From my viewpoint as a current user of GHC Core: > Things would actually be significantly easier if I dropped backward > compatibility and essentially just did a Read/Show approach. Backward compatibility got broken a while ago, since GHC Core currently doesn't seen to work. Given that you haven't got a slew of complaints when it got broken, I think you can assume that backward compatibility isn't that important. > The main reason I'd been avoiding the > Read/Show approach is that it would make the External Core format > change whenever the .hi format changes You have two choices: 1) Define a constant format, and then every time the .hi format changes update the output translator. This requires ongoing maintenance over a long time period. If this breaks, users will be unable to work with GHC Core anymore. 2) Use Read/Show based stuff. Every time the .hi format changes people may need to rework their program (unlikely) and will need to update their .hcr files. This gives you almost no ongoing maintenance. (1) is nicer for a user, but only if you guarantee it is going to be actively maintained. If there is any doubt about this, (2) would be preferable. Yhc uses a combination - a separate abstract syntax tree, but read/show off that. Thanks Neil From ghcbuild at microsoft.com Mon Jul 2 15:12:48 2007 From: ghcbuild at microsoft.com (GHC Build Reports) Date: Mon Jul 2 15:12:49 2007 Subject: [nightly] 02-Jul-2007 build of HEAD on i386-unknown-linux (cam-02-unx.europe.corp.microsoft.com) Message-ID: <20070702191248.3B7B632415C@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 Jul 2 19:30:00 BST 2007. **** checking out new source tree ... darcs failed: Failed to download URL http://darcs.haskell.org/packages/xhtml/_darcs/patches/20070604115937-b47d3-4976f70c84faba6de86e38fc67e9da05dd6c33cd.gz libcurl error code: 52 darcs failed: 512 at ./darcs-all line 52. Nightly run ended at Mon Jul 2 20:18:47 BST 2007 From atomb at soe.ucsc.edu Mon Jul 2 17:17:27 2007 From: atomb at soe.ucsc.edu (Aaron Tomb) Date: Mon Jul 2 17:11:27 2007 Subject: More External Core questions In-Reply-To: <404396ef0707021138r7e7d5558ofa487ba2a1cca5d7@mail.gmail.com> References: <404396ef0707021138r7e7d5558ofa487ba2a1cca5d7@mail.gmail.com> Message-ID: <3E3060A5-094B-488C-AEDA-4D47DF2523F6@soe.ucsc.edu> I think I'm convinced. Trying to make the format stay consistent has been the major thing that has slowed me down. The current syntax doesn't include all of the information contained in the iface data types, and inferring the missing bits is rather tricky. I had thought that inference of the missing details was possible, because some of what's in the internal data types is slightly redundant (in order to simplify much of the rest of GHC's code) but I'm getting to the point where I'm not quite sure. So, yeah, perhaps External Core should be essentially a textual representation of a .hi file. Beyond the details of function and type declarations, there's some other information that External Core never seemed to be designed to contain, but which might be useful. Class information, for instance, is currently missing, but is crucial in order to link Haskell code to External Core code for which the original Haskell source is unavailable. Aaron On Jul 2, 2007, at 11:38 AM, Neil Mitchell wrote: > Backward compatibility got broken a while ago, since GHC Core > currently doesn't seen to work. Given that you haven't got a slew of > complaints when it got broken, I think you can assume that backward > compatibility isn't that important. > >> The main reason I'd been avoiding the >> Read/Show approach is that it would make the External Core format >> change whenever the .hi format changes > > You have two choices: > > 1) Define a constant format, and then every time the .hi format > changes update the output translator. This requires ongoing > maintenance over a long time period. If this breaks, users will be > unable to work with GHC Core anymore. > > 2) Use Read/Show based stuff. Every time the .hi format changes people > may need to rework their program (unlikely) and will need to update > their .hcr files. This gives you almost no ongoing maintenance. > > (1) is nicer for a user, but only if you guarantee it is going to be > actively maintained. If there is any doubt about this, (2) would be > preferable. Yhc uses a combination - a separate abstract syntax tree, > but read/show off that. > > Thanks > > Neil From ndmitchell at gmail.com Mon Jul 2 17:25:58 2007 From: ndmitchell at gmail.com (Neil Mitchell) Date: Mon Jul 2 17:19:55 2007 Subject: More External Core questions In-Reply-To: <3E3060A5-094B-488C-AEDA-4D47DF2523F6@soe.ucsc.edu> References: <404396ef0707021138r7e7d5558ofa487ba2a1cca5d7@mail.gmail.com> <3E3060A5-094B-488C-AEDA-4D47DF2523F6@soe.ucsc.edu> Message-ID: <404396ef0707021425ic0cc746o16690de67b987e5b@mail.gmail.com> Hi Aaron, > So, yeah, perhaps External Core should be essentially a textual > representation of a .hi file. Textual is something I doubt has much benefit. Yhc.Core has no textual syntax, and we've never wanted one. How about .hcr being just .hi but with complete bodies for all functions? If you do pick that route, you may end up with a lot less maintenance work, and can spend more time implementing a standalone library for reading GHC Core :-) Thanks Neil From rl at cse.unsw.edu.au Tue Jul 3 02:28:28 2007 From: rl at cse.unsw.edu.au (Roman Leshchinskiy) Date: Tue Jul 3 02:22:34 2007 Subject: Head broken again Message-ID: <4689EC8C.2020202@cse.unsw.edu.au> Hi all, today, I tried to sync the ghc-ndp branch with head. Again, I'll describe the problems I've encountered in the hope that it will be helpful. First, I tried darcs pull http://darcs.haskell.org/ghc ./darcs-all pull make distclean This failed with Registering filepath-1.0... Reading package info from "dist/inplace-pkg-config" ... done. ghc-pkg: dependency directory-1.0 doesn't exist (use --force to override) Ok, make distclean hasn't been working properly for quite some time so I thought I'd get a fresh tree. After fixing (sort of) a problem with the ghc-ndp repository, I tried compiling it: ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O -Rghc-timing -fgenerics -c GHC/Base.lhs -o dist/build/GHC/Base.o -ohi dist/build/GHC/Base.hi /tmp/ghc3117_0/ghc3117_0.split__178.s:unknown:missing indirect symbols for section (__TEXT,__symbol_stub) This is because I forgot to copy my build.mk which turns off SPLIT_OBJS from my old tree. I didn't know that SPLIT_OBJS doesn't work on OS X, though. Anyway, after fixing this and syncing with head, I get: ../../compiler/stage1/ghc-inplace -package-name base-2.1 -hide-all-packages -split-objs -i -idist/build/autogen -idist/build -i. -Idist/build -Iinclude -I../../includes -I../../rts -#include "HsBase.h" -odir dist/build -hidir dist/build -package rts-1.0 -O -fglasgow-exts -package-name base -cpp -idist/build -H16m -O -O -Rghc-timing -fgenerics -c GHC/Base.lhs -o dist/build/GHC/Base.o -ohi dist/build/GHC/Base.hi /tmp/ghc4105_0/ghc4105_0.split__1.s:6:0: Unknown pseudo-op: .type /tmp/ghc4105_0/ghc4105_0.split__1.s:6:0: Rest of line ignored. 1st junk character valued 95 (_). /tmp/ghc4105_0/ghc4105_0.split__1.s:17:0: Unknown pseudo-op: .type /tmp/ghc4105_0/ghc4105_0.split__1.s:17:0: Rest of line ignored. 1st junk character valued 95 (_). I assume the OS X assembler doesn't understand .type directives. On the mailing list, I find this patch which hasn't been applied to head yet: Sat Jun 30 10:22:43 CEST 2007 Clemens Fruhwirth * Restrict .type directives to Linux targets only Alas, darcs apply doesn't work: darcs: Cannot apply this patch bundle, this is a "--partial repository We don't have the following patch: Tue May 1 04:56:10 EST 2007 Alec Berryman * Build arrows library if available arrows is the only library in libraries/extra-packages not built when present In fact, this missing patch was precisely the problem we (Manuel, rather) tried to fix in the ghc-ndp repo earlier. Alas, it seems that ghc-ndp simply inherited this from head as I get the same error if I try to darcs apply Clemens' patch to it, too. Alec's patch does appear in darcs changes, though. Anyway, after manually changing PprMach.hs such that it doesn't spit out .type directives any more, I finally get a working build. A summary: 1. Something seems to be not quite right with the head repository. Pulling from head and then pushing to ghc-ndp (which has been recreated only last week) used to fail complaining about the one missing patch before Manuel checkpointed it. I get the exact same failure when I darcs apply Clemens' patch to head. 2. SPLIT_OBJS doesn't seem to work on OS X. Could it perhaps only be turned on on architectures which support it (IIRC, there were other architectures which had problems with it). 2. Head doesn't build on Mac OS for me without Clemens' last patch. Perhaps the dynamic linking stuff could be done in a branch as it is bound to be quite destabilising? 3. make distclean still doesn't work properly. This is a pain, although a bearable one. 4. Trying to maintain a branch is still frustrating. I've just spend 4 hours (and had to rebuild ghc 6 or 7 times) trying to sync ghc-ndp with head. Even worse, in the last couple of months, we would have problems with building head itself more often than not. I think we lost *weeks* trying to work around this. IMO, this is a problem with the current development process. From my gcc hacking days I remember that the gcc maintainers would only accept patches if they passed the testsuite on at least two architectures. This worked wonders for the stability of gcc-head. I'd like to propose a similar policy for ghc, at least for patches which change OS-specific stuff (it's probably sufficient to test changes to the typechecker, simplifier etc. on just one architecture). Alternatively, could at least vastly destabilising changes (which the dynamic linking stuff is bound to be) be done in a branch? Concurrent development doesn't really work otherwise. Sorry for sounding so frustrated but I really seem to spend more time on trying to get ghc to compile than doing actual NDP work. Roman From simonpj at microsoft.com Tue Jul 3 03:29:47 2007 From: simonpj at microsoft.com (Simon Peyton-Jones) Date: Tue Jul 3 03:23:45 2007 Subject: Head broken again In-Reply-To: <4689EC8C.2020202@cse.unsw.edu.au> References: <4689EC8C.2020202@cse.unsw.edu.au> Message-ID: | 4. Trying to maintain a branch is still frustrating. I've just spend 4 | hours (and had to rebuild ghc 6 or 7 times) trying to sync ghc-ndp with | head. Even worse, in the last couple of months, we would have problems | with building head itself more often than not. I think we lost *weeks* | trying to work around this. IMO, this is a problem with the current | development process. From my gcc hacking days I remember that the gcc | maintainers would only accept patches if they passed the testsuite on at | least two architectures. This worked wonders for the stability of | gcc-head. I'd like to propose a similar policy for ghc, at least for | patches which change OS-specific stuff (it's probably sufficient to test | changes to the typechecker, simplifier etc. on just one architecture). | Alternatively, could at least vastly destabilising changes (which the | dynamic linking stuff is bound to be) be done in a branch? Concurrent | development doesn't really work otherwise. Our current plan (were you in the loop when we discussed this?) is to have a snapshot darcs repo, that is the last known clean build. (Question: do we need one per architecture?) If you had that, you'd be happy, right? You could just pull from that. You wouldn't get the latest patches -- but you can't *both* have the latest patches *and* a known good build. Ian, how's the last-good-build mechanism coming along? I'm sure Ian will look into the other specifics you mention. Simon From cvs-ghc at haskell.org Tue Jul 3 03:30:02 2007 From: cvs-ghc at haskell.org (BuildBot Collator) Date: Tue Jul 3 03:23:58 2007 Subject: Daily report for head Message-ID: <200707030730.l637U2Pq030543@monk.galois.com> Build results: x86-64 Linux head: pass x86 Windows head fast: fail (failed stage1) fail (failed stage2) pass pass pass pass mnemosyne x86-64 Gentoo head: pass phil Intel OSX head: fail (failed stage1) fail (failed stage1) phil P4 SuSE Linux head: fail (failed stage1) fail (failed stage1) tnaur x86 Linux head: fail (failed stage1) x86-64 Linux head unreg: pass Dropping unexpected test passes reports from builders not seen in 7 days: tnaur x86 Linux head Old unexpected test passes: print022 1 x86 Windows head fast Dropping unexpected test failures reports from builders not seen in 7 days: tnaur x86 Linux head New unexpected test failures: barton-mangler-bug 1 x86-64 Linux head unreg break001 1 x86-64 Linux head unreg break005 1 x86-64 Linux head unreg break006 1 x86-64 Linux head unreg break010 1 x86-64 Linux head unreg break011 1 x86-64 Linux head unreg break012 1 x86-64 Linux head unreg break013 1 x86-64 Linux head unreg break016 1 x86-64 Linux head unreg break018 1 x86-64 Linux head unreg cg015 1 x86-64 Linux head unreg cg035 1 x86-64 Linux head unreg conc022 1 x86-64 Linux head unreg conc046 1 x86-64 Linux head unreg conc049 1 x86-64 Linux head unreg conc052 2 x86-64 Linux head conc060 1 x86-64 Linux head unreg conc061 1 x86-64 Linux head unreg conc062 1 x86-64 Linux head unreg conc063 2 x86-64 Linux head conc064 1 mnemosyne x86-64 Gentoo head concio001.thr 1 x86-64 Linux head unreg driver017 1 x86-64 Linux head unreg driver035 1 x86-64 Linux head unreg dynbrk007 1 x86-64 Linux head unreg dynbrk008 1 x86-64 Linux head unreg dynbrk009 1 x86-64 Linux head unreg fed001 1 x86-64 Linux head unreg ffi003 1 x86-64 Linux head unreg ffi004 1 x86-64 Linux head unreg ffi006 1 x86-64 Linux head unreg ffi009 1 x86-64 Linux head unreg ffi010 1 x86-64 Linux head unreg ffi011 1 x86-64 Linux head unreg ffi013 1 x86-64 Linux head unreg ffi018 1 x86-64 Linux head unreg hist001 1 x86-64 Linux head unreg ind2 2 x86-64 Linux head ioref001 3 x86-64 Linux head maessen_hashtab 2 x86-64 Linux head print001 1 x86-64 Linux head unreg print002 1 x86-64 Linux head unreg print003 1 x86-64 Linux head unreg print004 1 x86-64 Linux head unreg print005 1 x86-64 Linux head unreg print006 1 x86-64 Linux head unreg print007 1 x86-64 Linux head unreg print008 1 x86-64 Linux head unreg print010 1 x86-64 Linux head unreg print011 1 x86-64 Linux head unreg print012 1 x86-64 Linux head unreg print014 1 x86-64 Linux head unreg print015 1 x86-64 Linux head unreg print016 1 x86-64 Linux head unreg print018 1 x86-64 Linux head unreg print019 1 x86-64 Linux head unreg print020 1 x86-64 Linux head unreg print021 1 x86-64 Linux head unreg print023 1 x86-64 Linux head unreg tcfail093 4 x86-64 Linux head tcfail121 4 x86-64 Linux head Fixed unexpected test failures: arith005 seward-space-leak utf8_002 utf8_003 utf8_004 utf8_005 Old unexpected test failures: GMapAssoc 3 x86-64 Linux head GMapTop 3 x86-64 Linux head Simple12 4 x86-64 Linux head Simple5a 4 x86-64 Linux head break017 2 x86-64 Linux head conc057 2 x86-64 Linux head conc068 2 mnemosyne x86-64 Gentoo head concprog001 3 x86-64 Linux head drv015 4 x86-64 Linux head ffi-deriv1 4 x86-64 Linux head gadt23 3 x86-64 Linux head galois_raytrace 1 mnemosyne x86-64 Gentoo head ghc-e001 1 x86 Windows head fast ghciprog004 1 x86 Windows head fast haddock.Test 3 x86-64 Linux head lazypat 4 x86-64 Linux head list001 1 x86 Windows head fast mod110 4 x86-64 Linux head mod142 4 x86-64 Linux head mod143 4 x86-64 Linux head mod144 4 x86-64 Linux head mod145 4 x86-64 Linux head mod146 4 x86-64 Linux head mod150 4 x86-64 Linux head mod151 4 x86-64 Linux head mod152 4 x86-64 Linux head mod153 4 x86-64 Linux head mod155 4 x86-64 Linux head mod164 4 x86-64 Linux head mod165 4 x86-64 Linux head print017 4 x86-64 Linux head print024 4 x86-64 Linux head readwrite002 1 x86 Windows head fast rnfail029 4 x86-64 Linux head rnfail040 4 x86-64 Linux head rnfail044 4 x86-64 Linux head rw 4 x86-64 Linux head tcfail037 4 x86-64 Linux head tcfail065 4 x86-64 Linux head tcfail068 4 x86-64 Linux head tcfail071 4 x86-64 Linux head tcfail076 4 x86-64 Linux head tcfail103 4 x86-64 Linux head tcfail133 4 x86-64 Linux head tcfail140 4 x86-64 Linux head tcfail145 4 x86-64 Linux head tcfail153 4 x86-64 Linux head tcfail174 4 x86-64 Linux head tcfail179 4 x86-64 Linux head tcrun022 3 x86-64 Linux head user001 3 x86-64 Linux head -------------- next part -------------- Last 30 lines: Rest of line ignored. 1st junk character valued 95 (_). /tmp/ghc12151_0/ghc12151_0.s:10210:0: Unknown pseudo-op: .type /tmp/ghc12151_0/ghc12151_0.s:10210:0: Rest of line ignored. 1st junk character valued 95 (_). /tmp/ghc12151_0/ghc12151_0.s:10245:0: Unknown pseudo-op: .type /tmp/ghc12151_0/ghc12151_0.s:10245:0: Rest of line ignored. 1st junk character valued 95 (_). /tmp/ghc12151_0/ghc12151_0.s:10280:0: Unknown pseudo-op: .type /tmp/ghc12151_0/ghc12151_0.s:10280:0: Rest of line ignored. 1st junk character valued 95 (_). /tmp/ghc12151_0/ghc12151_0.s:10293:0: Unknown pseudo-op: .type /tmp/ghc12151_0/ghc12151_0.s:10293:0: Rest of line ignored. 1st junk character valued 95 (_). /tmp/ghc12151_0/ghc12151_0.s:10308:0: Unknown pseudo-op: .type /tmp/ghc12151_0/ghc12151_0.s:10308:0: Rest of line ignored. 1st junk character valued 95 (_). make[3]: *** [dist/build/GHC/Base.o] Error 1 make[2]: *** [make.library.base] Error 2 make[1]: *** [stage1] Error 2 -------------- next part -------------- Last 30 lines: /usr/local/bin/alex -g cmm/CmmLex.x /usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes -istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename -istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/specialise -istage1/simplCore -istage1/stranal -istage1/stgSyn -istage1/simplStg -istage1/codeGen -istage1/main -istage1/profiling -istage1/parser -istage1/cprAnalysis -istage1/ndpFlatten -istage1/iface -istage1/cmm -istage1/nativeGen -Istage1 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -DUSING_COMPAT -i../compat -ignore-package Cabal -c cmm/CmmLex.hs -o stage1/cmm/CmmLex.o -ohi stage1/cmm/CmmLex.hi /usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes -istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename -istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/specialise -istage1/simplCore -istage1/stranal -istage1/stgSyn -istage1/simplStg -istage1/codeGen -istage1/main -istage1/profiling -istage1/parser -istage1/cprAnalysis -istage1/ndpFlatten -istage1/iface -istage1/cmm -istage1/nativeGen -Istage1 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -DUSING_COMPAT -i../compat -ignore-package Cabal -c cmm/CmmLint.hs -o stage1/cmm/CmmLint.o -ohi stage1/cmm/CmmLint.hi /usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes -istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename -istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/specialise -istage1/simplCore -istage1/stranal -istage1/stgSyn -istage1/simplStg -istage1/codeGen -istage1/main -istage1/profiling -istage1/parser -istage1/cprAnalysis -istage1/ndpFlatten -istage1/iface -istage1/cmm -istage1/nativeGen -Istage1 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -DUSING_COMPAT -i../compat -ignore-package Cabal -c cmm/CmmOpt.hs -o stage1/cmm/CmmOpt.o -ohi stage1/cmm/CmmOpt.hi /usr/local/bin/happy +RTS -K2m -RTS -agc cmm/CmmParse.y /usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes -istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename -istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/specialise -istage1/simplCore -istage1/stranal -istage1/stgSyn -istage1/simplStg -istage1/codeGen -istage1/main -istage1/profiling -istage1/parser -istage1/cprAnalysis -istage1/ndpFlatten -istage1/iface -istage1/cmm -istage1/nativeGen -Istage1 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -DUSING_COMPAT -i../compat -ignore-package Cabal -c cmm/CmmParse.hs -o stage1/cmm/CmmParse.o -ohi stage1/cmm/CmmParse.hi /usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes -istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename -istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/specialise -istage1/simplCore -istage1/stranal -istage1/stgSyn -istage1/simplStg -istage1/codeGen -istage1/main -istage1/profiling -istage1/parser -istage1/cprAnalysis -istage1/ndpFlatten -istage1/iface -istage1/cmm -istage1/nativeGen -Istage1 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -DUSING_COMPAT -i../compat -ignore-package Cabal -c cmm/CmmUtils.hs -o stage1/cmm/CmmUtils.o -ohi stage1/cmm/CmmUtils.hi /usr/local/bin/ghc -H16m -O -istage1/utils -istage1/basicTypes -istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename -istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/specialise -istage1/simplCore -istage1/stranal -istage1/stgSyn -istage1/simplStg -istage1/codeGen -istage1/main -istage1/profiling -istage1/parser -istage1/cprAnalysis -istage1/ndpFlatten -istage1/iface -istage1/cmm -istage1/nativeGen -Istage1 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser -package unix -ignore-package lang -recomp -Rghc-timing -O -fasm -H16M '-#include "cutils.h"' -DUSING_COMPAT -i../compat -ignore-package Cabal -c cmm/MachOp.hs -o stage1/cmm/MachOp.o -ohi stage1/cmm/MachOp.hi /usr/l