id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
4995	Compiling pandoc with llvm backend fails with panic	jgm	dterei	"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
}}}
"	bug	closed	normal	7.2.1	Compiler (LLVM)	7.0.2	fixed	llvm pandoc		MacOS X	x86	None/Unknown					
