[GHC] #12460: Solaris linker does not recognize option --gc-sections

GHC ghc-devs at haskell.org
Tue Aug 30 22:49:41 UTC 2016


#12460: Solaris linker does not recognize option --gc-sections
-------------------------------------+-------------------------------------
        Reporter:  herzen            |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
  (Linking)                          |
      Resolution:  invalid           |             Keywords:
Operating System:  Solaris           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

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


Comment:

 > Oops, I didn't know about "ghc --info". Yes, it turns out that the ld
 that was being used was gnu ld. When I change that to Solaris's ld
 (/usr/bin/ld), the behavior I reported as a bug goes away.

 Great!

 > It was sloppy of me to file a bug report instead of making sure that
 Solaris ld was being used, as I had assumed.

 Not a problem, you can't think of everything. I'm glad we were able to
 resolve it without code.

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


More information about the ghc-tickets mailing list