[GHC] #13103: The RTS loader/linker relies too heavily on file extensions.

GHC ghc-devs at haskell.org
Tue Jan 10 23:51:14 UTC 2017


#13103: The RTS loader/linker relies too heavily on file extensions.
-------------------------------------+-------------------------------------
           Reporter:  Phyx-          |             Owner:
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:
          Component:  Runtime        |           Version:  8.0.1
  System (Linker)                    |
           Keywords:                 |  Operating System:  Windows
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:  #13093
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 The RTS linker & loader relies way too heavily on file extensions instead
 of the structure of the file. This means that if we have stuff like object
 files in archives that don't end with `.o` and `.p_o` we won't load them.

 Or import libraries etc. This should be changed to use the structure of
 the file header to determine what the file is.

 This means that GCC and binutils handle a lot more files than we currently
 do.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13103>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list