Skip to content

There is no -debug runtime in 6.12 RC1

$ cat Hello.hs
module Main where

main = print "Hello world"
$ ghc -debug --make Hello.hs
[1 of 1] Compiling Main             ( Hello.hs, Hello.o )
Linking Hello ...
/usr/bin/ld: cannot find -lHSrts_debug
collect2: ld returned 1 exit status

Interestingly there is a debug runtime .so, but no .a. This seems like an oversight.

Trac metadata
Trac field Value
Version 6.12.1 RC1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC batterseapower@hotmail.com, ndmitchell@gmail.com
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information