Opened 9 years ago

Closed 9 years ago

#798 closed bug (worksforme)

Ix{Int}.index: Index (402849792) out of range ((0,100))

Reported by: stepan@… Owned by:
Priority: normal Milestone: 6.6
Component: Build System Version: 6.5
Keywords: Cc:
Operating System: Linux Architecture: x86
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

While building ghc HEAD pulled 2006-06-21 I got the following:

../../compiler/ghc-inplace -H16m -O -cpp -Iinclude -ignore-package HGL -O -Rghc-timing -fgenerics  -package base  -package X11 -fgenerics -split-objs -hisuf p_hi -hcsuf p_hc -osuf p_o -prof   -c Graphics/HGL/Draw/Font.hs -o Graphics/HGL/Draw/Font.p_o  -ohi Graphics/HGL/Draw/Font.p_hi
ghc-6.5: panic! (the 'impossible' happened)
  (GHC version 6.5 for i386-unknown-linux):
        Ix{Int}.index: Index (402849792) out of range ((0,100))

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

<<ghc: 46532900 bytes, 12 GCs, 4062821/8300368 avg/max bytes residency (3 samples), 19M in use, 0.02 INIT (0.00 elapsed), 0.55 MUT (0.75 elapsed), 0.55 GC (0.58 elapsed) :ghc>>
make[3]: *** [Graphics/HGL/Draw/Font.p_o] Ошибка 1
make[2]: *** [all] Ошибка 1
make[1]: *** [all] Ошибка 1
make[1]: Leaving directory `/home/stepan/projects/darcs.haskell.org/ghc/libraries'
make: *** [stage1] Ошибка 2

I used ghc 6.2.2 for bootstrapping

Change History (5)

comment:1 Changed 9 years ago by simonmar

Is it possible that you had previously built GHC in this same tree, and you didn't 'make clean' after pulling? The Ix error is often a symptom of mismatched interface file formats.

comment:2 Changed 9 years ago by stepan@…

Yes, it seems like I forgot to run 'make clean'.

comment:3 Changed 9 years ago by stepan@…

In a new tree created with darcs everything builds fine. But when I run 'make maintainer-clean' in the existing tree I get the same error:

../../compiler/ghc-inplace -H16m -O -cpp -Iinclude -ignore-package HGL -O -Rghc-timing -fgenerics  -package base  -package X11 -fgenerics -split-objs -hisuf p_hi -hcsuf p_hc -osuf p_o -prof   -c Graphics/HGL/X11/Display.hs -o Graphics/HGL/X11/Display.p_o  -ohi Graphics/HGL/X11/Display.p_hi
compilation IS NOT required
<<ghc: 13863116 bytes, 3 GCs, 99436/99436 avg/max bytes residency (1 samples), 15M in use, 0.01 INIT (0.00 elapsed), 0.16 MUT (0.24 elapsed), 0.04 GC (0.05 elapsed) :ghc>>
../../compiler/ghc-inplace -H16m -O -cpp -Iinclude -ignore-package HGL -O -Rghc-timing -fgenerics  -package base  -package X11 -fgenerics -split-objs -hisuf p_hi -hcsuf p_hc -osuf p_o -prof   -c Graphics/HGL/Draw/Font.hs -o Graphics/HGL/Draw/Font.p_o  -ohi Graphics/HGL/Draw/Font.p_hi
ghc-6.5: panic! (the 'impossible' happened)
  (GHC version 6.5 for i386-unknown-linux):
        Ix{Int}.index: Index (402849792) out of range ((0,100))

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

<<ghc: 45698060 bytes, 12 GCs, 4041329/8330780 avg/max bytes residency (3 samples), 18M in use, 0.02 INIT (0.00 elapsed), 0.52 MUT (0.77 elapsed), 0.57 GC (0.57 elapsed) :ghc>>

comment:4 Changed 9 years ago by simonmar

  • Component changed from Compiler to Build System
  • Milestone set to 6.6

Do you mean that make maintainer-clean itself produces that error message, or the error message is produced when you try to make afterward? I just tried a make maintatiner-clean in libraries/HGL and it seemed to clean everything out just fine.

comment:5 Changed 9 years ago by simonmar

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.