bug in 6.12.1-pre

Serge D. Mechveliani mechvel at botik.ru
Mon Oct 12 13:31:41 EDT 2009


Dear GHC team,

I tried   ghc-6.12.0.20091010-src.tar.bz2  
on Linux, Debian, i386-*
And it cannot compile my Dumatel project. It fails at the segment:

  module Bug where  compose :: [a -> a] -> a -> a
                    compose =  foldr (.) id

                    class Compose a where  compose1 :: a -> a -> a

  ghc -c -O Bug.hs

reports
  /tmp/ghc29984_0/ghc29984_0.s: Assembler messages:
  /tmp/ghc29984_0/ghc29984_0.s:23:0:
     Error: symbol `Bug_compose1_closure' is already defined
  /tmp/ghc29984_0/ghc29984_0.s:102:0:
     Error: symbol `Bug_compose1_info' is already defined

`-O' is essential here.

Regards,

-----------------
Serge Mechveliani
mechvel at botik.ru






More information about the Glasgow-haskell-users mailing list