#3867: ghc: panic! (linkBCO: >= 64k ptrs)
-------------------------------+--------------------------------------------
    Reporter:  archgrove       |        Owner:                           
        Type:  bug             |       Status:  new                      
    Priority:  normal          |    Milestone:  6.12.3                   
   Component:  Compiler        |      Version:  6.12.1                   
    Keywords:                  |   Difficulty:                           
          Os:  Windows         |     Testcase:                           
Architecture:  x86_64 (amd64)  |      Failure:  GHC rejects valid program
-------------------------------+--------------------------------------------
Changes (by gyppo):

 * cc: gypsywasherwo...@… (added)
  * os:  Unknown/Multiple => Windows
  * architecture:  Unknown/Multiple => x86_64 (amd64)


Comment:

 Similar situation here, this time working with a large (>500kB) list of
 primes saved to a .hs file.

 Output:
 *Main> let no_even_digits p = all odd (digify p)
 Loading package array-0.3.0.0 ... linking ... done.
 Loading package bytestring-0.9.1.5 ... linking ... done.
 Loading package Win32-2.2.0.1 ... linking ... done.
 Loading package filepath-1.1.0.3 ... linking ... done.
 Loading package old-locale-1.0.0.2 ... linking ... done.
 Loading package old-time-1.0.0.3 ... linking ... done.
 Loading package directory-1.0.1.0 ... linking ... done.
 Loading package process-1.0.1.2 ... linking ... done.
 Loading package time-1.1.4 ... linking ... done.
 Loading package random-1.0.0.2 ... linking ... done.
 Loading package haskell98 ... linking ... done.
 : panic! (the 'impossible' happened)
   (GHC version 6.12.1 for i386-unknown-mingw32):
         linkBCO: >= 64k ptrs

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

 --------------------------------
 where:
 rint c = read c :: Integer
 digify n = map (rint.(:[])) (show n)

 are defined in the .hs file alongside the list of primes.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3867#comment:3>
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

Reply via email to