Ticket #3885 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

A bug appeared trying to run an opengl(-haskell) program

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.10.4
Keywords: Cc:
Operating System: Linux Architecture: x86
Type of failure: Compile-time crash Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

mh@dsktp:/media/VENUS/python$ ghc helloWorld.hs -o ej Binary: Int64 truncated to fit in 32 bit Int ghc: panic! (the 'impossible' happened)

(GHC version 6.10.4 for i386-unknown-linux):

Prelude.chr: bad argument

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

Attachments

exampleOpenGL00.hs Download (191 bytes) - added by guest 3 years ago.
OpenGL Library failed

Change History

Changed 3 years ago by guest

OpenGL Library failed

Changed 3 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

This was a bug in GHC 6.10.4 where it didn't detect that an old .hi file was incompatible and tried to read it. Remove all .hi files, or upgrade to GHC 6.12.1, and you should be ok.

Note: See TracTickets for help on using tickets.