#2578: "ld: atom sorting error for ..." on OS X
---------------------------------+------------------------------------------
    Reporter:  igloo             |        Owner:  igloo                         
   
        Type:  bug               |       Status:  new                           
   
    Priority:  high              |    Milestone:  6.12.2                        
   
   Component:  Compiler          |      Version:  6.10.4                        
   
    Keywords:                    |   Difficulty:  Unknown                       
   
          Os:  MacOS X           |     Testcase:                                
   
Architecture:  Unknown/Multiple  |      Failure:  Incorrect warning at 
compile-time
---------------------------------+------------------------------------------

Comment(by igloo):

 Testcase:
 {{{
 module Main (main) where

 data MyType
 data MyType2

 main :: IO ()
 main = print ()
 }}}

 {{{
 $ ghc-stage2 --make q -XEmptyDataDecls -fforce-recomp
 [1 of 1] Compiling Main             ( q.hs, q.o )
 Linking q ...
 ld: atom sorting error for _Main_MyType_closure_tbl and
 _Main_MyType2_closure_tbl in q.o
 ld: atom sorting error for _Main_MyType_closure_tbl and
 _Main_MyType2_closure_tbl in q.o
 ld: atom sorting error for _Main_MyType_closure_tbl and
 _Main_MyType2_closure_tbl in q.o
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2578#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to