#1421: elf object code problem exposed when linking under i386 Solaris 10
-------------------------------+--------------------------------------------
    Reporter:  [EMAIL PROTECTED]   |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:  6.8    
   Component:  Runtime System  |      Version:  6.6.1  
    Severity:  normal          |   Resolution:         
    Keywords:                  |   Difficulty:  Unknown
          Os:  Solaris         |     Testcase:         
Architecture:  x86             |  
-------------------------------+--------------------------------------------
Comment (by [EMAIL PROTECTED]):

 Simon's guess did the trick!
 {{{
 I guess we should just eliminate the .size directives if the linker is
 going to be picky about them.  In ghc-asm.lprl you'll find

     $T_COPY_DIRVS   = '^\s*\.(globl|type|size|local)';

 if you change it to

     $T_COPY_DIRVS   = '^\s*\.(globl|local)';
 }}}

 I'll attach my `ghc-asm.lprl` file

 A working binary distribution (built using `gcc-4.1.2`) can be found under
 http://www.informatik.uni-
 bremen.de/agbkb/forschung/formal_methods/CoFI/hets/pc-solaris/versions
 /new-ghc-6.6.1-i386-unknown-solaris2.tar.bz2

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1421>
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