Ticket #3657 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

ffi-1.0 causes panic in 6.12.20091010

Reported by: tobsan Owned by:
Priority: high Milestone: 6.12.1
Component: Compiler Version: 6.12.1 RC1
Keywords: Cc:
Operating System: Linux Architecture: x86_64 (amd64)
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

After upgrading GHC to 6.12, any Haskell file I try to compile yields this result:

tobsan@magrathea ~/programming/HQmpd/src $ ghci Test.hs
GHCi, version 6.12.0.20091010: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
ghc-stage2: This ELF file contains no symtab
Loading package ffi-1.0 ... ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 6.12.0.20091010 for x86_64-unknown-linux):
	loadObj: failed

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
tobsan@magrathea ~/programming/HQmpd/src $ cat Test.hs 
module Test where

hej = print "Hej"

Change History

Changed 4 years ago by tobsan

  • summary changed from fff-1.0 causes panic in 6.12.20091010 to ffi-1.0 causes panic in 6.12.20091010

Noticed that it's called FFI and not FFF

Changed 4 years ago by igloo

  • priority changed from normal to high
  • failure set to None/Unknown
  • milestone set to 6.12.1

Thanks for the report. Unfortunately, I can't reproduce this. Did you build GHC yourself, or use one of the binary downloads? Do you have any idea of anything special about your system that might give a clue as to the problem?

Changed 4 years ago by tobsan

This was built by myself, sort of. I emerged it on gentoo.
The only peculiar USE flag used was ghcbootstrap, which was needed in order for GHC to build at all. Maybe this is a gentoo-specific bug, and in that case I have already spoken to the guys maintaining gentoo-haskell.

Changed 4 years ago by kosmikus

This is almost certainly a duplicate of #3580. As far as I know, Gentoo also strips all files by default, and this for some reason turns out to be harmful to ghci in this case.

Changed 4 years ago by igloo

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

Thanks, kosmikus. Looks likely you're right, so I'm closing this as a duplicate.

Note: See TracTickets for help on using tickets.