Skip to content

Internal compiler error on haskell-src-exts 1.14.01 (profiling)

I'm configuring and building haskell-src-exts like this:

runhaskell Setup configure -O -p  --enable-shared \
        -fbase4
runhaskell Setup build

It builds the ordinary bits just fine, but when it gets to compiling for profiling:

[ 1 of 22] Compiling Language.Haskell.Exts.Annotated.Syntax ( src/Language/Haskell/Exts/Annotated/Syntax.hs, dist/build/Language/Haskell/Exts/Annotated/Syntax.p_o )

/tmp/ghc340_0/ghc340_8.s:1:0:
     internal compiler error: Segmentation fault
     .section .rodata
     ^
Please submit a full bug report,
with preprocessed source if appropriate.
Trac metadata
Trac field Value
Version 7.8.1-rc1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information