[GHC] #8212: ghc panic building vector on Raspberry Pi

#8212: ghc panic building vector on Raspberry Pi -----------------------------+------------------------------------- Reporter: ill_logic | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.4.1 Keywords: | Operating System: Unknown/Multiple Architecture: arm | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | -----------------------------+------------------------------------- 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} pi@raspberrypi ~ $ uname -a Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux Let me know if there's any other details I can help with. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8212 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8212: ghc panic building vector on architectures w/o GHCi ----------------------------------------+---------------------------------- Reporter: ill_logic | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries (other) | Version: 7.4.1 Resolution: | Keywords: vector Operating System: Unknown/Multiple | annotation Type of failure: Building GHC failed | Architecture: Test Case: | Unknown/Multiple Blocking: | Difficulty: Unknown | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by trommler): * cc: ptrommler@… (added) * component: Compiler => libraries (other) * failure: None/Unknown => Building GHC failed * architecture: arm => Unknown/Multiple * keywords: => vector annotation Comment: I see the same error for {{{GHC version 7.7.20130828 for powerpc64-unknown-linux}}} when building vector as part of a ghc build. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8212#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8212: ghc panic building vector on architectures w/o GHCi ----------------------------------------+---------------------------------- Reporter: ill_logic | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries (other) | Version: 7.4.1 Resolution: | Keywords: vector Operating System: Unknown/Multiple | annotation Type of failure: Building GHC failed | Architecture: Test Case: | Unknown/Multiple Blocking: | Difficulty: Unknown | Blocked By: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by ill_logic): I actually realized that this is a known bug. Vector requires ghci, which is not built for Arm until 7.4.2. 7.4.2 is not available in the normal Raspberry Pi repositories yet. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8212#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8212: ghc panic building vector on architectures w/o GHCi ----------------------------------------+---------------------------------- Reporter: ill_logic | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries (other) | Version: 7.4.1 Resolution: | Keywords: vector Operating System: Unknown/Multiple | annotation Type of failure: Building GHC failed | Architecture: Test Case: | Unknown/Multiple Blocking: | Difficulty: Unknown | Blocked By: | Related Tickets: #8203 ----------------------------------------+---------------------------------- Changes (by trommler): * related: => #8203 Comment: Replying to [comment:2 ill_logic]:
I actually realized that this is a known bug. Vector requires ghci, which is not built for Arm until 7.4.2. 7.4.2 is not available in the normal Raspberry Pi repositories yet. I see, it has been reported in #8203.
I will create a new ticket for the bug in the latest unstable snapshot (v 7.7.20130828) and point back to this ticket. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8212#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8212: ghc panic building vector on architectures w/o GHCi ----------------------------------------+---------------------------------- Reporter: ill_logic | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: libraries (other) | Version: 7.4.1 Resolution: fixed | Keywords: vector Operating System: Unknown/Multiple | annotation Type of failure: Building GHC failed | Architecture: Test Case: | Unknown/Multiple Blocking: | Difficulty: Unknown | Blocked By: | Related Tickets: #8203 ----------------------------------------+---------------------------------- Changes (by monoidal): * status: new => closed * resolution: => fixed Comment: This should be fixed in HEAD (#7824, #8339, #7504). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8212#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8212: ghc panic building vector on architectures w/o GHCi ----------------------------------------+---------------------------------- Reporter: ill_logic | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: libraries (other) | Version: 7.4.1 Resolution: fixed | Keywords: vector Operating System: Unknown/Multiple | annotation Type of failure: Building GHC failed | Architecture: Test Case: | Unknown/Multiple Blocking: | Difficulty: Unknown | Blocked By: | Related Tickets: #8203 ----------------------------------------+---------------------------------- Comment (by ill_logic): Thanks for the update. Is it fixed by giving ghci support to Arm, or by removing ghci dependency from vector? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8212#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8212: ghc panic building vector on architectures w/o GHCi ----------------------------------------+---------------------------------- Reporter: ill_logic | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: libraries (other) | Version: 7.4.1 Resolution: fixed | Keywords: vector Operating System: Unknown/Multiple | annotation Type of failure: Building GHC failed | Architecture: Test Case: | Unknown/Multiple Blocking: | Difficulty: Unknown | Blocked By: | Related Tickets: #8203 ----------------------------------------+---------------------------------- Comment (by monoidal): vector should now build. I don't know what's the precise status of ghci on arm; we still have #7794 and #8380. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8212#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC