#4995: Compiling pandoc with llvm backend fails with panic
------------------------+---------------------------------------------------
Reporter: jgm | Owner: davidterei@…
Type: bug | Status: new
Priority: normal | Component: Compiler (LLVM)
Version: 7.0.2 | Keywords: llvm pandoc
Testcase: | Blockedby:
Os: MacOS X | Blocking:
Architecture: x86 | Failure: None/Unknown
------------------------+---------------------------------------------------
I decided to try compiling pandoc with the llvm backend (GHC 7.0.2 32 bit
on Mac OSX 10.6). I put -fllvm in Ghc-Options in the cabal file and did a
'cabal install'.
It failed eventually with the following message, which I am duly
reporting:
[14 of 37] Compiling Text.Pandoc.Readers.LaTeX (
src/Text/Pandoc/Readers/LaTeX.hs, dist/build/pandoc/pandoc-
tmp/Text/Pandoc/Readers/LaTeX.o )
SpecConstr
Function `$w$j{v s62TR} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
SpecConstr
Function `$w$j{v s62TR} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
[...deleted more in that vein...]
SpecConstr
Function `$w$j{v s63cF} [lid]'
has two call patterns, but the limit is 1
Use -fspec-constr-count=n to set the bound
Use -dppr-debug to see specialisations
ghc: panic! (the 'impossible' happened)
(GHC version 7.0.2 for i386-apple-darwin):
LLvmMangler Cannot read"_c6"as it's not an Int
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4995>
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