#7504 closed bug (invalid)

hackage vector package yields ghc bug on raspberry pi

Reported by: plaeremans Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.4.1
Keywords: raspberry pi debian Cc:
Operating System: Linux Architecture: arm
Type of failure: None/Unknown Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

See output below,

pieter@raspberrypi ~ $ cabal install vector
Resolving dependencies...
Configuring vector-0.10.0.1...
Building vector-0.10.0.1...
Preprocessing library vector-0.10.0.1...
[ 1 of 19] Compiling Data.Vector.Storable.Internal ( Data/Vector/Storable/Internal.hs, dist/build/Data/Vector/Storable/Internal.o )
[ 2 of 19] Compiling Data.Vector.Fusion.Util ( Data/Vector/Fusion/Util.hs, dist/build/Data/Vector/Fusion/Util.o )
[ 3 of 19] Compiling Data.Vector.Fusion.Stream.Size ( Data/Vector/Fusion/Stream/Size.hs, dist/build/Data/Vector/Fusion/Stream/Size.o )

Data/Vector/Fusion/Stream/Size.hs:25:10:
    Warning: No explicit method nor default method for `*'
    In the instance declaration for `Num Size'

Data/Vector/Fusion/Stream/Size.hs:25:10:
    Warning: No explicit method nor default method for `abs'
    In the instance declaration for `Num Size'

Data/Vector/Fusion/Stream/Size.hs:25:10:
    Warning: No explicit method nor default method for `signum'
    In the instance declaration for `Num Size'
[ 4 of 19] Compiling Data.Vector.Internal.Check ( Data/Vector/Internal/Check.hs, dist/build/Data/Vector/Internal/Check.o )
[ 5 of 19] Compiling Data.Vector.Fusion.Stream.Monadic ( Data/Vector/Fusion/Stream/Monadic.hs, dist/build/Data/Vector/Fusion/Stream/Monadic.o )
ghc: panic! (the 'impossible' happened)
  (GHC version 7.4.1 for arm-unknown-linux):
        Cant do annotations without GHCi
    {Data/Vector/Fusion/Stream/Monadic.hs:104:19-33}
    base:GHC.Exts.ForceSpecConstr{d ra42}

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

Change History (1)

comment:1 Changed 16 months ago by simonmar

  • Difficulty set to Unknown
  • Resolution set to invalid
  • Status changed from new to closed

Your GHC was built without GHCi support (I'm not sure why though). That means you can't build anything that uses Template Haskell or other related features (annotations, quasiquoting).

Try contacting the maintainer of the Debian package of GHC for ARM?

Note: See TracTickets for help on using tickets.