Your message dated Fri, 26 Dec 2008 00:03:32 +0100
with message-id <[email protected]>
and subject line Re: Bug#509724: ghc does not compile programs using Data.IntSet
has caused the Debian Bug report #509724,
regarding ghc does not compile programs using Data.IntSet
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
509724: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509724
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
On Thu, Dec 25, 2008 at 03:47:03PM +0300, Pavel Shramov wrote:
> Adding '-package containers' to command line solves Your problem.
Right, it does. Thanks.
This is probably not a bug then. Sorry, my mistake.
Although the behaviour of GHC in this area has clearly changed compared to
previous versions.
Joris.
--- End Message ---