Re: #8629: Option 'split-objs' being ignored when trying to reduce object code size in iOS cross-compilation

"GHC" <[email protected]> Wed, 06 Mar 2019 21:48:28 -0000
Newsgroups gmane.comp.lang.haskell.glasgow.bugs
Message-ID <[email protected]>
--===============5627748616855694946==
Content-Type: multipart/related;
 boundary="===============2295391806452355224=="

--===============2295391806452355224==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

#8629: Option 'split-objs' being ignored when trying to reduce object code size in
iOS cross-compilation
---------------------------------+----------------------------------------
        Reporter:  f1rstmistake  |                Owner:  (none)
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  Compiler      |              Version:  7.6.3
      Resolution:                |             Keywords:  ios
Operating System:  MacOS X       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:  8300          |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------

Comment (by Marge Bot <ben+marge-bot@…>):

 In [changeset:"37f257afcd6a52cf4d76c60d766b1aeb520b9f05/ghc"
 37f257af/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="37f257afcd6a52cf4d76c60d766b1aeb520b9f05"
 Rip out object splitting

 The splitter is an evil Perl script that processes assembler code.
 Its job can be done better by the linker's --gc-sections flag. GHC
 passes this flag to the linker whenever -split-sections is passed on
 the command line.

 This is based on @DemiMarie's D2768.

 Fixes Trac #11315
 Fixes Trac #9832
 Fixes Trac #8964
 Fixes Trac #8685
 Fixes Trac #8629
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8629#comment:3>