[GHC] #10208: libffi issues executable stacks on i386

GHC ghc-devs at haskell.org
Thu Apr 2 21:04:57 UTC 2015


#10208: libffi issues executable stacks on i386
-----------------------------------+------------------------------------
        Reporter:  slyfox          |                   Owner:  simonmar
            Type:  bug             |                  Status:  patch
        Priority:  normal          |               Milestone:  7.10.2
       Component:  Runtime System  |                 Version:  7.10.1
      Resolution:                  |                Keywords:
Operating System:  Linux           |            Architecture:  x86
 Type of failure:  None/Unknown    |               Test Case:
      Blocked By:                  |                Blocking:
 Related Tickets:                  |  Differential Revisions:  Phab:D764
-----------------------------------+------------------------------------

Comment (by Sergei Trofimovich <siarheit@…>):

 In [changeset:"47f821a1a24553dc29b9581b1a259a9b1394c955/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="47f821a1a24553dc29b9581b1a259a9b1394c955"
 libffi: backport noexecstack fix for x86/win32.S

 Got detected by gentoo's QA preinstall hook:
  * RWX --- --- usr/lib/ghc-7.10.1/rts/libffi.so.6.0.2
  * RWX --- --- usr/lib/ghc-7.10.1/rts/libffi.so
  * RWX --- --- usr/lib/ghc-7.10.1/rts/libffi.so.6
  * !WX --- --- usr/lib/ghc-7.10.1/rts/libCffi.a:win32.o
  * !WX --- --- usr/lib/ghc-7.10.1/rts/libCffi_p.a:win32.o
  * !WX --- --- usr/lib/ghc-7.10.1/rts/libCffi_l.a:win32.o
  * !WX --- --- usr/lib/ghc-7.10.1/rts/libCffi_debug.a:win32.o
  * !WX --- --- usr/lib/ghc-7.10.1/rts/libCffi_thr.a:win32.o
  * !WX --- --- usr/lib/ghc-7.10.1/rts/libCffi_thr_debug.a:win32.o
  * !WX --- --- usr/lib/ghc-7.10.1/rts/libCffi_thr_l.a:win32.o
  * !WX --- --- usr/lib/ghc-7.10.1/rts/libCffi_thr_p.a:win32.o

 Signed-off-by: Sergei Trofimovich <siarheit at google.com>

 Test Plan: built ghc-7.10.1 binary and checked stacks as NX

 Reviewers: rwbarton, hvr, austin

 Reviewed By: austin

 Subscribers: thomie

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

 GHC Trac Issues: #10208
 }}}

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


More information about the ghc-tickets mailing list