public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/16812] New: When compiling ghc, memory goes full, and then gcc gives an internel error
@ 2004-07-28 22:28 rondebruijn at yahoo dot com
  2004-07-28 22:30 ` [Bug c/16812] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: rondebruijn at yahoo dot com @ 2004-07-28 22:28 UTC (permalink / raw)
  To: gcc-bugs

Steps to reproduce:
Use gcc version 3.3.3. I got mine from ftp.archlinux.org/incoming
Do a checkout of fpconfig. (See CVS CHEATSHEET on haskell.org/ghc for instructions)
Do a checkout of fptools. (See CVS CHEATSHEET on haskell.org/ghc for instructions)
Do autoreconf
Do ./configure
Do make (my version 3.80)
My ghc version is ghc-6.2.1

This is my exact gcc version:
Reading specs from /opt/gcc-3.3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: ../gcc-3.3.3/configure --prefix=/opt/gcc-3.3.3 --enable-shared
--enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit
Thread model: posix
gcc version 3.3.3

Wait....

These are the last couple of hundred lines:
==fptools== make all - --no-print-directory -r;
 in /home/goron/cvs/fptools/ghc/docs/users_guide
------------------------------------------------------------------------
make[3]: Nothing to be done for `all'.
------------------------------------------------------------------------
==fptools== make all - --no-print-directory -r;
 in /home/goron/cvs/fptools/ghc/docs/ext-core
------------------------------------------------------------------------
make[3]: Nothing to be done for `all'.
------------------------------------------------------------------------
==fptools== make all - --no-print-directory -r;
 in /home/goron/cvs/fptools/ghc/docs/storage-mgt
------------------------------------------------------------------------
make[3]: Nothing to be done for `all'.
------------------------------------------------------------------------
===fptools== Finished making `all' in users_guide ext-core storage-mgt ...
PWD = /home/goron/cvs/fptools/ghc/docs
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make all -wr;
 in /home/goron/cvs/fptools/ghc/compiler
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make all -wr;
 in /home/goron/cvs/fptools/ghc/rts
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Recursively making `all' for ways: p thr thr_p debug ...
PWD = /home/goron/cvs/fptools/ghc/rts
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make way=p all;
PWD = /home/goron/cvs/fptools/ghc/rts
------------------------------------------------------------------------
make[3]: Nothing to be done for `all'.
------------------------------------------------------------------------
==fptools== make way=thr all;
PWD = /home/goron/cvs/fptools/ghc/rts
------------------------------------------------------------------------
make[3]: Nothing to be done for `all'.
------------------------------------------------------------------------
==fptools== make way=thr_p all;
PWD = /home/goron/cvs/fptools/ghc/rts
------------------------------------------------------------------------
make[3]: Nothing to be done for `all'.
------------------------------------------------------------------------
==fptools== make way=debug all;
PWD = /home/goron/cvs/fptools/ghc/rts
------------------------------------------------------------------------
make[3]: Nothing to be done for `all'.
------------------------------------------------------------------------
===fptools== Finished recursively making `all' for ways: p thr thr_p debug ...
PWD = /home/goron/cvs/fptools/ghc/rts
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished making `all' in includes utils driver docs compiler rts ...
PWD = /home/goron/cvs/fptools/ghc
------------------------------------------------------------------------
make[1]: Leaving directory `/home/goron/cvs/fptools/ghc'
make[1]: Entering directory `/home/goron/cvs/fptools/libraries'
------------------------------------------------------------------------
===fptools== Recursively making `boot' in base haskell98 template-haskell
haskell-src mtl network parsec QuickCheck HUnit fgl X11 HGL readline unix ...
PWD = /home/goron/cvs/fptools/libraries
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
../../glafp-utils/mkdependC/mkdependC -f .depend -IControl -IControl/Concurrent
-IControl/Parallel -IControl/Monad -IControl/Monad/ST -IData -IData/Generics
-IData/Array -IData/Array/IO -IData/STRef -IDebug -IForeign -IForeign/C
-IForeign/Marshal -IGHC -ISystem -ISystem/Console -ISystem/Mem -ISystem/IO
-ISystem/Posix -IText -IText/Html -IText/PrettyPrint -IText/ParserCombinators
-IText/Regex -IText/Show -IText/Read -I../../ghc/includes   -s p -- -O    --
System/CPUTime_hsc.c System/Posix/Signals_hsc.c System/Time_hsc.c
Text/Regex/Posix_hsc.c
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -fglasgow-exts -cpp -Iinclude -"#include" HsBase.h
-funbox-strict-fields -package-name base -O -Rghc-timing Control/Arrow.hs
Control/Concurrent.hs Control/Concurrent/Chan.hs Control/Concurrent/MVar.hs
Control/Concurrent/QSem.hs Control/Concurrent/QSemN.hs
Control/Concurrent/SampleVar.hs Control/Exception.hs Control/Monad.hs
Control/Monad/Fix.hs Control/Monad/ST.hs Control/Monad/ST/Lazy.hs
Control/Monad/ST/Strict.hs Control/Parallel.hs Control/Parallel/Strategies.hs
Data/Array.hs Data/Array/Base.hs Data/Array/Diff.hs Data/Array/IArray.hs
Data/Array/IO.hs Data/Array/IO/Internals.hs Data/Array/MArray.hs
Data/Array/ST.hs Data/Array/Storable.hs Data/Array/Unboxed.hs Data/Bits.hs
Data/Bool.hs Data/Char.hs Data/Complex.hs Data/Dynamic.hs Data/Either.hs
Data/FiniteMap.hs Data/Generics.hs Data/Generics/Aliases.hs
Data/Generics/Basics.hs Data/Generics/Instances.hs Data/Generics/Schemes.hs
Data/Generics/Text.hs Data/Generics/Twins.hs Data/Graph.hs Data/HashTable.hs
Data/IORef.hs Data/Int.hs Data/Ix.hs Data/List.hs Data/Maybe.hs Data/Monoid.hs
Data/PackedString.hs Data/Queue.hs Data/Ratio.hs Data/STRef.hs
Data/STRef/Lazy.hs Data/STRef/Strict.hs Data/Set.hs Data/Tree.hs Data/Tuple.hs
Data/Typeable.hs Data/Unique.hs Data/Word.hs Debug/Trace.hs Foreign.hs
Foreign/C.hs Foreign/C/Error.hs Foreign/C/String.hs Foreign/C/Types.hs
Foreign/Concurrent.hs Foreign/ForeignPtr.hs Foreign/Marshal.hs
Foreign/Marshal/Alloc.hs Foreign/Marshal/Array.hs Foreign/Marshal/Error.hs
Foreign/Marshal/Pool.hs Foreign/Marshal/Utils.hs Foreign/Ptr.hs
Foreign/StablePtr.hs Foreign/Storable.hs GHC/Arr.lhs GHC/Base.lhs GHC/Conc.lhs
GHC/Dotnet.hs GHC/Enum.lhs GHC/Err.lhs GHC/Exception.lhs GHC/Exts.hs
GHC/Float.lhs GHC/ForeignPtr.hs GHC/Handle.hs GHC/IO.hs GHC/IOBase.lhs
GHC/Int.hs GHC/List.lhs GHC/Num.lhs GHC/PArr.hs GHC/Pack.lhs
GHC/PrimopWrappers.hs GHC/Ptr.lhs GHC/Read.lhs GHC/Real.lhs GHC/ST.lhs
GHC/STRef.lhs GHC/Show.lhs GHC/Stable.lhs GHC/Storable.lhs GHC/TopHandler.lhs
GHC/Unicode.hs GHC/Weak.lhs GHC/Word.hs Numeric.hs Prelude.hs System/CPUTime.hs
System/Cmd.hs System/Console/GetOpt.hs System/Directory.hs System/Environment.hs
System/Exit.hs System/IO.hs System/IO/Error.hs System/IO/Unsafe.hs
System/Info.hs System/Locale.hs System/Mem.hs System/Mem/StableName.hs
System/Mem/Weak.hs System/Posix/Internals.hs System/Posix/Signals.hs
System/Posix/Types.hs System/Random.hs System/Time.hs Text/Html.hs
Text/Html/BlockTable.hs Text/ParserCombinators/ReadP.hs
Text/ParserCombinators/ReadPrec.hs Text/PrettyPrint.hs
Text/PrettyPrint/HughesPJ.hs Text/Read.hs Text/Read/Lex.hs Text/Regex.hs
Text/Regex/Posix.hs Text/Show.hs Text/Show/Functions.hs
<<ghc: 65690464 bytes, 22 GCs, 81440/81440 avg/max bytes residency (1 samples),
17M in use, 0.00 INIT (0.02 elapsed), 0.25 MUT (1.99 elapsed), 0.02 GC (0.47
elapsed) :ghc>>
------------------------------------------------------------------------
===fptools== Recursively making `boot' in cbits include ...
PWD = /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/base/cbits
------------------------------------------------------------------------
../../../glafp-utils/mkdependC/mkdependC -f .depend     -- -O -Wall
-DCOMPILING_STDLIB  -I../../../ghc/includes -I../../../ghc/rts -I../include   
-- PrelIOUtils.c dirUtils.c inputReady.c lockFile.c longlong.c rawSystem.c
system.c timeUtils.c writeError.c
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/base/include
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished making `boot' in cbits include ...
PWD = /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/haskell98
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -package-name haskell98 -O -Rghc-timing -package base Array.hs
Bits.hs CError.hs CForeign.hs CPUTime.hs CString.hs CTypes.hs Char.hs Complex.hs
Directory.hs ForeignPtr.hs IO.hs Int.hs Ix.hs List.hs Locale.hs MarshalAlloc.hs
MarshalArray.hs MarshalError.hs MarshalUtils.hs Maybe.hs Monad.hs Ptr.hs
Random.hs Ratio.hs StablePtr.hs Storable.hs System.hs Time.hs Word.hs
<<ghc: 8084028 bytes, 6 GCs, 53416/53416 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.03 MUT (0.07 elapsed), 0.01 GC (0.01
elapsed) :ghc>>
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/template-haskell
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -package-name template-haskell -O -Rghc-timing -package base
Language/Haskell/TH.hs Language/Haskell/TH/Lib.hs Language/Haskell/TH/Ppr.hs
Language/Haskell/TH/PprLib.hs Language/Haskell/TH/Syntax.hs
<<ghc: 6335148 bytes, 3 GCs, 51468/51468 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.03 MUT (0.03 elapsed), 0.00 GC (0.02
elapsed) :ghc>>
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/haskell-src
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -fglasgow-exts -cpp -package-name haskell-src -O -Rghc-timing
-package base Language/Haskell/Lexer.hs Language/Haskell/ParseMonad.hs
Language/Haskell/ParseUtils.hs Language/Haskell/Parser.hs
Language/Haskell/Pretty.hs Language/Haskell/Syntax.hs
<<ghc: 12604024 bytes, 4 GCs, 52028/52028 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.04 MUT (0.10 elapsed), 0.01 GC (0.01
elapsed) :ghc>>
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/mtl
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -fglasgow-exts -package-name mtl -O -Rghc-timing -package base
Control/Monad/Cont.hs Control/Monad/Error.hs Control/Monad/Identity.hs
Control/Monad/List.hs Control/Monad/RWS.hs Control/Monad/Reader.hs
Control/Monad/State.hs Control/Monad/Trans.hs Control/Monad/Writer.hs
<<ghc: 5735424 bytes, 3 GCs, 52324/52324 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.01 MUT (0.03 elapsed), 0.01 GC (0.01
elapsed) :ghc>>
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/network
------------------------------------------------------------------------
../../glafp-utils/mkdependC/mkdependC -f .depend -INetwork -I../../ghc/includes
  -s p -- -O -Iinclude -I. -I../../ghc/includes    -- Network/BSD_hsc.c
Network/Socket_hsc.c cbits/HsNet.c cbits/ancilData.c
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -Iinclude -#include HsNet.h -package-name network -O
-Rghc-timing -package base Network.hs Network/BSD.hs Network/CGI.hs
Network/Socket.hs Network/URI.hs
<<ghc: 9303996 bytes, 4 GCs, 50988/50988 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.08 elapsed), 0.02 GC (0.03
elapsed) :ghc>>
------------------------------------------------------------------------
===fptools== Recursively making `boot' in include ...
PWD = /home/goron/cvs/fptools/libraries/network
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/network/include
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished making `boot' in include ...
PWD = /home/goron/cvs/fptools/libraries/network
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/parsec
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -fglasgow-exts -package-name parsec -O -Rghc-timing -package
base Text/ParserCombinators/Parsec.hs Text/ParserCombinators/Parsec/Char.hs
Text/ParserCombinators/Parsec/Combinator.hs
Text/ParserCombinators/Parsec/Error.hs Text/ParserCombinators/Parsec/Expr.hs
Text/ParserCombinators/Parsec/Language.hs Text/ParserCombinators/Parsec/Perm.hs
Text/ParserCombinators/Parsec/Pos.hs Text/ParserCombinators/Parsec/Prim.hs
Text/ParserCombinators/Parsec/Token.hs
<<ghc: 6589324 bytes, 3 GCs, 54432/54432 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.02 elapsed), 0.01 GC (0.02
elapsed) :ghc>>
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/QuickCheck
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -package-name QuickCheck -O -Rghc-timing -package base
Debug/QuickCheck.hs Debug/QuickCheck/Batch.hs Debug/QuickCheck/Poly.hs
Debug/QuickCheck/Utils.hs Test/QuickCheck.hs Test/QuickCheck/Batch.hs
Test/QuickCheck/Poly.hs Test/QuickCheck/Utils.hs
<<ghc: 5201236 bytes, 3 GCs, 52028/52028 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.01 MUT (0.04 elapsed), 0.01 GC (0.00
elapsed) :ghc>>
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/HUnit
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -cpp -package-name HUnit -O -Rghc-timing -package base
Test/HUnit.lhs Test/HUnit/Base.lhs Test/HUnit/Lang.lhs Test/HUnit/Terminal.lhs
Test/HUnit/Text.lhs
<<ghc: 4418888 bytes, 3 GCs, 50988/50988 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.05 elapsed), 0.00 GC (0.01
elapsed) :ghc>>
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/fgl
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -Wall -fno-warn-missing-signatures -fglasgow-exts
-fallow-overlapping-instances -package-name fgl -O -Rghc-timing -package base
Data/Graph/Inductive.hs Data/Graph/Inductive/Basic.hs
Data/Graph/Inductive/Example.hs Data/Graph/Inductive/Graph.hs
Data/Graph/Inductive/Graphviz.hs Data/Graph/Inductive/Internal/FiniteMap.hs
Data/Graph/Inductive/Internal/Heap.hs Data/Graph/Inductive/Internal/Queue.hs
Data/Graph/Inductive/Internal/RootPath.hs
Data/Graph/Inductive/Internal/Thread.hs Data/Graph/Inductive/Monad.hs
Data/Graph/Inductive/Monad/IOArray.hs Data/Graph/Inductive/NodeMap.hs
Data/Graph/Inductive/Query.hs Data/Graph/Inductive/Query/ArtPoint.hs
Data/Graph/Inductive/Query/BCC.hs Data/Graph/Inductive/Query/BFS.hs
Data/Graph/Inductive/Query/DFS.hs Data/Graph/Inductive/Query/Dominators.hs
Data/Graph/Inductive/Query/GVD.hs Data/Graph/Inductive/Query/Indep.hs
Data/Graph/Inductive/Query/MST.hs Data/Graph/Inductive/Query/MaxFlow.hs
Data/Graph/Inductive/Query/MaxFlow2.hs Data/Graph/Inductive/Query/Monad.hs
Data/Graph/Inductive/Query/SP.hs Data/Graph/Inductive/Query/TransClos.hs
Data/Graph/Inductive/Tree.hs
<<ghc: 10575984 bytes, 5 GCs, 61704/61704 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.04 MUT (0.07 elapsed), 0.00 GC (0.01
elapsed) :ghc>>
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/X11
------------------------------------------------------------------------
../../glafp-utils/mkdependC/mkdependC -f .depend -IGraphics/X11
-IGraphics/X11/Xlib -I../../ghc/includes   -s p -- -O -Iinclude
-I/usr/X11R6/include -I/usr/X11R6/include    -- Graphics/X11/Types_hsc.c
Graphics/X11/Xlib/Atom_hsc.c Graphics/X11/Xlib/Event_hsc.c
Graphics/X11/Xlib/Font_hsc.c Graphics/X11/Xlib/Misc_hsc.c
Graphics/X11/Xlib/Types_hsc.c
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -cpp -fffi -Iinclude -I/usr/X11R6/include -I/usr/X11R6/include
-package-name X11 -O -Rghc-timing -package base Graphics/X11/Types.hs
Graphics/X11/Xlib.hs Graphics/X11/Xlib/Atom.hs Graphics/X11/Xlib/Color.hs
Graphics/X11/Xlib/Context.hs Graphics/X11/Xlib/Display.hs
Graphics/X11/Xlib/Event.hs Graphics/X11/Xlib/Font.hs Graphics/X11/Xlib/Misc.hs
Graphics/X11/Xlib/Region.hs Graphics/X11/Xlib/Screen.hs
Graphics/X11/Xlib/Types.hs Graphics/X11/Xlib/Window.hs
<<ghc: 11915964 bytes, 4 GCs, 54332/54332 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.05 MUT (0.17 elapsed), 0.00 GC (0.01
elapsed) :ghc>>
------------------------------------------------------------------------
===fptools== Recursively making `boot' in cbits doc include ...
PWD = /home/goron/cvs/fptools/libraries/X11
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/X11/cbits
------------------------------------------------------------------------
../../../glafp-utils/mkdependC/mkdependC -f .depend     -- -O -Wall -I../include
-I/usr/X11R6/include -I/usr/X11R6/include     -- auxiliaries.c fdset.c
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/X11/doc
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/X11/include
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished making `boot' in cbits doc include ...
PWD = /home/goron/cvs/fptools/libraries/X11
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/HGL
------------------------------------------------------------------------
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -cpp -package-name HGL -O -Rghc-timing -package base -package
X11 Graphics/HGL.hs Graphics/HGL/Core.hs Graphics/HGL/Draw.hs
Graphics/HGL/Draw/Brush.hs Graphics/HGL/Draw/Font.hs Graphics/HGL/Draw/Monad.hs
Graphics/HGL/Draw/Pen.hs Graphics/HGL/Draw/Picture.hs
Graphics/HGL/Draw/Region.hs Graphics/HGL/Draw/Text.hs Graphics/HGL/Event.hs
Graphics/HGL/Internals/Draw.hs Graphics/HGL/Internals/Events.hs
Graphics/HGL/Internals/Flag.hs Graphics/HGL/Internals/Types.hs
Graphics/HGL/Internals/Utilities.hs Graphics/HGL/Key.hs Graphics/HGL/Run.hs
Graphics/HGL/Units.hs Graphics/HGL/Utils.hs Graphics/HGL/Window.hs
Graphics/HGL/X11/DC.hs Graphics/HGL/X11/Display.hs Graphics/HGL/X11/Timer.hs
Graphics/HGL/X11/Types.hs Graphics/HGL/X11/Window.hs Graphics/SOE.hs
<<ghc: 11243700 bytes, 6 GCs, 57500/57500 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.04 MUT (0.20 elapsed), 0.02 GC (0.01
elapsed) :ghc>>
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/readline
------------------------------------------------------------------------
../../glafp-utils/mkdependC/mkdependC -f .depend -ISystem/Console
-I../../ghc/includes -s p -- -O -Iinclude    -- HsReadline_cbits.c
System/Console/Readline_hsc.c
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -Iinclude -package-name readline -O -Rghc-timing -package base
System/Console/Readline.hs System/Console/SimpleLineEditor.hs
<<ghc: 6877876 bytes, 3 GCs, 50676/50676 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.06 elapsed), 0.01 GC (0.00
elapsed) :ghc>>
------------------------------------------------------------------------
===fptools== Recursively making `boot' in include ...
PWD = /home/goron/cvs/fptools/libraries/readline
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/readline/include
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished making `boot' in include ...
PWD = /home/goron/cvs/fptools/libraries/readline
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot -wr;
 in /home/goron/cvs/fptools/libraries/unix
------------------------------------------------------------------------
../../glafp-utils/mkdependC/mkdependC -f .depend -ISystem -ISystem/Posix
-ISystem/Posix/DynamicLinker -I../../ghc/includes   -s p -- -O    --
System/Posix/Directory_hsc.c System/Posix/DynamicLinker/Module_hsc.c
System/Posix/DynamicLinker/Prim_hsc.c System/Posix/DynamicLinker_hsc.c
System/Posix/Env_hsc.c System/Posix/Files_hsc.c System/Posix/IO_hsc.c
System/Posix/Process_hsc.c System/Posix/Resource_hsc.c System/Posix/Temp_hsc.c
System/Posix/Terminal_hsc.c System/Posix/Time_hsc.c System/Posix/Unistd_hsc.c
System/Posix/User_hsc.c
../../ghc/compiler/ghc-inplace -M -optdep-f -optdep.depend -optdep-s -optdepp
-osuf o -H16m -O -Iinclude -package-name unix -O -Rghc-timing -package base
System/Posix.hs System/Posix/Directory.hs System/Posix/DynamicLinker.hs
System/Posix/DynamicLinker/Module.hs System/Posix/DynamicLinker/Prim.hs
System/Posix/Env.hs System/Posix/Files.hs System/Posix/IO.hs
System/Posix/Process.hs System/Posix/Resource.hs System/Posix/Temp.hs
System/Posix/Terminal.hs System/Posix/Time.hs System/Posix/Unistd.hs
System/Posix/User.hs
<<ghc: 11125380 bytes, 5 GCs, 54092/54092 avg/max bytes residency (1 samples),
16M in use, 0.00 INIT (0.00 elapsed), 0.05 MUT (0.15 elapsed), 0.00 GC (0.01
elapsed) :ghc>>
------------------------------------------------------------------------
===fptools== Recursively making `boot' in cbits include ...
PWD = /home/goron/cvs/fptools/libraries/unix
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/unix/cbits
------------------------------------------------------------------------
../../../glafp-utils/mkdependC/mkdependC -f .depend     -- -O -Wall
-I../../../ghc/includes -I../../../ghc/rts -I../include    -- HsUnix.c execvpe.c
------------------------------------------------------------------------
==fptools== make boot - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/unix/include
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished making `boot' in cbits include ...
PWD = /home/goron/cvs/fptools/libraries/unix
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished making `boot' in base haskell98 template-haskell
haskell-src mtl network parsec QuickCheck HUnit fgl X11 HGL readline unix ...
PWD = /home/goron/cvs/fptools/libraries
------------------------------------------------------------------------
make[1]: Leaving directory `/home/goron/cvs/fptools/libraries'
make[1]: Entering directory `/home/goron/cvs/fptools/libraries'
------------------------------------------------------------------------
===fptools== Recursively making `all' in base haskell98 template-haskell
haskell-src mtl network parsec QuickCheck HUnit fgl X11 HGL readline unix ...
PWD = /home/goron/cvs/fptools/libraries
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make all -wr;
 in /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Recursively making `all' for ways: p ...
PWD = /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make way=p all;
PWD = /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Recursively making `all' in cbits include ...
PWD = /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make all - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/base/cbits
------------------------------------------------------------------------
make[4]: Nothing to be done for `all'.
------------------------------------------------------------------------
==fptools== make all - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/base/include
------------------------------------------------------------------------
make[4]: Nothing to be done for `all'.
------------------------------------------------------------------------
===fptools== Finished making `all' in cbits include ...
PWD = /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished recursively making `all' for ways: p ...
PWD = /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Recursively making `all' in cbits include ...
PWD = /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make all - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/base/cbits
------------------------------------------------------------------------
make[3]: Nothing to be done for `all'.
------------------------------------------------------------------------
==fptools== make all - --no-print-directory -r;
 in /home/goron/cvs/fptools/libraries/base/include
------------------------------------------------------------------------
make[3]: Nothing to be done for `all'.
------------------------------------------------------------------------
===fptools== Finished making `all' in cbits include ...
PWD = /home/goron/cvs/fptools/libraries/base
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make all -wr;
 in /home/goron/cvs/fptools/libraries/haskell98
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Recursively making `all' for ways: p ...
PWD = /home/goron/cvs/fptools/libraries/haskell98
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make way=p all;
PWD = /home/goron/cvs/fptools/libraries/haskell98
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished recursively making `all' for ways: p ...
PWD = /home/goron/cvs/fptools/libraries/haskell98
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make all -wr;
 in /home/goron/cvs/fptools/libraries/template-haskell
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Recursively making `all' for ways: p ...
PWD = /home/goron/cvs/fptools/libraries/template-haskell
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make way=p all;
PWD = /home/goron/cvs/fptools/libraries/template-haskell
------------------------------------------------------------------------
------------------------------------------------------------------------
===fptools== Finished recursively making `all' for ways: p ...
PWD = /home/goron/cvs/fptools/libraries/template-haskell
------------------------------------------------------------------------
------------------------------------------------------------------------
==fptools== make all -wr;
 in /home/goron/cvs/fptools/libraries/haskell-src
------------------------------------------------------------------------
rm -f Language/Haskell/Syntax.o; if [ ! -d Language/Haskell/Syntax_split ]; then
mkdir Language/Haskell/Syntax_split; else /usr/bin/find
Language/Haskell/Syntax_split -name '*.o' -print | xargs rm -f __rm_food; fi;
../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp  -package-name
haskell-src -O -Rghc-timing  -package base -split-objs    -c
Language/Haskell/Syntax.hs -o Language/Haskell/Syntax.o  -ohi
Language/Haskell/Syntax.hi
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
<<ghc: 2749613252 bytes, 9844 GCs, 18884260/33289644 avg/max bytes residency (20
samples), 92M in use, 0.00 INIT (0.00 elapsed), 16.41 MUT (980.62 elapsed),
19.80 GC (22.82 elapsed) :ghc>>
make[2]: *** [Language/Haskell/Syntax.o] Error 1
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/goron/cvs/fptools/libraries'
make: *** [build] Error 1

I isolated the problem to the Syntax.hi file, and I would like to add it, but I
can not find a place here where I can put the file. Because ghc calls gcc, I
don't know what options it uses. I am not the everyday gcc hacker. If you do
exactly as what I said above, you should get the error. It takes about 30
minutes to recreate the setup. (That's a lot less I have spend). I hope you can
fix it.

-- 
           Summary: When compiling ghc, memory goes full, and then gcc gives
                    an internel error
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rondebruijn at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686 (IBM standard pc)
  GCC host triplet: Reading specs from /opt/gcc-3.3.3/lib/gcc-lib/i686-pc-
                    linux-gnu/
GCC target triplet: i686 (IBM standard pc)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16812


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-09-12 15:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-28 22:28 [Bug c/16812] New: When compiling ghc, memory goes full, and then gcc gives an internel error rondebruijn at yahoo dot com
2004-07-28 22:30 ` [Bug c/16812] " pinskia at gcc dot gnu dot org
2004-07-28 22:38 ` rondebruijn at yahoo dot com
2004-07-28 22:39 ` rondebruijn at yahoo dot com
2004-07-28 22:41 ` rondebruijn at yahoo dot com
2004-08-14  7:25 ` [Bug rtl-optimization/16812] " pinskia at gcc dot gnu dot org
2004-08-15  2:29 ` giovannibajo at libero dot it
2004-08-15 10:25 ` rondebruijn at yahoo dot com
2004-09-12 15:14 ` falk at debian dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).