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

GHC ghc-devs at haskell.org
Mon Aug 22 08:23:52 UTC 2016


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

Comment (by kgardas):

 My Solaris 11.3 testing machine is currently not working and waiting for
 hardware tweaking, but on Solaris 11.2 I've not been able to duplicate
 this issue. Simply speaking there is no --gc-sections param passed to the
 linker at all.

 Side note: binary distributions for Solaris are built on Solaris 11.2.
 I've attempted to test GHC build on Solaris 11.3 but so far was not able
 to come up with working build. The reason is that in between 11.2 and 11.3
 there are quite some low-level changes which affects GHC build.

 Possible workaround: search for setting file in your GHC installation
 directory and see if -Wl,--gc-sections option is there. If so, edit file
 and remove this option.

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


More information about the ghc-tickets mailing list