#2423: Panic building GHC version 6.8.3 for powerpc-apple-darwin
-------------------------+--------------------------------------------------
Reporter: jimwhite | Owner:
Type: bug | Status: new
Priority: normal | Component: Build System
Version: 6.8.3 | Severity: normal
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------+--------------------------------------------------
Trying to install GHC using macports (1.600).
{{{
Bimini:~ jim$ sudo port install darcs
---> Fetching ghc
---> Verifying checksum(s) for ghc
---> Extracting ghc
---> Applying patches to ghc
---> Configuring ghc
---> Building ghc with target all
Error: Target org.macports.build returned: shell command "env
DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make" returned error 2
Command output: cmp -s GNUmakefile GNUmakefile.tmp && mv
GNUmakefile.tmp GNUmakefile; \
make -r && \
setup/Setup register --inplace; \
fi
mv: rename GNUmakefile to GNUmakefile.tmp: No such file or directory
Preprocessing library haskell-src-1.0.1.2...
Generating Makefile haskell-src-1.0.1.2...
GNUmakefile:71: dist/build/.depend: No such file or directory
../../compiler/stage1/ghc-inplace -M -optdep-f -optdepdist/build/.depend
-optdep-s -optdepp -package-name haskell-src-1.0.1.2 -hide-all-packages
-i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build
-hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package
pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP
-idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-
timing -fgenerics Language.Haskell.Lexer Language.Haskell.Parser
Language.Haskell.ParseMonad Language.Haskell.Pretty
Language.Haskell.Syntax Language.Haskell.ParseUtils
<<ghc: 22087740 bytes, 4 GCs, 139264/139264 avg/max bytes residency (1
samples), 16M in use, 0.00 INIT (0.00 elapsed), 0.05 MUT (0.32 elapsed),
0.03 GC (0.04 elapsed) :ghc>>
for dir in dist/build/Language/Haskell/; do \
if test ! -d $dir; then mkdir -p $dir; fi \
done
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-
all-packages -split-objs -i -idist/build/autogen -idist/build -i.
-Idist/build -odir dist/build -hidir dist/build -stubdir dist/build
-package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0
-package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O
-I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c
Language/Haskell/Syntax.hs -o dist/build/Language/Haskell/Syntax.o -ohi
dist/build/Language/Haskell/Syntax.hi
<<ghc: 3586064124 bytes, 5984 GCs, 14952155/33591296 avg/max bytes
residency (21 samples), 86M in use, 0.00 INIT (0.00 elapsed), 20.37 MUT
(136.53 elapsed), 8.96 GC (11.76 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-
all-packages -split-objs -i -idist/build/autogen -idist/build -i.
-Idist/build -odir dist/build -hidir dist/build -stubdir dist/build
-package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0
-package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O
-I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c
Language/Haskell/ParseMonad.hs -o dist/build/Language/Haskell/ParseMonad.o
-ohi dist/build/Language/Haskell/ParseMonad.hi
<<ghc: 118050056 bytes, 19 GCs, 4239360/6983680 avg/max bytes residency (3
samples), 20M in use, 0.00 INIT (0.00 elapsed), 0.62 MUT (11.64 elapsed),
0.22 GC (0.27 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-
all-packages -split-objs -i -idist/build/autogen -idist/build -i.
-Idist/build -odir dist/build -hidir dist/build -stubdir dist/build
-package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0
-package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O
-I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c
Language/Haskell/Lexer.hs -o dist/build/Language/Haskell/Lexer.o -ohi
dist/build/Language/Haskell/Lexer.hi
<<ghc: 565453064 bytes, 312 GCs, 8036352/12738560 avg/max bytes residency
(6 samples), 33M in use, 0.00 INIT (0.00 elapsed), 3.22 MUT (44.55
elapsed), 1.32 GC (1.75 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-
all-packages -split-objs -i -idist/build/autogen -idist/build -i.
-Idist/build -odir dist/build -hidir dist/build -stubdir dist/build
-package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0
-package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O
-I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c
Language/Haskell/Pretty.hs -o dist/build/Language/Haskell/Pretty.o -ohi
dist/build/Language/Haskell/Pretty.hi
ghc-6.8.3: panic! (the 'impossible' happened)
(GHC version 6.8.3 for powerpc-apple-darwin):
initC: srt_lbl
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
<<ghc: 465794756 bytes, 205 GCs, 7245238/10625024 avg/max bytes residency
(7 samples), 29M in use, 0.00 INIT (0.00 elapsed), 2.42 MUT (3.47
elapsed), 1.44 GC (1.75 elapsed) :ghc>>
make[2]: *** [dist/build/Language/Haskell/Pretty.o] Error 1
make[1]: *** [make.library.haskell-src] Error 2
make: *** [stage1] Error 2
Error: The following dependencies failed to build: ghc
Error: Status 1 encountered during processing.
}}}
System is PowerMac G5 (2x2.5GHz)
The first time I got:
{{{
Bimini:~ jim$ sudo port install darcs
---> Fetching ghc
---> Verifying checksum(s) for ghc
---> Extracting ghc
---> Applying patches to ghc
---> Configuring ghc
---> Building ghc with target all
Error: Target org.macports.build returned: shell command "env
DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make" returned error 2
Command output: cmp -s GNUmakefile GNUmakefile.tmp && mv
GNUmakefile.tmp GNUmakefile; \
make -r && \
setup/Setup register --inplace; \
fi
mv: rename GNUmakefile to GNUmakefile.tmp: No such file or directory
Preprocessing library haskell-src-1.0.1.2...
Generating Makefile haskell-src-1.0.1.2...
GNUmakefile:71: dist/build/.depend: No such file or directory
../../compiler/stage1/ghc-inplace -M -optdep-f -optdepdist/build/.depend
-optdep-s -optdepp -package-name haskell-src-1.0.1.2 -hide-all-packages
-i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build
-hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package
pretty-1.0.0.0 -package array-0.1.0.0 -package haskell98-1.0.1.0 -O -XCPP
-idist/build -H16m -O -I/opt/local/include -L/opt/local/lib -O -Rghc-
timing -fgenerics Language.Haskell.Lexer Language.Haskell.Parser
Language.Haskell.ParseMonad Language.Haskell.Pretty
Language.Haskell.Syntax Language.Haskell.ParseUtils
<<ghc: 22087740 bytes, 4 GCs, 139264/139264 avg/max bytes residency (1
samples), 16M in use, 0.00 INIT (0.00 elapsed), 0.05 MUT (0.32 elapsed),
0.03 GC (0.04 elapsed) :ghc>>
for dir in dist/build/Language/Haskell/; do \
if test ! -d $dir; then mkdir -p $dir; fi \
done
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-
all-packages -split-objs -i -idist/build/autogen -idist/build -i.
-Idist/build -odir dist/build -hidir dist/build -stubdir dist/build
-package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0
-package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O
-I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c
Language/Haskell/Syntax.hs -o dist/build/Language/Haskell/Syntax.o -ohi
dist/build/Language/Haskell/Syntax.hi
<<ghc: 3586064124 bytes, 5984 GCs, 14952155/33591296 avg/max bytes
residency (21 samples), 86M in use, 0.00 INIT (0.00 elapsed), 20.37 MUT
(136.53 elapsed), 8.96 GC (11.76 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-
all-packages -split-objs -i -idist/build/autogen -idist/build -i.
-Idist/build -odir dist/build -hidir dist/build -stubdir dist/build
-package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0
-package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O
-I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c
Language/Haskell/ParseMonad.hs -o dist/build/Language/Haskell/ParseMonad.o
-ohi dist/build/Language/Haskell/ParseMonad.hi
<<ghc: 118050056 bytes, 19 GCs, 4239360/6983680 avg/max bytes residency (3
samples), 20M in use, 0.00 INIT (0.00 elapsed), 0.62 MUT (11.64 elapsed),
0.22 GC (0.27 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-
all-packages -split-objs -i -idist/build/autogen -idist/build -i.
-Idist/build -odir dist/build -hidir dist/build -stubdir dist/build
-package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0
-package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O
-I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c
Language/Haskell/Lexer.hs -o dist/build/Language/Haskell/Lexer.o -ohi
dist/build/Language/Haskell/Lexer.hi
<<ghc: 565453064 bytes, 312 GCs, 8036352/12738560 avg/max bytes residency
(6 samples), 33M in use, 0.00 INIT (0.00 elapsed), 3.22 MUT (44.55
elapsed), 1.32 GC (1.75 elapsed) :ghc>>
../../compiler/stage1/ghc-inplace -package-name haskell-src-1.0.1.2 -hide-
all-packages -split-objs -i -idist/build/autogen -idist/build -i.
-Idist/build -odir dist/build -hidir dist/build -stubdir dist/build
-package base-3.0.2.0 -package pretty-1.0.0.0 -package array-0.1.0.0
-package haskell98-1.0.1.0 -O -XCPP -idist/build -H16m -O
-I/opt/local/include -L/opt/local/lib -O -Rghc-timing -fgenerics -c
Language/Haskell/Pretty.hs -o dist/build/Language/Haskell/Pretty.o -ohi
dist/build/Language/Haskell/Pretty.hi
ghc-6.8.3: panic! (the 'impossible' happened)
(GHC version 6.8.3 for powerpc-apple-darwin):
initC: srt_lbl
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
<<ghc: 465794756 bytes, 205 GCs, 7245238/10625024 avg/max bytes residency
(7 samples), 29M in use, 0.00 INIT (0.00 elapsed), 2.42 MUT (3.47
elapsed), 1.44 GC (1.75 elapsed) :ghc>>
make[2]: *** [dist/build/Language/Haskell/Pretty.o] Error 1
make[1]: *** [make.library.haskell-src] Error 2
make: *** [stage1] Error 2
Error: The following dependencies failed to build: ghc
Error: Status 1 encountered during processing.
}}}
I ran "clean" and tried again. This time it went quite a while longer
then paniced.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2423>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs