[GHC] #12738: GHC drops -optl flags

GHC ghc-devs at haskell.org
Thu Nov 3 21:55:19 UTC 2016


#12738: GHC drops -optl flags
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:  niteria
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Marlow <marlowsd@…>):

 In [changeset:"a977c96537bb7077c6445f02db98636b150e6e14/ghc"
 a977c965/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a977c96537bb7077c6445f02db98636b150e6e14"
 Omit unnecessary linker flags

 Summary:
 This omits -L and -l flags from the linker command line that shouldn't
 be necessary because GHC will already add them via the -package-id
 flags we pass.

 This also reverts part of 90538d86af579595987826cd893828d6f379f35a
 that rearranges the linker command line and causes some knock-on
 problems (see D2618).

 Test Plan: validate (need to validate on Windows too)

 Reviewers: Phyx, bgamari, niteria, austin, erikd

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D2639

 GHC Trac Issues: #12738
 }}}

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


More information about the ghc-tickets mailing list