#3978: ghc error while compiling Data.Vector.Algoriths.Intro
-------------------------+--------------------------------------------------
Reporter: dubhrosa | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.10.4
Keywords: | Difficulty:
Os: Linux | Testcase:
Architecture: x86 | Failure: Compile-time crash
-------------------------+--------------------------------------------------
Description changed by igloo:
Old description:
> I installed the haskell platform afresh on my Ubuntu 9.10 system,
> following the instructions for doing so from the haskell.org site,
> everything with the platform appears to work fine. I tried installing the
> criterion package and got the error message shown below from ghc.
>
> cabal install criterion
> Resolving dependencies...
> Configuring vector-algorithms-0.3...
> Preprocessing library vector-algorithms-0.3...
> Building vector-algorithms-0.3...
> [1 of 9] Compiling Data.Vector.Algorithms.Common (
> Data/Vector/Algorithms/Common.hs,
> dist/build/Data/Vector/Algorithms/Common.o )
> [2 of 9] Compiling Data.Vector.Algorithms.Search (
> Data/Vector/Algorithms/Search.hs,
> dist/build/Data/Vector/Algorithms/Search.o )
> [3 of 9] Compiling Data.Vector.Algorithms.Radix (
> Data/Vector/Algorithms/Radix.hs,
> dist/build/Data/Vector/Algorithms/Radix.o )
> [4 of 9] Compiling Data.Vector.Algorithms.Optimal (
> Data/Vector/Algorithms/Optimal.hs,
> dist/build/Data/Vector/Algorithms/Optimal.o )
> [5 of 9] Compiling Data.Vector.Algorithms.Insertion (
> Data/Vector/Algorithms/Insertion.hs,
> dist/build/Data/Vector/Algorithms/Insertion.o )
> [6 of 9] Compiling Data.Vector.Algorithms.Merge (
> Data/Vector/Algorithms/Merge.hs,
> dist/build/Data/Vector/Algorithms/Merge.o )
> [7 of 9] Compiling Data.Vector.Algorithms.TriHeap (
> Data/Vector/Algorithms/TriHeap.hs,
> dist/build/Data/Vector/Algorithms/TriHeap.o )
> [8 of 9] Compiling Data.Vector.Algorithms.Intro (
> Data/Vector/Algorithms/Intro.hs,
> dist/build/Data/Vector/Algorithms/Intro.o )
> ghc: panic! (the 'impossible' happened)
> (GHC version 6.10.4 for i386-unknown-linux):
> idInfo co{v a9WB} [tv]
>
> Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
>
> cabal: Error: some packages failed to install:
> criterion-0.5.0.0 depends on vector-algorithms-0.3 which failed to
> install.
> statistics-0.5.1.0 depends on vector-algorithms-0.3 which failed to
> install.
> vector-algorithms-0.3 failed during the building phase. The exception
> was:
> exit: ExitFailure 1
New description:
I installed the haskell platform afresh on my Ubuntu 9.10 system,
following the instructions for doing so from the haskell.org site,
everything with the platform appears to work fine. I tried installing the
criterion package and got the error message shown below from ghc.
{{{
cabal install criterion
Resolving dependencies...
Configuring vector-algorithms-0.3...
Preprocessing library vector-algorithms-0.3...
Building vector-algorithms-0.3...
[1 of 9] Compiling Data.Vector.Algorithms.Common (
Data/Vector/Algorithms/Common.hs,
dist/build/Data/Vector/Algorithms/Common.o )
[2 of 9] Compiling Data.Vector.Algorithms.Search (
Data/Vector/Algorithms/Search.hs,
dist/build/Data/Vector/Algorithms/Search.o )
[3 of 9] Compiling Data.Vector.Algorithms.Radix (
Data/Vector/Algorithms/Radix.hs, dist/build/Data/Vector/Algorithms/Radix.o
)
[4 of 9] Compiling Data.Vector.Algorithms.Optimal (
Data/Vector/Algorithms/Optimal.hs,
dist/build/Data/Vector/Algorithms/Optimal.o )
[5 of 9] Compiling Data.Vector.Algorithms.Insertion (
Data/Vector/Algorithms/Insertion.hs,
dist/build/Data/Vector/Algorithms/Insertion.o )
[6 of 9] Compiling Data.Vector.Algorithms.Merge (
Data/Vector/Algorithms/Merge.hs, dist/build/Data/Vector/Algorithms/Merge.o
)
[7 of 9] Compiling Data.Vector.Algorithms.TriHeap (
Data/Vector/Algorithms/TriHeap.hs,
dist/build/Data/Vector/Algorithms/TriHeap.o )
[8 of 9] Compiling Data.Vector.Algorithms.Intro (
Data/Vector/Algorithms/Intro.hs, dist/build/Data/Vector/Algorithms/Intro.o
)
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.4 for i386-unknown-linux):
idInfo co{v a9WB} [tv]
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
cabal: Error: some packages failed to install:
criterion-0.5.0.0 depends on vector-algorithms-0.3 which failed to
install.
statistics-0.5.1.0 depends on vector-algorithms-0.3 which failed to
install.
vector-algorithms-0.3 failed during the building phase. The exception was:
exit: ExitFailure 1
}}}
--
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3978#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