#2615: ghci doesn't play nice with linker scripts
--------------------------+-------------------------------------------------
 Reporter:  AlecBerryman  |          Owner:                  
     Type:  bug           |         Status:  new             
 Priority:  normal        |      Milestone:  6.10.2          
Component:  GHCi          |        Version:  6.8.3           
 Severity:  normal        |     Resolution:                  
 Keywords:                |     Difficulty:  Unknown         
 Testcase:                |   Architecture:  Unknown/Multiple
       Os:  Linux         |  
--------------------------+-------------------------------------------------
Changes (by maeder):

 * cc: maeder (added)
  * architecture:  x86_64 (amd64) => Unknown/Multiple

Comment:

 here is another example using ghc-6.8.3
 {{{
 Loading package cairo-0.9.13 ... can't load .so/.DLL for: pthread
 (/usr/lib/libpthread.so: invalid ELF header)
 }}}

 /usr/lib/libpthread.so contains:
 {{{
 /* GNU ld script
    Use the shared library, but some functions are only in
    the static library, so try that secondarily.  */
 OUTPUT_FORMAT(elf32-i386)
 GROUP ( /lib/libpthread.so.0 /usr/lib/libpthread_nonshared.a )
 }}}

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