Skip to content

Impossible happens compiling darcs

When I compile darcs with profiling (doing "./configure --disable-threaded --enable-profiling"), I get:

rm -f Main.hi Main.o
[ghc] stringify
PATH=".:$PATH" darcs changes --context | cat config.command - \
                | ./stringify Context context > \src/Context.hs

darcs failed:  Not a repository
Rebuild dependencies ...
[ghc] src/ThisVersion.o
[ghc] src/Autoconf.o
[ghc] src/Context.o
[ghc] src/Workaround.o
[ghc] src/CommandLine.o
[ghc] src/FastPackedString.o
[ghc] src/Printer.o
[ghc] src/Darcs/Global.o
[ghc] src/HTTP.o
[ghc] src/Darcs/Bug.o
[ghc] src/Darcs/SignalHandler.o
[ghc] src/Darcs/Show.o
[ghc] src/Darcs/Sealed.o
[ghc] src/Darcs/Patch/Ordered.o
[ghc] src/Darcs/Progress.o
[ghc] src/Exec.o
[ghc] src/Darcs/Utils.o
[ghc] src/Darcs/Compat.o
[ghc] src/UTF8.o
[ghc] src/FileName.o
[ghc] src/Darcs/URL.o
[ghc] src/Darcs/Lock.o
[ghc] src/URL.o
[ghc] src/IsoDate.o
[ghc] src/DateMatcher.o
[ghc] src/English.o
[ghc] src/FileSystem.o
[ghc] src/Lcs.o
[ghc] src/OldDate.o
[ghc] src/OldFastPackedString.o
[ghc] src/RegChars.o
[ghc] src/SHA1.o
ghc-6.8.2: panic! (the 'impossible' happened)
  (GHC version 6.8.2 for i386-unknown-linux):
        RegAllocLinear.getStackSlotFor: out of stack slots

uname -a tells me: Linux curry 2.6.24-gentoo-r2 #5 SMP Sat Feb 16 12:34:01 CET 2008 i686 Genuine Intel(R) CPU 1400 @ 1.83GHz GenuineIntel GNU/Linux

Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information