#4049: Support for ldscripts and ABI versioning
------------------------------------------+---------------------------------
  Reporter:  uzytkownik                   |          Owner:                  
      Type:  bug                          |         Status:  closed          
  Priority:  normal                       |      Milestone:  6.16.1          
 Component:  Compiler                     |        Version:  6.12.2          
Resolution:  wontfix                      |       Keywords:                  
Difficulty:                               |             Os:  Unknown/Multiple
  Testcase:                               |   Architecture:  Unknown/Multiple
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 In GHC we don't currently support the kind of ABI versioning you get in C
 libraries where you can have a `.so` that supports multiple ABI versions.
 Instead we encode the version directly in the filename of the `.so`, as in
 `libHSbase-ghc6.12.3.so`.  Even this is quite suspect as there is no
 guarantee that a given `libHSbase-ghc6.12.3.so` has the same ABI as
 another `libHSbase-ghc6.12.3.so`.  The problem is that GHC is not capable
 of producing a library that has a consistent, predictable, ABI.  I'd like
 to fix this someday, but it's not a simple task.

 For linker scripts see #2615.

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