Package: ghc6
Version: 6.8.2-7
Severity: important

GHC apparently can no longer compile programs that use the
package Data.IntSet. A few months ago, this used to work just fine
with GHC (lenny).

Example Haskell program:
----

import Data.IntSet

main =
    let q = empty
    in do
        if notMember 3 q
            then print "a"
            else print "b"

----

$ ghc aaa.hs
aaa.o: In function `szF_info': (.text+0x192): undefined reference to 
`containerszm0zi1zi0zi1_DataziIntSet_notMember_closure'
aaa.o: In function `szF_info': (.text+0x199): undefined reference to 
`containerszm0zi1zi0zi1_DataziIntSet_empty_closure'
aaa.o: In function `szF_info': (.text+0x247): undefined reference to 
`__stginit_containerszm0zi1zi0zi1_DataziIntSet_'
aaa.o: In function `syF_closure': (.data+0x38): undefined reference to 
`containerszm0zi1zi0zi1_DataziIntSet_notMember_closure'
aaa.o: In function `syF_closure': (.data+0x3c): undefined reference to 
`containerszm0zi1zi0zi1_DataziIntSet_empty_closure'
collect2: ld returned 1 exit status

The program runs fine with ghci.

----

    Name           Version        Description
+++-==============-==============-============================================
ii  gcc            4:4.3.2-2      The GNU C compiler
ii  ghc6           6.8.2-7        GHC - the Glasgow Haskell Compilation system
ii  libc6          2.7-16         GNU C Library: Shared libraries

Target: i486-linux-gnu / Linux 2.6.27.3-amd64



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to