[GHC] #11022: Invalid ELF "note" section format

GHC ghc-devs at haskell.org
Fri Oct 30 19:20:08 UTC 2015


#11022: Invalid ELF "note" section format
---------------------------+----------------------------------------
        Reporter:  hsyl20  |                Owner:
            Type:  bug     |               Status:  patch
        Priority:  normal  |            Milestone:  8.0.1
       Component:  Driver  |              Version:  7.10.2
      Resolution:          |             Keywords:
Operating System:  POSIX   |         Architecture:  Unknown/Multiple
 Type of failure:  Other   |            Test Case:
      Blocked By:          |             Blocking:
 Related Tickets:          |  Differential Rev(s):  Phab:D1375
       Wiki Page:          |
---------------------------+----------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"f78b477bd0ba1f85089c515259c9e3145abd1f7b/ghc"
 f78b477b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="f78b477bd0ba1f85089c515259c9e3145abd1f7b"
 driver: use PROGBITS type for .debug-ghc-link-info section

 Previously the `.debug-ghc-link-info` section was of type `SHT_NOTE` but
 this is not compliant with the ELF specification, which requires that
 `NOTE` sections are in a particular record-based format. We mark this
 section as `PROGBITS` instead, which is defined as implying no
 particular format.

 Fixes #11022.

 Reviewers: bgamari, austin

 Reviewed By: bgamari, austin

 Subscribers: thomie, hsyl20

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

 GHC Trac Issues: #11022
 }}}

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


More information about the ghc-tickets mailing list